NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

JPA 2.0 - I can't compile EntityJPAController

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
deunz



Joined: 06 May 2012
Posts: 3

PostPosted: Sun May 06, 2012 1:42 pm    Post subject: JPA 2.0 - I can't compile EntityJPAController Reply with quote

Hello,
I am kinda new to Developement, JAVA and Netbeans, also my english isn't really good so I apologies.


IDE : Netbeans 7.0.1
JPA lib : Persistence -ejb3-persistence.jar
Persistence Unit : EclipseLink (JPA2.0)
OS : Windows Seven


Here is the error message i get when i try to compile any of EntitiesJPAController

error: cannot find symbol
CriteriaQuery cq = em.getCriteriaBuilder().createQuery();


I can't find a way to perform a build of my EJB module.

Thanks for help.


Last edited by deunz on Mon May 07, 2012 6:37 pm; edited 1 time in total
Back to top
deunz



Joined: 06 May 2012
Posts: 3

PostPosted: Mon May 07, 2012 8:25 am    Post subject: Reply with quote

Any help ? Confused
Back to top
deunz



Joined: 06 May 2012
Posts: 3

PostPosted: Wed May 09, 2012 8:51 pm    Post subject: resolved Reply with quote

I came from Persistence lib that was'nt the good 1 to add

We must add Java JEE glassfish-v3 lib and then it will compile .


Thx anyway..
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo