This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 124994

Summary: Provide Hibernate Support for NetBeans Projects
Product: javaee Reporter: Jayashri Visvanathan <jayashri>
Component: HibernateAssignee: Vadiraj Deshpande <vadirajvd>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 123601    

Description Jayashri Visvanathan 2008-01-09 22:07:58 UTC
Vadiraj,
  Please provide more info on the functionality expected as part of this feature.
thanks.
Comment 1 Vadiraj Deshpande 2008-01-14 08:00:28 UTC
This feature is about 'Easy way of adding Hibernate support to a generic NetBeans project, starting with Web projects'.
As part of this feature, the following functionalities are included.

1. Global/context menu and toolbar button to add Hibernate support, which would show the 'Add Hibernate Support' wizard
upon activation.
2. The wizard will guide the user to create a new hibernate configuration and optionally setup mapping and create POJOs.
3. The project build and runtime classpath are adjusted automatically to include the Hibernate libraries.
4. Enabling the new file type support(registering project privileged templates), the editor enhancements (schema catalog
registration) for these new file types.
Comment 2 Vadiraj Deshpande 2008-01-25 21:06:09 UTC
The initial design was updated based on the comments gathered from people including Andrei Badea. The new design is
recorded in this wiki : http://wiki.netbeans.org/HibernateProjectSupportOnePager.
Comment 3 Vadiraj Deshpande 2008-03-06 07:51:09 UTC
The relevant changesets are here : http://hg.netbeans.org/main/contrib/log?rev=124994

Added the planned features as per the plan documented here : http://wiki.netbeans.org/SupportForHibernateFramework

The web framework support is still being evaluated and will be taken up later. 
Comment 4 Vadiraj Deshpande 2008-03-06 07:56:46 UTC
Here's one more changeset related to this feature : http://hg.netbeans.org/main/contrib/log?rev=%23124994
Comment 5 Quality Engineering 2008-05-27 16:25:05 UTC
Integrated into 'main-golden', available in NB_Trunk_Production #221 build
Changeset: http://hg.netbeans.org/main/rev/93f6785c28f3
User: vadirajvd@netbeans.org
Log: #124994 - Added registration for catalog entries for Hibernate Configuration and Mapping DTDs.