db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bogdan Vatkov" <bvat...@globaltech-bg.com>
Subject Re: IDBroker broken ?
Date Thu, 11 Dec 2003 12:47:12 GMT


+) Sorry, I meant the tables not the databse, see
http://www.mysql.com/doc/en/CREATE_TABLE.html and the allowed table_options,
i.e. TYPE

yes:
my \torque-gen-3.1\templates\sql\base\mysql\db.props contains:
........
tableType = InnoDB
.......

thus so generation result found in \torque-gen-3.1\src\sql\fksu-schema.sql
contains:
........
CREATE TABLE user
(
              id INTEGER NOT NULL,
              first_name VARCHAR (32),
              second_name VARCHAR (32),
              family_name VARCHAR (32),
              birthdate DATETIME,
              phone_number VARCHAR (20),
              address VARCHAR (64),
              email VARCHAR (64),
              user_type SMALLINT,
              sex SMALLINT,
              loginname VARCHAR (32),
              password VARCHAR (32),
    PRIMARY KEY(id)
) Type=InnoDB;
.........

+) DOes it work now?!
I am afraid it works. It is strange how could IDbroker's code ..lead to NULL
for the ID..maybe i will examine the torque IDBroker.java code to be sure
where the problem might come.

Thanx for the help Siegfried. I Appreciate it.

With best regards,
Bogdan



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message