Skip to main content



      Home
Home » Eclipse Projects » EclipseLink » Hibernate migration(Migrate from Hibernate in steps)
icon1.gif  Hibernate migration [message #523152] Thu, 25 March 2010 07:18 Go to next message
Eclipse UserFriend
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 02:48 Go to previous messageGo to next message
Eclipse UserFriend
> 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 15:01 Go to previous messageGo to next message
Eclipse UserFriend
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.
Re: Hibernate migration [message #523582 is a reply to message #523155] Fri, 26 March 2010 19:01 Go to previous messageGo to next message
Eclipse UserFriend
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 03:22 Go to previous messageGo to next message
Eclipse UserFriend
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] Tue, 11 September 2012 21:36 Go to previous messageGo to next message
Eclipse UserFriend
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 14:25 Go to previous message
Eclipse UserFriend
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 Jul 03 09:09:17 EDT 2025

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

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

Back to the top