Member Menu
 
 Monthly JBoss newsletter:
 
Hibernate Books
CaveatEmptor

Hibernate plugin for NetBeans 5.0

http://nbxdoclet.sourceforge.net

Weblog

What is nbxdoclet project

NbXdoclet project helps to develop xdoclet applications in NetBeans IDE.

Hibernate Features

  • Hibernate Bean template
  • Adding property and relation from code completion
  • HQL customizer
  • Installation of libraries to project
  • Generation of database schema
  • Creation database
  • Generation of hbm files

Tutorial

Flash demo is located at http://nbxdoclet.sourceforge.net/FirstHibernate.htm

Installation

  1. Download sf-netbeans-nbxdoclet-update-05.nbm NetBeans plugin using NetBeans Update Center (Tool|Update Center). Install it. The plugin contains url of nbxdoclet update center.
  2. Open update center and install Hibernate plugin with its dependencies.

Last Release Date

03/25/2006 nbxdoclet-0.5

Contribution

Contribution to project is welcome.


  NEW COMMENT

Netbeans and Hibernate - PLUGIN 08 Nov 2007, 02:29 aparmar
Hello,

I want to use hibernate plugin. I downloaded the plugin and tried to
install it in netbeans6.0 and give me this error:


Plugin XDoclet cannot match its dependencies:
module javax.jmi.reflect/1 > 1.5 module org.netbeans.api.mdr/1 > 1.2
module org.netbeans.jmi.javamodel/2 > 1.18.0 module
org.netbeans.modules.java/1 > 1.23.0.2.2.2 module
org.netbeans.modules.javacore/1 > 1.15.0.2.2 module
org.netbeans.modules.jmiutils/1 = 2 


Please help me with this friends...
Aniketh
 
Problema con NetBeans 6.0 23 Nov 2007, 12:19 alejovic
Por favor una pequeña ayuda, No puedo instalar...

XDoclet
Missing required modules for Plugin XDoclet:
module javax.jmi.reflect/1 > 1.5 module org.netbeans.api.mdr/1 > 1.2
module org.netbeans.jmi.javamodel/2 > 1.18.0 module
org.netbeans.modules.java/1 > 1.23.0.2.2.2 module
org.netbeans.modules.javacore/1 > 1.15.0.2.2 module
org.netbeans.modules.jmiutils/1 = 2


Hibernate
Missing required modules for Plugin Hibernate:
module javax.jmi.reflect/1 > 1.7 module org.netbeans.jmi.javamodel/2 > 1.21 
Missing required modules for Plugin XDoclet:
module javax.jmi.reflect/1 > 1.5 module org.netbeans.api.mdr/1 > 1.2
module org.netbeans.jmi.javamodel/2 > 1.18 module
org.netbeans.modules.java/1 > 1.23 module
org.netbeans.modules.javacore/1 > 1.15 module
org.netbeans.modules.jmiutils/1 = 2


intente con Update Center Customizer
http://nbxdoclet.sourceforge.net/alpha-update.xml
pero no pasa nada.

Gracias
 
Re: Netbeans and Hibernate - PLUGIN 24 Nov 2007, 16:13 joel_2007
POST QUESTIONS ON THE FORUM! COMMENTS HERE SHOULD ADD VALUE TO THE
PAGE!On 08 Nov 2007 02:29, aparmar wrote:

>Hello,

>I want to use hibernate plugin. I downloaded the plugin and tried to
>install it in netbeans6.0 and give me this error:


>Plugin XDoclet cannot match its dependencies:
>module javax.jmi.reflect/1 > 1.5 module org.netbeans.api.mdr/1 > 1.2
>module org.netbeans.jmi.javamodel/2 > 1.18.0 module
>org.netbeans.modules.java/1 > 1.23.0.2.2.2 module
>org.netbeans.modules.javacore/1 > 1.15.0.2.2 module
>org.netbeans.modules.jmiutils/1 = 2


>Please help me with this friends...
>Aniketh


Hello. I don't know if it could help you, but it happened to me the same
while trying to installing it manually. So, what I did is to use
Netbeans's General Udate Center.
This is the installation guide
http://nbxdoclet.sourceforge.net/installation.php
Bye.
 
Error in Netbean 5.5.1 traying connect to DB 31 Dec 2007, 01:11 mpino
I HAve an error when I am traying to connect to DB (Hibernate 
properties) , I can't generate the DB schema nor Hibernate descriptor.
 
the first messages is this :
A java.lang.NullPointerException exception has occurred.
Please report this at http://www.netbeans.org/community/issues.html,
including a copy of your messages.log file as an attachment.
The messages.log file is located in your 
C:\Users\Proprio\.netbeans\5.5.1\var\log folder.

