-->
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: Updating DB elements in Hibern8IDE
PostPosted: Fri Mar 26, 2004 4:30 pm 
Newbie

Joined: Fri Mar 26, 2004 4:19 pm
Posts: 3
I've been using Hibernate for my database work now for a few months and am very impressed with the capabilities of the package -- it's exactly the right tool for the job.

Unfortunately, I have to write my code for users with different requests/standards and one of them is the capability to update the database from the Hibern8IDE utility. I understand you can do this with beanshell, but this requires a knowledge of the Hibernate language or SQL. What they'd really like is the ability to browse items in the database with the JOI interface and then update one of the values by hand.

I appreciate that there may be complications with providing such a capability, the most important being database integrity as we don't want users mucking up the very nice pointers it setup and verified. However, I do want to provide the capability for a ("smart") user to update one or more values by hand (after most of it has been done by a Hibernate utilizing program) without having to re-learn SQL or HQL every few weeks.

I could use some other utility for updating the database by hand, but I'd really like to use the Hibern8IDE interface since it will display the interactions between tables for my users. Is it even feasible to add this capability to the IDE? Is it on anyone's timeline? If not, can I help?

Thanks for the help,

stephen


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 26, 2004 4:39 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
I'm sure Max would love to have someone helping him on Hibern8IDE!


Top
 Profile  
 
 Post subject: Re: Updating DB elements in Hibern8IDE
PostPosted: Wed Apr 14, 2004 11:13 am 
Newbie

Joined: Fri Mar 26, 2004 4:19 pm
Posts: 3
In my quest to look into adding this feature to the Hibern8IDE, I contacted the author of JOI (Manfred Duchrow). In order to have the ability to change the elements in the database using the JOI interface, first we needed the capability in JOI to update elements (till now, it only allowed viewing the contents). Manfred was extraordinarily helpful and my query to add this capability to JOI resulted in a very busy weekend for him where he added this, and several other, capabilities.

At the end of the weekend he passed me a beta version of JOI 2.1 which includes the capability to edit primitive types. Simply including this jar in my classpath worked perfectly with the current version of the IDE and allowed me to update the fields in the JOI interface. I think all that's needed now is the capability of the IDE to commit those user edited changes to the database.

Of course I am surely belittlling what is more than a small undertaking but I haven't yet dug through the IDE code to see how difficult this would be. Before I start, can anyone comment? Will this be simple or difficult to add? Can I help?

stephen

p.s. I have a copy of the beta version of the new JOI and permission from Manfred to share this with Hibernate developers. Contact me for the library. He suspects he will release this version in May which gives us time to release an updated IDE if we're quick.

scjohnson@mac.com wrote:
I've been using Hibernate for my database work now for a few months and am very impressed with the capabilities of the package -- it's exactly the right tool for the job.

Unfortunately, I have to write my code for users with different requests/standards and one of them is the capability to update the database from the Hibern8IDE utility. I understand you can do this with beanshell, but this requires a knowledge of the Hibernate language or SQL. What they'd really like is the ability to browse items in the database with the JOI interface and then update one of the values by hand.

I appreciate that there may be complications with providing such a capability, the most important being database integrity as we don't want users mucking up the very nice pointers it setup and verified. However, I do want to provide the capability for a ("smart") user to update one or more values by hand (after most of it has been done by a Hibernate utilizing program) without having to re-learn SQL or HQL every few weeks.

I could use some other utility for updating the database by hand, but I'd really like to use the Hibern8IDE interface since it will display the interactions between tables for my users. Is it even feasible to add this capability to the IDE? Is it on anyone's timeline? If not, can I help?

Thanks for the help,

stephen


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.