Re: Re: Can't weave entity in Spring

2008-02-13 Thread cobbra
ok, I think I found the problem... Apparently, the custom classloader used for weaving in the Spring context was picking up either orm.xml, persistence.xml, or hibernate.cfg.xml from an app deployed on the same server. Once I removed/undeployed the Hibernate enabled app on the server, my app d

Primary key field generation with postgres

2008-02-13 Thread Baumhof
I use Postgres 8.2 with jdbc Type 3 driver. I have got the following table definition: create table ves.user (idserialnot null, user varchar(20) not null, password varchar(20) not null, constraint pk_ves_user primary key(id) ); M

Manual-command line relational database creation

2008-02-13 Thread xenHalfLife
Hello, I am struggling myself with what might seem like trivial task. I got set of Java POJOs (entities) defined by third party, ODE (http://ode.apache.org/) in this case, and I need to create relational schema from those POJOs before starting application. However no success so far, documentation

Re: OpenJPA in XA-JTA environment

2008-02-13 Thread xenHalfLife
Thanks a lot Pinaki, it is working now when manager.joinTransaction() is used. Cheers On Feb 12, 2008 9:42 PM, Pinaki Poddar <[EMAIL PROTECTED]> wrote: > > As you are managing the JTA transaction directly in code, the > EntityManager > must join the transaction manager as a resource. The way to

Re: Can't weave entity in Spring

2008-02-13 Thread Kristof Jozsa
Hi Randy, if you posted to the Spring forums, can you please post the URL for further reference? I'd also be very interested in applying OpenJPA in a Spring environment. thanks, Kristof [EMAIL PROTECTED] wrote: > Patrick, > > Thanks for the feedback. I'll pass this back along to the Spring fol