Hello all
right now i am trying to build a new app with a new db schema defined in
a appname-schema.xml file. However, the resulting sql script has tons
of errors in it. The most noticeable of which is that any table that
does not have the idMethod attribute set to 'idbroker' in its definition
results in a creation statement where the primary key definition lacks a
datatype. It looks something like this:
create table A (aid not null,
<rest of table def>
primary key(aid));
The next problem i seem to be having is understanding exactly what the
options are for idMethod. I know what values can be set but I cannot
find a doc that explains the meaning of each value. For instance, what
exactly is the difference between "null" and "none"? The doc is
ambiguous on whether the 'idbroker' method uses nextval from a sequence
controlled by the dbms or if it uses id_table to determine the next
primary key. If it can be both, what other attributes must be set to
make it do one or the other? If it does use a sequence, how does that
differ from 'native'?
I am using tdk2.1 and postgresql7.2.1.
Any help is appreciated...
-bill
--
To unsubscribe, e-mail: <mailto:turbine-torque-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-torque-user-help@;jakarta.apache.org>