• Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernate in Eclipse (RCP)

 
Darren Bell
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry if this is in the wrong place, but i thought i'd ask you guys/gals if you had used Hibernate in this way.

I am struggling to use hibernate in a plugin. I have all the jars for hibernate in one plugin. All my model classes for a database are in another plugin and the user interface (views etc) are in another plugin.

These all get wrapped into an RCP app.

The problem is that hibernate cannot find the model classes at runtime. I know this is to do with class loaders, but how can i make hibernate find the classes.

Any help on this would be appreciative.

Thanks
Darren.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!