MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
BenRivera
Post subject: How can I update the MyEclipse Derby Integrated Sandbox  PostPosted: Aug 08, 2012 - 10:38 PM



Joined: Aug 08, 2012
Posts: 7

I am using MyEclipse 10.5. I have an application that is using Hibernated and Java 1.7. The integrated sandbox starts Derby 10.2.2.0, but my application has updated the database and I can no longer connect to the database using the Database Explorer. It states that the database has been updated to 10.8.

I searched the plugin directory and only found this com.genuitec.eclipse.derby_9.0.0.me201108091322.jar that referenced the derby.jar in it.
I have tried updating com.genuitec.eclipse.derby_9.0.0.me201108091322.jar file with the Java 1.7 derby iles, but this has not worked.

Is there another file or a new file available from MyEclipse?
 
 View user's profile Send private message  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: Aug 09, 2012 - 08:05 AM



Joined: Nov 11, 2010
Posts: 2149

BenRivera,

I would not recommend updating the internal version of Derby. I would instead recommend that you simply install another version of Derby on your system, start that manually (it is pretty simple) and create a new Derby driver that connects to this installation.

If you still want to modify the Internal Derby,can you make sure you have replaced the derby jars in the lib folder of the com.genuitec.eclipse.derby_9.0.0.me201108091322.jar with the Derby 10.8 version ones?

Let us know how it works for you.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
BenRivera
Post subject:   PostPosted: Aug 09, 2012 - 03:21 PM



Joined: Aug 08, 2012
Posts: 7

I had already changed the jar files in the lib folder but that didn't work.

I had to do the following for it to finally work:
Remove the updated com.genuitec.eclipse.derby_9.0.0.me201108091322.jar file from the plugin folder
Start MyEclipse and confirm that the Derby plugin was not available
Stop MyEclipse
Place the updated com.genuitec.eclipse.derby_9.0.0.me201108091322.jar file in the plugin folder

I am not sure why I had to do this before MyEclipse recognized the new Derby jars, apparently there was some sort of caching going on.[/list]
 
 View user's profile Send private message  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: Aug 10, 2012 - 12:22 PM



Joined: Nov 11, 2010
Posts: 2149

BenRivera,

Glad that you got it working. I have asked the dev team to check on it.
Do let us know if you see any issues.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits