Hi David,

> Now.... on startup, openjpa is likely to do a bunch of metadata analysis of
> the database, including possibly creating the tables etc for you, but I
> think at least checking that the mapping it has will work.  If it creates
> the tables, it first looks for a non-jta datasource; if there is none, it
> tries to use a connection from the jta-datasource

It's not the problem - recently I remember adding country field to a
User class and OpenJPA run ALTER TABLE without any error.

> I'd also strongly advise using the db2-specific tranql adapter.  I need to
> release the latest fixed version, but a snapshot is at
> http://snapshots.repository.codehaus.org/org/tranql/tranql-connector-db2-xa/1.2-SNAPSHOT/tranql-connector-db2-xa-1.2-20080326.214959-2.rar

I was already using 1.2-SNAPSHOT, but above version is newer and
differs in size  by 1 byte ;) but changing the connector did not help
either.

any other clues?

best regards
Łukasz

Reply via email to