[jira] Commented: (IBATIS-517) can not use mappingLocations in org.springframework.orm.ibatis.SqlMapClientFactoryBean

2009-05-04 Thread Sudhakar Kanagarajan (JIRA)

[ 
https://issues.apache.org/jira/browse/IBATIS-517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12705783#action_12705783
 ] 

Sudhakar Kanagarajan commented on IBATIS-517:
-

I am also facing the same problem. Is there a plan to fix this issue?

> can not use mappingLocations in 
> org.springframework.orm.ibatis.SqlMapClientFactoryBean
> --
>
> Key: IBATIS-517
> URL: https://issues.apache.org/jira/browse/IBATIS-517
> Project: iBatis for Java
>  Issue Type: Bug
>Affects Versions: 2.3.2
> Environment: windows xp sp2 eng, sun jdk 1.6.0, resin 3.1.4, spring 
> 2.5.4, struts2 2.1.1
>Reporter: sinosaga
>
> in spring 2.5.4 we can use mappingLocations in 
> org.springframework.orm.ibatis.SqlMapClientFactoryBean like below:
> spring-ibatis.xml:
>  class="org.springframework.orm.ibatis.SqlMapClientFactoryBean">
> 
> 
> 
> 
> 
> 
> sqlmap-config.xml:
> 
>lazyLoadingEnabled="true"
>   enhancementEnabled="true"
>   useStatementNamespaces="true"
> />
> 
> but the resin report: 
> org.xml.sax.SAXParseException: The content of element type "sqlMapConfig"
> is incomplete, it must match 
> "(properties?,settings?,resultObjectFactory?,typeAlias*,typeHandler*,transactionManager?,sqlMap+)+".
> I suggest that we can change the 
> http://ibatis.apache.org/dtd/sql-map-config-2.dtd from
>  typeAlias*, typeHandler*, transactionManager?, sqlMap+)+>
> to
>  typeAlias*, typeHandler*, transactionManager?, sqlMap*)+>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (IBATIS-517) can not use mappingLocations in org.springframework.orm.ibatis.SqlMapClientFactoryBean

2008-07-15 Thread Burak Arik (JIRA)

[ 
https://issues.apache.org/jira/browse/IBATIS-517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613677#action_12613677
 ] 

Burak Arik commented on IBATIS-517:
---

yes, dtd doesn't conform with the configuration you published. I also faced 
with same problem.

> can not use mappingLocations in 
> org.springframework.orm.ibatis.SqlMapClientFactoryBean
> --
>
> Key: IBATIS-517
> URL: https://issues.apache.org/jira/browse/IBATIS-517
> Project: iBatis for Java
>  Issue Type: Bug
>Affects Versions: 2.3.2
> Environment: windows xp sp2 eng, sun jdk 1.6.0, resin 3.1.4, spring 
> 2.5.4, struts2 2.1.1
>Reporter: sinosaga
>
> in spring 2.5.4 we can use mappingLocations in 
> org.springframework.orm.ibatis.SqlMapClientFactoryBean like below:
> spring-ibatis.xml:
>  class="org.springframework.orm.ibatis.SqlMapClientFactoryBean">
> 
> 
> 
> 
> 
> 
> sqlmap-config.xml:
> 
>lazyLoadingEnabled="true"
>   enhancementEnabled="true"
>   useStatementNamespaces="true"
> />
> 
> but the resin report: 
> org.xml.sax.SAXParseException: The content of element type "sqlMapConfig"
> is incomplete, it must match 
> "(properties?,settings?,resultObjectFactory?,typeAlias*,typeHandler*,transactionManager?,sqlMap+)+".
> I suggest that we can change the 
> http://ibatis.apache.org/dtd/sql-map-config-2.dtd from
>  typeAlias*, typeHandler*, transactionManager?, sqlMap+)+>
> to
>  typeAlias*, typeHandler*, transactionManager?, sqlMap*)+>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.