Local transaction error (not failure) listing 7.3 Begin book

View: New views
1 Messages — Rating Filter:   Alert me  

Parent Message unknown Local transaction error (not failure) listing 7.3 Begin book

by David Brown-48 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...