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

bootstrapping hibernate initialization

 
John Mikhail
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

Does anyone know of a mechanism within hibernate that would allow some type of callback to occur once all the mapping files have been read in? I need to know whe a certain type of object has been read in so I can map that class type. I don't want to write my own custom class loading that would do this.

I have seen in the Configuration class that I can get all the class mappings, but I need access to this during initialzation.

Any help would be greatly appreciated.

John
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah, lots of luck on that one.

Mark
 
John Mikhail
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're lucky I know you Mark, or else I'd start flaming you for that non-helpful answer
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic