These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: trouble with hibernate using multiple eclipse projects
PostPosted: Mon Oct 31, 2005 9:59 am 
Newbie

Joined: Mon Oct 31, 2005 9:47 am
Posts: 2
hi there,

im having some trouble getting hibernate started.
im currently developing a RCP application with the eclipse framework. my project contains several plugins. there is one plugin for hibernate setup and configuration:

PluginA

that plugin is used by another plugin setting up database specific data:

PluginB

now i load a mapping file from PluginB - that works. now hibernate (PluginA) tries to get the class from the mapping file, just loaded. that doesnt work, cause PluginA doesnt know the PluginB.

does someone know, if
a) hibernate can be configured, to use a specific classloader to load the classes
b) eclipse can be configured, so that hibernate gets a classloader, which finds the class files in all source folders of all plugins?

regards
funsheep


Top
 Profile  
 
 Post subject: Re: trouble with hibernate using multiple eclipse projects
PostPosted: Mon Oct 31, 2005 10:05 am 
Expert
Expert

Joined: Mon Feb 14, 2005 12:32 pm
Posts: 609
Location: Atlanta, GA - USA
I think this might be more of a question for the Eclipse forum. I think you need to look at plugin dependencies.

_________________
Preston

Please don't forget to give credit if/when you get helpful information.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 01, 2005 7:12 am 
Expert
Expert

Joined: Sat Jun 12, 2004 4:49 pm
Posts: 915
see http://hibernate.org/311.html


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.