it is the detailed messages:
java.lang.NullPointerException
	at sf.netbeans.prjextensions.BuildScript.getProperties
(BuildScript.java:427)
	at sf.netbeans.prjextensions.BuildScript.writeProperties
(BuildScript.java:337)
	at sf.netbeans.prjextensions.BuildScript.update
(BuildScript.java:258)
	at 
sf.netbeans.prjextensions.FeatureCustomizerDialog.customize
(FeatureCustomizerDialog.java:112)
	at 
sf.netbeans.prjextensions.Feature$PropertiesAction.performAction
(Feature.java:283)
	at org.openide.util.actions.NodeAction$DelegateAction$1.run
(NodeAction.java:537)
	at 
org.netbeans.modules.openide.util.ActionsBridge.doPerformAction
(ActionsBridge.java:53)
	at 
org.openide.util.actions.NodeAction$DelegateAction.actionPerformed
(NodeAction.java:533)
	at javax.swing.AbstractButton.fireActionPerformed
(AbstractButton.java:1995)
	at javax.swing.AbstractButton$Handler.actionPerformed
(AbstractButton.java:2318)
	at javax.swing.DefaultButtonModel.fireActionPerformed
(DefaultButtonModel.java:387)
	at javax.swing.DefaultButtonModel.setPressed
(DefaultButtonModel.java:242)
	at javax.swing.AbstractButton.doClick
(AbstractButton.java:357)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick
(BasicMenuItemUI.java:1216)
	at 
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased
(BasicMenuItemUI.java:1257)
	at java.awt.Component.processMouseEvent(Component.java:6038)
	at javax.swing.JComponent.processMouseEvent
(JComponent.java:3260)
	at java.awt.Component.processEvent(Component.java:5803)
	at java.awt.Container.processEvent(Container.java:2058)
	at java.awt.Component.dispatchEventImpl(Component.java:4410)
	at java.awt.Container.dispatchEventImpl(Container.java:2116)
	at java.awt.Component.dispatchEvent(Component.java:4240)
	at java.awt.LightweightDispatcher.retargetMouseEvent
(Container.java:4322)
	at java.awt.LightweightDispatcher.processMouseEvent
(Container.java:3986)
	at java.awt.LightweightDispatcher.dispatchEvent
(Container.java:3916)
	at java.awt.Container.dispatchEventImpl(Container.java:2102)
	at java.awt.Window.dispatchEventImpl(Window.java:2429)
	at java.awt.Component.dispatchEvent(Component.java:4240)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
	at java.awt.EventDispatchThread.pumpOneEventForFilters
(EventDispatchThread.java:273)
	at java.awt.EventDispatchThread.pumpEventsForFilter
(EventDispatchThread.java:183)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:173)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:168)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:160)
	at java.awt.EventDispatchThread.run
(EventDispatchThread.java:121)
 
Hibernate in NetBeans 6.0.1. 25 Feb 2008, 12:06 Daeroth
Does exists a plugin for NetBeans 6.0.1. or any form to make it work in
NetBeans 6.0.1.?

It is said Hibernate will go on NetBeans 6.1., this is true?
 
Hibernate in NetBeans 6.0.1. 25 Feb 2008, 12:06 Daeroth
Does exists a plugin for NetBeans 6.0.1. or any way to make it work in
NetBeans 6.0.1.?

It is said Hibernate will go on NetBeans 6.1., this is true?
 
Re: Hibernate in NetBeans 6.0.1. 03 Mar 2008, 07:45 javydreamercsw
POST QUESTIONS ON THE FORUM! COMMENTS HERE SHOULD ADD VALUE TO THE
PAGE!On 25 Feb 2008 12:06, Daeroth wrote:

>Does exists a plugin for NetBeans 6.0.1. or any way to make it work in
>NetBeans 6.0.1.?

>It is said Hibernate will go on NetBeans 6.1., this is true?

I'm actually using Hibernate in Netbeans 6.0.1. Just created a Hibernate
Library with all the required jars in it and it appears as an option
when creating persistence units.
 
Re: Netbeans and Hibernate - PLUGIN 20 Mar 2008, 10:30 omar2308
POST QUESTIONS ON THE FORUM! COMMENTS HERE SHOULD ADD VALUE TO THE
PAGE!On 08 Nov 2007 02:29, aparmar wrote:

>Hello,

>I want to use hibernate plugin. I downloaded the plugin and tried to
>install it in netbeans6.0 and give me this error:


