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 avai
On 4/15/07, armad <[EMAIL PROTECTED]> wrote:
I resolve my problem :)
...
Thanks for your help Jacek :)
You're welcome! I'm really glad you've sorted it out. I'm learning JPA
and being able to help others ensures good understanding of the spec.
Jacek
--
Jacek Laskowski
http://www.JacekLasko
Thanks,
I resolve my problem :)
I had a problem, because I didn't list my entities. When I wrote all entity
classes to persistence.xml file, everything was ok. Apart from this the
really important thing is, that OpenJPA create db schema not in deploy
moment, but in first call to entity. Another
I look at my application once again, and I saw that OpenJPA really doesn't
create tables in my database !
In my persistence.xml file I have following entry :
...
...
Do You know how can I configure OpenJPA to recreate tables ?
Sure. It works with OpenJPA 0.9.7-SNAPSHOT and 0.9.8-SNAPSHOT:
Hi Jacek,
I look at my application once again, and I saw that OpenJPA really doesn't
create tables in my database !
In my persistence.xml file I have following entry :
...
...
When I deploy my appliction, then OpenJPA delete all tables from database
and then It doesn't create it.
Do You know ho
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.
>
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
http://www.JacekLa
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 fe
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 m
Jacek Laskowski-4 wrote:
>
> Do some of your entities work at all? Show the entity in question or
> describe how you run the application in GlassFish. I'll try to
> reproduce the issue in the environment of mine.
>
First, when I use TopLink or Hibernate everything is ok.
So the entities are go
On 4/12/07, armad <[EMAIL PROTECTED]> wrote:
The database exists and all tables exists too. Actually I have created the
database by another JPA implementation - TopLink. I tried to create it by
OpenJPA but I didn't success :
I think, that problem is in schema name, but I can't resolve it.
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 indicate
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 no
Hi,
Jacek:
Sometimes I do not have access to newsgroup :)
My persistence.xml file :
http://java.sun.com/xml/ns/persistence";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_1_0.
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 persi
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 ex
16 matches
Mail list logo