Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » teneo: same name problem using jpox
teneo: same name problem using jpox [message #615618] Thu, 06 March 2008 21:12
Julia is currently offline JuliaFriend
Messages: 85
Registered: July 2009
Hi Martin,

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?

Previous Topic:[Teneo] 3 way join, how to do?
Next Topic:teneo: same name problem using jpox
Goto Forum:

Current Time: Sun Jun 26 09:50:38 GMT 2022

Powered by FUDForum. Page generated in 0.02564 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top