| Programmatically add BuddyClass-Loading to a Bundle [message #116575] | 
Tue, 26 August 2008 17:26   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Hi, 
 
The following situation: 
 
- org.hibernate.eclipse has 
   => Eclipse-BuddyPolicy:registered 
 
- at.bestsolution.soccer.core.datasource.teneo has 
   => Eclipse-RegisterBuddy: org.hibernate.eclipse 
   => Configures hibernate-eclipse and instructs it to use jdbc as Driver 
      e.g. org.apache.derby.jdbc.Driver 
 
- org.apache.derby 
 
 
Naturally the hibernate plugin could not create an instance of  
org.apache.derby.jdbc.Driver. This could be fixed by adding  
org.apache.derby as dependency to datasource.teneo but driver is defined  
by user so if there's a mysql-bundle in the system he/she could specify it. 
 
What do you suggest how can I fix this? Could I somehow programmtically  
do something like "Eclipse-RegisterBuddy: org.hibernate.eclipse" does?  
So that org.hibernate.eclipse can see it? 
 
The only plugin in the system I control is datasource.teneo. Any ideas? 
 
Tom 
 
--  
B e s t S o l u t i o n . at 
 ------------------------------------------------------------ -------- 
Tom Schindl                                          JFace-Committer 
 ------------------------------------------------------------ --------
 |  
 |  
  | 
 | 
 | 
 | 
 | 
 | 
 | 
Powered by 
FUDForum. Page generated in 0.07073 seconds