[jboss-dev-forums] [JBoss Tools Development] - No Persistence library in Hibernate Tools Eclipse Plugin?

mairr mairrr do-not-reply at jboss.com
Fri Sep 23 03:30:28 EDT 2011


mairr mairrr [http://community.jboss.org/people/mairr] created the discussion

"No Persistence library in Hibernate Tools Eclipse Plugin?"

To view the discussion, visit: http://community.jboss.org/message/628149#628149

--------------------------------------------------------------
Hello all,
I am new to Hibernate and need some help.

I am using Eclipse Indigo and Hibernate Tools Eclipse Plugin 3.4.

I've successfully setup hibernate configuration including database driver, connection url and selected the java project where hibernate will be used.

For mapping I want to use Annotation, so i could "mark" the fields, with attributes  (@Entity, @id...).

To do this I must use imports:
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.GeneratedValue;

But those imports couldn't be resolved.

Shouldn't plugin take care of those jars??

How can I fix it?

THanks
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/628149#628149]

Start a new discussion in JBoss Tools Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2129]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110923/a28bc7bb/attachment.html 


More information about the jboss-dev-forums mailing list