hello,
this is a curiosity:
in repository_user.xml I scpecify that a primary key is not nullable,
with this code:
<field-descriptor id="1"
name="matricola"
column="matricola"
jdbc-type="INTEGER"
nullable="false"
primarykey="true"
autoincrement="true"
/>
but when I see the (hsqldb) database created with bin\build forward-db,
the attribute "matricola" is nullable; I don't understand the reason.
Moreover, if I use MsSQLServer, during the DB creation process (with
forward-db) I read on STDO this error message for every table (I write the
one referred to Kategorien table):
[java] 85 - CREATE TABLE Kategorien ( Kategorie_Nr INT IDENTITY (1, 1)
primary key NULL, KategorieName varchar(50) NULL , Beschreibung varchar(50)
NULL )
[java] ERROR ON 85 - [Microsoft][ODBC SQL Server Driver][SQL Server]Could
not create IDENTITY attribute on nullable column 'Kategorie_Nr', table
'Kategorien'.
I think that this error is because forward-db wants to create a primary key
on a nullable attribute, but in the mapping file I specified: nullable=
"false".
THANKS
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>