This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Servlets and the fly likes Servlet JPA problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet JPA problem" Watch "Servlet JPA problem" New topic
Author

Servlet JPA problem

Zaeed McColin
Ranch Hand

Joined: Jan 13, 2009
Posts: 90
hi guys
I developed my Entities and use JPA for connect to DBs
alright I have a problem

I developed a Servlet that shown all of the records from test table
it's work good except first time
for first time glassfish return

" Exception [EclipseLink-8034] (Eclipse Persistence Services - 1.0.1 (Build 20080905)): org.eclipse.persistence.exceptions.JPQLException Exception Description: Error compiling the query [all: select t from test t]. Unknown abstract schema type [test]. "


bty;this servlet uses of JPQL


and this return error just for 1st time
and i don't have any problem with adding or removing datas

an the servlet


respect developers


Open source
 
wood burning stoves
 
subject: Servlet JPA problem