It doesn’t matters Mr. Raible ;-) I have started doing the work: 1. CREATE TABLE localidades( id int NOT NULL AUTO_INCREMENT , nombre varchar( 100 ) NOT NULL , fk_provincia int NOT NULL , PRIMARY KEY ( id ) , INDEX fk_provincia_ind( fk_provincia ) , FOREIGN KEY ( fk_provincia ) REFERENCES provincias( id ) ON DELETE RESTRICT ) TYPE = innodb;
OK!! 2. appfuse:gen-model -Dentity=localidades fails!! I’ am wondering myself If I have to delete the work done for provincias before doing localidades work. When all cleaned, then launch first appfuse:gen-model -Dentity=localidades and then appfuse:gen-model -Dentity=provincias (I tell you this as a curiosity, because now I’m involved in other things...) Thank you anyway! -- View this message in context: http://appfuse.547863.n4.nabble.com/Incorporate-a-search-region-handling-tables-with-foreign-keys-tp2714244p2902090.html Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net For additional commands, e-mail: users-h...@appfuse.dev.java.net