Hi,
I am a newbie to OJB. I am going thru the
documentation and trying to create a couple of simple
entities/relations. I am facing a problem : The sql
that gets generated uses the wrong table creation
first, my primary entities are created last and the
dependent table sql gets generated
This sounds more like a problem with Torque which is per default used
to generate the tables in the database.
You can try to use commons-sql instead
(http://jakarta.apache.org/commons/sandbox/sql/), it groks the same
table schema but it splits the table generation and the creation of
foreignkeys
Hi Tom,
Thanks a lot for responding.
I'm grappling with the basic concepts. I see, so
instead of specifying an entity creation order, we'd
rather let another tool (commons-sql) that can
decipher primary and dependent entities, split them
up, and order them by this distinction, and let it
I'm grappling with the basic concepts. I see, so
instead of specifying an entity creation order, we'd
rather let another tool (commons-sql) that can
decipher primary and dependent entities, split them
up, and order them by this distinction, and let it
resolve the dependencies.
Is my
Hi Tom,
Awesome. That was very insightful.
I'll try it out now that I think I understand it
much better.
Thanks again.
ZN
--- Thomas Dudziak [EMAIL PROTECTED] wrote:
I'm grappling with the basic concepts. I see,
so
instead of specifying an entity creation order,
we'd
rather
Hi,
I am a newbie to OJB. I am going thru the
documentation and trying to create a couple of simple
entities/relations. I am facing a problem. I guess
that option must be provided, but I am just not
finding how to do it : The sql that gets generated
uses the wrong table creation first, my