-->
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: Implementing Hibernate for existing MySQL schema
PostPosted: Mon Nov 03, 2008 8:20 pm 
Newbie

Joined: Mon Nov 03, 2008 8:13 pm
Posts: 1
Hello,

I am planning to implement Hibernate based persistence model for my existing MySQL schema.

While talking to a friend today, I came to know about reverse engineering tools that will reduce the amount of work required to complete Hibernate implementation.

Can someone please explain in three or four points -
- what tools do I need to purchase
- once I'll have the tools, what are the major steps in the impl. process
- how much time does it take to complete this process for a relatively small database with fairly non-complex relationships.

Thanks,
Carla


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 04, 2008 4:34 am 
Newbie

Joined: Sun Sep 28, 2008 5:28 am
Posts: 4
You can go for myeclipse6.0..http://www.myeclipseide.com/
It's very easy to generate code for hibernate from mysql schema.It creates abstract classes,TO,hbm.xml,hibernate-cfg.xml and even session factory..It's a good tool.You can go for it.You can download the trial version and see if that fulfill your needs...


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 04, 2008 2:28 pm 
Beginner
Beginner

Joined: Wed Sep 24, 2008 5:44 pm
Posts: 34
You shouldn't need to purchase any tools, there's a ton of really well made free stuff out there to provide you with the tools you need.

As sabyasachi.roy mentioned using some sort of IDE is probaby your best bet. NetBeans and Eclipse are very popular tools that can manage an entire project. They have plug ins that will generate a number of hibernate files. I've never used myeclipse but it also looks like a useful tool.

Once you have the tools, implementing it really depends on what you want to accomplish. Hibernate is a pretty flexible persistence service, I guess its most commonly used in web apps.

Time really depends on your comfort and learning curve. Its not hard, once familiar with hibernate to put together the required files in a day or two for a small simple database. But learning the tool will take significantly more time.

Cheers


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.