[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
AW: [dali-dev] schema for JPA connections
|
Hi Tom,
I think this is the same issue as
https://bugs.eclipse.org/bugs/show_bug.cgi?id=195095
My understanding of the situation is that schemaName=userName is hardwired, currently.
Adrian
-----Ursprüngliche Nachricht-----
Von: dali-dev-bounces@xxxxxxxxxxx [mailto:dali-dev-bounces@xxxxxxxxxxx] Im Auftrag von Tom Mutdosch
Gesendet: Donnerstag, 11. Oktober 2007 17:24
An: dali-dev@xxxxxxxxxxx
Betreff: [dali-dev] schema for JPA connections
Hi all,
Is the schema stored somewhere for the current Dali connection? I
generated entitees from a non-default schema (ADMINISTRATOR) and I am
seeing validation errors like:
"Schema "db2admin" cannot be resolved for table "Department"
'db2admin' is the user name/default schema, not the schema that I used
to generate entities. I thought I used to be able to set the schema on
the JPA Property page, but I may have imagined that. Is there somewhere
where this is stored? Note that I'm using the Dali 1.0 maintenance stream.
Aside from validation, I'm interested in this because I'm trying to
write some tooling to update the persistence.xml with the schema that
the user generated entities from, such as:
<properties>
<property name="openjpa.jdbc.Schema" value="ADMINISTRATOR"/>
</properties>
I need some way to figure out which schema was used when generating
entities. I figured this must be stored somewhere in order to do
validation. Is there a way that I could get that information somehow?
Thanks
Tom
_______________________________________________
dali-dev mailing list
dali-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dali-dev