Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Hibernate migration(Migrate from Hibernate in steps)
icon1.gif  Hibernate migration [message #523152] Thu, 25 March 2010 11:18 Go to next message
No real name is currently offline No real name
Messages: 3
Registered: March 2010
Junior Member
Hi All,
We are currently using Hibernate.
We are migrating to EclipseLink
But due to resource/time constraints we cannot migrate the entire application to EclipseLink in one shot.

Can we use for 2 different set of tables Hibernate and EclipseLink simultaneouly in one application? Both Persistence technologies will connect to the same DB at the same time.
Will it have any negative consequences?
Will the performance be affected?
What precautionary measures should we take to prevent conflict between the 2 technologies?
Will it overload the application memory?

Thank you.
Re: Hibernate migration [message #523155 is a reply to message #523152] Thu, 25 March 2010 06:48 Go to previous messageGo to next message
Tom Eugelink is currently offline Tom Eugelink
Messages: 807
Registered: July 2009
Senior Member
> Will it have any negative consequences?

I figure two persistence engines will try to push bytecode into the class to handle a.o. lazy loading. That can't be good.

Tom
Re: Hibernate migration [message #523289 is a reply to message #523152] Thu, 25 March 2010 19:01 Go to previous messageGo to next message
James Sutherland is currently offline James Sutherland
Messages: 1939
Registered: July 2009
Location: Ottawa, Canada
Senior Member

I would try it and see. I have run both products on the same object model at the same time before and it did work.


James : Wiki : Book : Blog : Twitter
Re: Hibernate migration [message #523582 is a reply to message #523155] Fri, 26 March 2010 23:01 Go to previous messageGo to next message
No real name is currently offline No real name
Messages: 3
Registered: March 2010
Junior Member
Thanks for your comments. We plan that all objects and child objects read and written to by Hibernate are not touched by EclipseLink and vice versa. So i do not understand how lazy loading could be harmful. Could you please elaborate what you meant?
Re: Hibernate migration [message #523608 is a reply to message #523582] Sat, 27 March 2010 07:22 Go to previous messageGo to next message
Tom Eugelink is currently offline Tom Eugelink
Messages: 807
Registered: July 2009
Senior Member
On 2010-03-27 0:01, subansuba@yahoo.co.in wrote:
> Thanks for your comments. We plan that all objects and child objects
> read and written to by Hibernate are not touched by EclipseLink and vice
> versa. So i do not understand how lazy loading could be harmful. Could
> you please elaborate what you meant?

Than it should be no problem.
Re: Hibernate migration [message #911620 is a reply to message #523152] Wed, 12 September 2012 01:36 Go to previous messageGo to next message
Nisa Akeel is currently offline Nisa Akeel
Messages: 1
Registered: September 2012
Junior Member
Hi I am almost doing the same Hibernate to Eclipselink migration , as I am new to this technology please provide your inputs on your implementaion & best practise that you follwed.
Re: Hibernate migration [message #933096 is a reply to message #911620] Thu, 04 October 2012 18:25 Go to previous message
Dariusz Skrudlik is currently offline Dariusz Skrudlik
Messages: 4
Registered: July 2009
Junior Member
Why you decide for migration from Hibernate to EclipseLink ?
Previous Topic:JoinTable with additional column
Next Topic:Query on a attribute in the interface that is used for variable 1-1 mapping
Goto Forum:
  


Current Time: Thu Oct 23 12:03:59 GMT 2014

Powered by FUDForum. Page generated in 0.01999 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software