aspose file tools*
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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlet JPA problem