|teneo: same name problem using jpox [message #615618]
||Thu, 06 March 2008 21:12
Registered: July 2009
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.
What would be your best suggestion?
Powered by FUDForum
. Page generated in 0.02564 seconds