Hi

In my sqlMapConfig.xml file
   <transactionManager type="EXTERNAL">
     <property name="SetAutoCommitAllowed" value="false"/>
       <dataSource type="JNDI">
       <property name="DataSource" value="java:comp/env/jdbc/sampleDB" />
       </dataSource>
   </transactionManager>

I get the following Exception  :

com.ibatis.dao.client.DaoException: Error while configuring DaoManager. Cause: com.ibatis.common.exception.NestedRuntimeException: Error occurred. Cause: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: com.ibatis.common.exception.NestedRuntimeException: Error parsing XPath '/sqlMapConfig/transactionManager/end()'. Cause: com.ibatis.sqlmap.client.SqlMapException: Error initializing TransactionManager. Could not instantiate TransactionConfig. Cause: java.lang.NullPointerException


1.Is the transaction manager specified in the sqlMapConfig.xml is correct or it should be changed.
2.In my dao classe's how to begin and end transaction's ?

Regards
Ashok


Reply via email to