Re: (No)existing table in SQL server

2007-04-16 Thread Marina Vatkina
Armad, Are you using GlassFish with OpenJPA? If yes, there is a special integration with the Toplink code to be able to drop and create tables at deployment time. No other JPA provider has this support. I was looking at adding the same level of support for OpenJPA but the existing options

Re: (No)existing table in SQL server

2007-04-13 Thread armad
Jacek Laskowski-4 wrote: If it's possible, send the application to me so I could take a look at it. Hi, I can't send you the application :( Jacek Laskowski-4 wrote: BTW, I wouldn't call your application ok for it's running smoothly with TopLink and Hibernate. They're quite a few

Re: (No)existing table in SQL server

2007-04-13 Thread Jacek Laskowski
On 4/13/07, armad [EMAIL PROTECTED] wrote: I can't send you the application :( Is there a way to trim the application so that the issue still exists, but you don't need to share the whole app? It would be of great help if we reproduced the issue. Jacek -- Jacek Laskowski

Re: (No)existing table in SQL server

2007-04-13 Thread armad
Jacek Laskowski-4 wrote: On 4/13/07, armad [EMAIL PROTECTED] wrote: I can't send you the application :( Is there a way to trim the application so that the issue still exists, but you don't need to share the whole app? It would be of great help if we reproduced the issue. Ok,

(No)existing table in SQL server

2007-04-12 Thread armad
Hi, I have a problem with exception like : org.apache.openjpa.persistence.ArgumentException: No table was given for persistent type... ...but the table is in the database ! I have copied all jar files and openjpa incubating file to $GLASSFISH_HOME/domains/domain1/lib/ . Do You know how can

Re: (No)existing table in SQL server

2007-04-12 Thread Kevin Sutter
Armad, This exception doesn't mean the table doesn't exist in the database, it means that the metadata doesn't define a proper table for this persistence type. Either the annotations or the xml are not properly defining the table for this persistence type. It would be good to see the complete

Re: (No)existing table in SQL server

2007-04-12 Thread Jacek Laskowski
On 4/12/07, Kevin Sutter [EMAIL PROTECTED] wrote: Armad, This exception doesn't mean the table doesn't exist in the database, it means that the metadata doesn't define a proper table for this persistence type. Either the annotations or the xml are not properly defining the table for this

Re: (No)existing table in SQL server

2007-04-12 Thread armad
Hi, Jacek: Sometimes I do not have access to newsgroup :) My persistence.xml file : ?xml version=1.0 encoding=UTF-8? persistence version=1.0 xmlns=http://java.sun.com/xml/ns/persistence; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

Re: (No)existing table in SQL server

2007-04-12 Thread Kevin Sutter
Armad, Your error seems to have shifted. The original posting indicated that the exception text was concerning the table metadata: org.apache.openjpa.persistence.ArgumentException: No table was given for persistent type... But, your latest append indicates that the actual database table does

Re: (No)existing table in SQL server

2007-04-12 Thread armad
Kevin Sutter wrote: Armad, Your error seems to have shifted. The original posting indicated that the exception text was concerning the table metadata: org.apache.openjpa.persistence.ArgumentException: No table was given for persistent type... But, your latest append indicates that

Re: (No)existing table in SQL server

2007-04-12 Thread Jacek Laskowski
On 4/12/07, armad [EMAIL PROTECTED] wrote: First, when I use TopLink or Hibernate everything is ok. So the entities are good. Deploy and test process: I create a .jar file with entities and EJB components, then I deploy it to the glassfish. Up to this moment everything is ok. But when I run my