Hibernate plugin for NetBeans 5.0

Many developers don't like EJB, JDO technologies and they are using other object/relational persistance and query service for Java like Hibernate. Hibernate lets you develop persistant classes following common Java idiom. The plugin for Hibernate in NetBeans was missing. Recently, I have seen on project of my colleague.
Petr Zajac develops xdoclet plugin for NetBeans that enables Attribute-Oriented Programming for Java. The plugin parses your source code and generates many artifacts such as XML and other stuff. Based on this plugin he did Hibernate plugin.
This plugin allows you to create new POJO beans, add relationships, fields, ....code completion
Of course, the plugin generate all requested configuration files without your endeavour. The plugin is avalaible in SourceForge. You can download sources and nbms here
. I would like to show more plugin's functionality in some next post.
Comments:

I am very much interested in this plug-in as a netbeans developer. If it works on netbeans it would solve a hell of problems for us.

Posted by Rajneesh Aggarwal on December 06, 2005 at 10:30 PM CET #

I am very much interested in this plug-in as a netbeans developer. If it works on netbeans it would solve a hell of problems for us.

Posted by Piotr Górka on December 07, 2005 at 02:13 AM CET #

Many thanks to Petr Blaha that he is blogging about my module. I would like to release new snapshot of my module on the weekend. There will be two new templates:
HibernateUtil - it configures client part of application a creates instance of hibernate Session
beanFacade - simple facade for hib bean

and few bugfixes. If somebody has any idea what is missing please give me feedback. Thanx.

Posted by Petr Zajac on December 07, 2005 at 03:07 PM CET #

How do I change the code generator to force trimmed non-nulls for strings in the POJO. I do a lot of UI work and the user cann't tell the difference between null and "" and " " but from the programming point of view "" is much easier to handle.

Posted by matthew ford on December 07, 2005 at 03:40 PM CET #

The templates are stored on system filesystem (SFS) in velocity/templates folder. SFS shoud be accessible using Bean Browser. Bean Browser is part of OpenAPI support module which is available on autoupdate.

Posted by Petr Zajac on December 11, 2005 at 07:23 AM CET #

Hello! This plugin support also the DB tables into -> javaClass translation? thx

Posted by alain on April 22, 2006 at 06:52 PM CEST #

Hi Can you use this plugin with netbeans modules. if you can how? i just seem to get a "No feature Hibernate found" error message. thanks

Posted by Nick on August 08, 2006 at 02:20 AM CEST #

[Trackback] Last night we posted our newest tutorial, Using Hibernate With the Sun Java Studio Creator IDE . This tutorial shows the essential steps necessary for adding a Hibernate framework to your project, as well as shows now to display the query results in a...

Posted by Insider Scoop From the Tutorial Divas on August 18, 2006 at 04:47 PM CEST #

Hello, I have a problem, i create webservice in netbeans, add libraries of hibernate and when i try to create hibernateBean in the project there is message: no feature hibernate fount. I would like to add that when i create any other projet (web or console) hibernateBeans work pefrect. Do You know where is the problem? What should i do to turn it on in webservice? Regards, Wojtek.

Posted by Wojtek on October 12, 2006 at 03:27 AM CEST #


Is there any chance that support for
hibernate anotations will be added?
Thanks

Posted by Matthew Brady on November 02, 2006 at 09:28 AM CET #

Hi. Is it possible to use hibernate plugin and web services in one project with NetBeans 5.5? I can use them in separately projects but if I add hibernate bean to the project with web services there is the ParceException during build the WebService class. Any idea how to use this in one project? Regards, Artur

Posted by Artur on November 29, 2006 at 07:19 AM CET #

hai! We are new to hibernate spring How to work hibernate in spring MVC with netbeans 5.5 We installed net-sf-spring-netbeans-support.nbm and sf.netbeans.nbxdoclet-update-net-o.5.nbm in netbeans 5.5 Thanks

Posted by govind on December 19, 2006 at 10:12 PM CET #

I am new to hibernate spring How to work hibernate in spring MVC with netbeans 5.5 We installed net-sf-spring-netbeans-support.nbm and sf.netbeans.nbxdoclet-update-net-o.5.nbm in netbeans 5.5 Thanks

Posted by Mukul on April 06, 2007 at 12:08 AM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

pblaha

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today
Bookmarks