« Return to Thread: Local transaction error (not failure) listing 7.3 Begin book

Local transaction error (not failure) listing 7.3 Begin book

by David Brown-48 :: Rate this Message:

Reply to Author | View in Thread

Hello iBatis group, an attempt to implement the equivalent Local Transaction as outlined in the listing 7.3 of the Begin book returns an error condition:


java.lang.NullPointerException
at com.sexingtechnologies.st.dao.TestAnimalmasterDAO.testDAOInsert(TestAnimalmasterDAO.java:101)


TestAnimalmasterDAO.java:101 --> sqlMapClient.endTransaction();


inclosing try/catch block contains: assertNotNull(sqlMapClient); // does not fail

Any ideas as to howto diagnose appreciated.

Regards, David.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-java-unsubscribe@...
For additional commands, e-mail: user-java-help@...

 « Return to Thread: Local transaction error (not failure) listing 7.3 Begin book