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&...]