Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumsteneo: same name problem using jpox
https://www.eclipse.org/forums/index.php/mv/msg/193634/615618/#msg_615618
I have 2 schemas (A & B) that collide with same name for several of its
table creations. Currently using DB2 and jdk 1.4.
There appears the be several way that I can fix this problem
1) create a separate database schema for each so that the tables can exist
along side each other in the same database. But would I have to create a
separate jpoxdatastore (separate epackage & pmf) object for each schema?
2) use @Entity annotation. But I seem to recall that I will need jdk 1.5
for this. Upgrading will cause other problems.
3) Use QualifyingEntityNameStrategy extensions to add prefix. One of my
collegues tried this method but still had issues due to the complexities
of our schemas and DB2 column limitations.