Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

caching the subclass in Hibernate

 
Aris Tan
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


But I can still see the Child going to the database even after it was initially loaded, what am I missing?

Appreciate any help
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the query that is being run that loads the data?

Mark
 
Aris Tan
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


anything specific I should look for?
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That is an SQL query? What is the code in Java that you run that has a Query or Criteria object that will load the data? Or are you using SQLQuery?

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic