-->
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.  [ 4 posts ] 
Author Message
 Post subject: GUI creation framework for hibernate data model
PostPosted: Thu Mar 06, 2008 10:39 am 
Newbie

Joined: Thu Mar 06, 2008 5:27 am
Posts: 5
Hi!

I want to create a simple GUI where users can edit, update and create Hibernate persisted classes. I know this might not be the right place for this topic, since it essentially has nothing to do with Hibernate. But since Hibernate is related to data models in Java, does anyone know such a framework? My approach so far is to create Swing GUIs. However, this can be a tedious task when having to create labels and input fields for every getter and setter that is used in a data class.

thanks


Top
 Profile  
 
 Post subject: Re: GUI creation framework for hibernate data model
PostPosted: Sat May 21, 2011 7:46 am 
Beginner
Beginner

Joined: Sat May 21, 2011 7:40 am
Posts: 22
I know the post is very old, but is there already a solution? I would like to create my entity model with a gui and generate hbm.xml and java files of the model.
If the whole thing is versioned changes could be exported e.g. as a diff which could be used for migration.


Top
 Profile  
 
 Post subject: Re: GUI creation framework for hibernate data model
PostPosted: Mon May 23, 2011 5:34 pm 
Beginner
Beginner

Joined: Thu Jun 21, 2007 9:24 pm
Posts: 20
Location: Lansing, Michigan, USA
Well, there are a fair number of E-R GUIs out there, you could use use one of those to create your tables and then the Hibernate reverse-engineering tool to create your bean-class skeletons and mappings. From bean classes to Swing GUI, I haven't seen a fully-automatic tool, but a good IDE should make writing the code pretty quick.


Top
 Profile  
 
 Post subject: Re: GUI creation framework for hibernate data model
PostPosted: Sat May 28, 2011 9:17 am 
Beginner
Beginner

Joined: Sat May 21, 2011 7:40 am
Posts: 22
One of the features i would like to see in such a tool is to be able to design on a logic layer on which i can define navigable associations. Such a feature is very important because the standard reverse engineering tool creates bidirectional associations automatically. This ends up in high coupling of the parts. It would be nice to be able to have a nice UML designer with which i can do such work and forward engineer to xml files and java files.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.