Hibernate on NB 6.1

View: New views
3 Messages — Rating Filter:   Alert me  

Hibernate on NB 6.1

by Moser Ludwig :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

I installed the hibernate plugin into NB, but it does not show up as available Persistence Library,

whats needed to do, to get it showing up?

 

Thanks in advance!

 


Re: Hibernate on NB 6.1

by Roy Abu Bakar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

That it because netbeans does not incluce hibernate entity manager and javaee in hibernate modules.

This is requirements library JPA with hibernate :
from Hibernate Core:
hibernate3.jar
lib/antlr-2.7.6.jar
lib/asm-attrs.jar
lib/asm.jar
lib/c3p0-0.9.1.jar
lib/cglib-2.1.3.jar
lib/commons-collections-2.1.1.jar
lib/commons-logging-1.0.4.jar
lib/concurrent-1.3.2.jar
lib/dom4j-1.6.1.jar
lib/ehcache-1.2.3.jar
lib/javassist.jar
lib/log4j-1.2.11.jar

from Hibernate Entity Manager:
hibernate-entitymanager.jar
lib/hibernate-annotations.jar
lib/hibernate-commons-annotations.jar
lib/jboss-archive-browsing.jar

from Java EE 5 SDK:
javaee.jar


Add manually in the hibernate library module :
Tools - > Libraries -> Switch to Hibernate and Add Jar/Folder

Show in picture below :


AW: Hibernate on NB 6.1

by Moser Ludwig :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Perfect help!
Thanks a lot - working like charm!

-----Ursprüngliche Nachricht-----
Von: Roy Abu Bakar [mailto:mongkeh@...]
Gesendet: Mittwoch, 30. April 2008 11:14
An: nbusers@...
Betreff: Re: [nbusers] Hibernate on NB 6.1


That it because netbeans does not incluce hibernate entity manager and javaee
in hibernate modules.

This is requirements library JPA with hibernate :
from Hibernate Core:
hibernate3.jar
lib/antlr-2.7.6.jar
lib/asm-attrs.jar
lib/asm.jar
lib/c3p0-0.9.1.jar
lib/cglib-2.1.3.jar
lib/commons-collections-2.1.1.jar
lib/commons-logging-1.0.4.jar
lib/concurrent-1.3.2.jar
lib/dom4j-1.6.1.jar
lib/ehcache-1.2.3.jar
lib/javassist.jar
lib/log4j-1.2.11.jar

from Hibernate Entity Manager:
hibernate-entitymanager.jar
lib/hibernate-annotations.jar
lib/hibernate-commons-annotations.jar
lib/jboss-archive-browsing.jar

from Java EE 5 SDK:
javaee.jar


Add manually in the hibernate library module :
Tools - > Libraries -> Switch to Hibernate and Add Jar/Folder

Show in picture below :

http://www.nabble.com/file/p16978691/jpa-hibernate.gif 
--
View this message in context: http://www.nabble.com/Hibernate-on-NB-6.1-tp16976842p16978691.html
Sent from the Netbeans - Users mailing list archive at Nabble.com.