>Plugin XDoclet cannot match its dependencies:
>module javax.jmi.reflect/1 > 1.5 module org.netbeans.api.mdr/1 > 1.2
>module org.netbeans.jmi.javamodel/2 > 1.18.0 module
>org.netbeans.modules.java/1 > 1.23.0.2.2.2 module
>org.netbeans.modules.javacore/1 > 1.15.0.2.2 module
>org.netbeans.modules.jmiutils/1 = 2


>Please help me with this friends...
>Aniketh


Go to Tool->libraries->new library, and add hibernate library or create
woth hibernate lib in distribution. Install xdoclet plugin again, but
first xdoclet plugin, then hibernate xdoclet
 
Re: Problema con NetBeans 6.0 20 Mar 2008, 10:36 omar2308
POST QUESTIONS ON THE FORUM! COMMENTS HERE SHOULD ADD VALUE TO THE
PAGE!On 23 Nov 2007 12:19, alejovic wrote:

>Por favor una pequeña ayuda, No puedo instalar...

>XDoclet
>Missing required modules for Plugin XDoclet:
>module javax.jmi.reflect/1 > 1.5 module org.netbeans.api.mdr/1 > 1.2
>module org.netbeans.jmi.javamodel/2 > 1.18.0 module
>org.netbeans.modules.java/1 > 1.23.0.2.2.2 module
>org.netbeans.modules.javacore/1 > 1.15.0.2.2 module
>org.netbeans.modules.jmiutils/1 = 2


>Hibernate
>Missing required modules for Plugin Hibernate:
>module javax.jmi.reflect/1 > 1.7 module org.netbeans.jmi.javamodel/2 >
1.21 
>Missing required modules for Plugin XDoclet:
>module javax.jmi.reflect/1 > 1.5 module org.netbeans.api.mdr/1 > 1.2
>module org.netbeans.jmi.javamodel/2 > 1.18 module
>org.netbeans.modules.java/1 > 1.23 module
>org.netbeans.modules.javacore/1 > 1.15 module
>org.netbeans.modules.jmiutils/1 = 2


>intente con Update Center Customizer
>http://nbxdoclet.sourceforge.net/alpha-update.xml
>pero no pasa nada.

>Gracias


Lo que pasa es que primero debes tenr las librearia de Hibernate en tu
netbeans. PAra ello anda a tools->library->new library y crea una
libreria digamso "hibernate 3.2" y agrega las librerias que se
encuentran en la carpeta lib al descargarte el hibernate. Luego reinicia
tu ide para que cargue las librerias(esto fue en linux, en windows no he
probado) y luego primero instala el plugin de xdoclet, y uego puedes
insatalar el plugin de hibernate, struts, etc.

Saludos
 
Re: Hibernate in NetBeans 6.0.1. 21 Apr 2008, 14:03 Gowri
POST QUESTIONS ON THE FORUM! COMMENTS HERE SHOULD ADD VALUE TO THE
PAGE!On 25 Feb 2008 12:06, Daeroth wrote:

>Does exists a plugin for NetBeans 6.0.1. or any way to make it work in
>NetBeans 6.0.1.?

>It is said Hibernate will go on NetBeans 6.1., this is true?

Hibernate is supported in Netbeans 6.1. Please download Netbeans 6.1 and
install the Hibernate plugin. When you create a web project with
Hibernate as a framework, all the necessary jars will be copied over to
the project.

Give it a shot. You might like it.
 
Re: Netbeans and Hibernate - PLUGIN 21 Apr 2008, 14:12 Gowri
POST QUESTIONS ON THE FORUM! COMMENTS HERE SHOULD ADD VALUE TO THE
PAGE!On 08 Nov 2007 02:29, aparmar wrote:

>Hello,

>I want to use hibernate plugin. I downloaded the plugin and tried to
>install it in netbeans6.0 and give me this error:


>Plugin XDoclet cannot match its dependencies:
>module javax.jmi.reflect/1 > 1.5 module org.netbeans.api.mdr/1 > 1.2
>module org.netbeans.jmi.javamodel/2 > 1.18.0 module
>org.netbeans.modules.java/1 > 1.23.0.2.2.2 module
>org.netbeans.modules.javacore/1 > 1.15.0.2.2 module
>org.netbeans.modules.jmiutils/1 = 2


>Please help me with this friends...
>Aniketh


Hi Aniketh,

Netbeans 6.1 supports Hibernate. In order to use it, you need to install
the plug in. Then you will see Hibernate as a framework option. 

Here is a tutorial on how to use Hibernate in
Netbeans 6.1 http://wiki.netbeans.org/HibernateAndVisualWebProject

Hope this helps.

Gowri
 
© Copyright 2006, Red Hat Middleware, LLC. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc. [Privacy Policy]