Discussion:
[Middlegen-user] pb rescursive relation 1-N
r***@fr.thalesgroup.com
2002-03-15 18:11:59 UTC
Permalink
I'm using mysql 3.23.49-max (with InnoDB enabled for fk/relations). I Use
mysqld-max to start the database.
My Driver is mm.mysql 2.0.9.
I have create one table with a recursive relation.
CREATE TABLE table1(
table1_id INT NOT NULL,
name VARCHAR(100) NOT NULL,
table1_id_fk INT NOT NULL,
PRIMARY KEY( table1_id ),
INDEX person_ind(table1_id_fk),
FOREIGN KEY (table1_id_fk) REFERENCES table1(table1_id)
) TYPE=INNODB;
When I try middlegen on this table, I see (mode gui='yes') the relation in
the GUI but if I generate EJB Entities for Jboss, I have not
<ejb-relationship> tag in my ejb-jar.xml generated
Is it normal ?
Richard.

Loading...