wood burning stoves 2.0*
The moose likes Object Relational Mapping and the fly likes totally stumped by synchronization.afterCommit error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "totally stumped by synchronization.afterCommit error" Watch "totally stumped by synchronization.afterCommit error" New topic

totally stumped by synchronization.afterCommit error

Stuart Rogers
Ranch Hand

Joined: Oct 02, 2008
Posts: 133
Greetings all,

So I've got a really bizarre problem with my Hibernate/Maven/Eclipse/Spring/HSQL/MySQL monster -
I can pull data out with a query crafted in the main program but not from within a DAO member.
Even more weirdly, the program does run flawlessly after changing to a different database
with a copy of the users table.

I am totally stumped. Here's some files, if someone would be so kind as to look them over, perhaps
point out some fiendish subtlty or obvious noob error.





and lastly the program itself

the program runs, the home-made query in executeQueriesT runs just fine and displays the values of the row retrieved.
But trying to get the same info using the DAO method executes the method but fails immediately after returning from
the DAO method with the following msgs:

and finally the logfile

Sure could use some help with this.

Still-learning Steve
I agree. Here's the link: http://aspose.com/file-tools
subject: totally stumped by synchronization.afterCommit error
Similar Threads
[Security:090398]Invalid Subject: weblogic :java.lang.SecurityException: [nested exception is java.l
Controlling Hibernate Session with Spring
Spring Login problem "Request processing failed; nested exception is java.lang.NullPointerException"
DB2 AS400 JDBC Driver
running before I can crawl ( or how to add Spring to an existing Hibernate standalone app)