• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

totally stumped by synchronization.afterCommit error

 
Ranch Hand
Posts: 141
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

databaseServerA.properties


databaseServerB.properties


ApplicationContext.xml


UserDAOHibernate


and lastly the program itself
TestQueries.java


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.
TIA,

Still-learning Steve
 
catch it before it slithers away! Oh wait, it's a tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic