Hi,

I've been playing with (seam-)gen the last few days and today I decided to 
upgrade to Seam 1.1 GA. I was very impressed by its capabilities, however with 
the last release I run into an stackoverflow error doing seam generate-entites 
which didn't occur on the CR2 release. The tables I refer to are self 
referential (child parent) and leaving out the reference to itself solves the 
problem but that's not realy an option for me now.


  | create table if not exists subject (
  | subjectid INTEGER NOT NULL AUTO_INCREMENT
  | , info varchar(150)
  | , firstname varchar(50)
  | , lastname varchar(50) NOT NULL
  | , email varchar(70)
  | , PRIMARY KEY (subjectid)
  | ) TYPE = InnoDB;
  | 
  | create table if not exists role (
  | roleid INTEGER NOT NULL AUTO_INCREMENT
  | , info varchar(150)
  | , parentid INTEGER
  | , name varchar(50) NOT NULL
  | , PRIMARY KEY (roleid)
  | , INDEX parent_ind (parentid)
  | , FOREIGN KEY (parentid) references role (roleid)
  | ) TYPE=InnoDB;
  | 
  | 
Database is mysql 5.0, jdk: build 1.5.0_04-b05, os winxp sp2.
Can anybody point me to a solution or is this a bug?
thanks in advance.

Jeroen.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994490#3994490

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994490
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to