FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

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

An exception occured while creating a query in EntityManager

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



Joined: 28 Aug 2009
Posts: 6

PostPosted: Tue Nov 03, 2009 8:28 pm    Post subject: An exception occured while creating a query in EntityManager Reply with quote

NetBeans 6.7 using Glassfish v2.1

I modified the tutorial Generating a JavaServer Faces CRUD Application from a Database (http://www.netbeans.org/kb/docs/web/jsf-jpa-crud-wizard.html) for a web catalog app.

There were a lot of mods, needless to say, as I needed to remove a "layer" because the 'consultant' entity I do not need. This left some holes to fill...

making a long story short, when attempting to login, I get the above error. I know the username and password are correct, and there is only one user in that table.

I have checked my AuthenticationPhaseListner, UsersJpaController, etc...not sure where to turn. I do realize this could be received as a little vague, I will be happy to provide more info...

I really need to get this app going, not sure where to turn for help.

Btw, I created the Consultant project and it works great!

Thanks,
Phil
Back to top
View user's profile Send private message
pankers



Joined: 28 Aug 2009
Posts: 6

PostPosted: Wed Nov 18, 2009 6:08 pm    Post subject: Amazing, huh? Reply with quote

There seems to be no one who understands most of the issues posted here...
Back to top
View user's profile Send private message
julsorio



Joined: 05 Jun 2009
Posts: 11
Location: Bogota, Colombia, South America

PostPosted: Wed Nov 18, 2009 8:18 pm    Post subject: Re: An exception occured while creating a query in EntityManager Reply with quote

Greetings!!!


What kind of exception?

2009/11/18 pankers <address-removed ([email]address-removed[/email])>
Quote:
There seems to be no one who understands most of the issues posted here...







--
Julian Osorio Amaya
Ingenier
Back to top
View user's profile Send private message MSN Messenger
pankers



Joined: 28 Aug 2009
Posts: 6

PostPosted: Wed Nov 18, 2009 8:24 pm    Post subject: Reply with quote

Well it's odd, because there are no exceptions in the GlassFish output. When I originally posted this, I do believe there were exceptions, but now when I run it I get nothing in the output. Not sure where to turn...or how to debug this.
Back to top
View user's profile Send private message
julsorio



Joined: 05 Jun 2009
Posts: 11
Location: Bogota, Colombia, South America

PostPosted: Wed Nov 18, 2009 10:30 pm    Post subject: Re: An exception occured while creating a query in EntityManager Reply with quote

of course you can debug it... the EntityManager only works on a EJB container

2009/11/18 pankers <address-removed ([email]address-removed[/email])>
Quote:
Well it's odd, because there are no exceptions in the GlassFish output.
Back to top
View user's profile Send private message MSN Messenger
pankers



Joined: 28 Aug 2009
Posts: 6

PostPosted: Wed Nov 18, 2009 11:18 pm    Post subject: Reply with quote

If I could only figure out how to use NetBeans Debugger... Question I am probably going to back up quite a bit and learn more of the basics.

Thanks
Back to top
View user's profile Send private message
julsorio



Joined: 05 Jun 2009
Posts: 11
Location: Bogota, Colombia, South America

PostPosted: Fri Nov 20, 2009 9:24 pm    Post subject: Re: An exception occured while creating a query in EntityManager Reply with quote

To debug your enterprise app you have to do a
Back to top
View user's profile Send private message MSN Messenger
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