Hi, I have a question about the use of CascadeTypes.
I am using jboss-4.0.4-GA with MySQL 4.0.15 (INNODB). I have annotated a getter like this: | @OneToMany(fetch = FetchType.EAGER, cascade=CascadeType.ALL) | In the generated table I expect to get a foreign key with ON DELETE CASCADE, and ON UPDATE CASCADE. But if I check the created table a foreign key is created but without any CASCADES. Do I use the annotation wrong? Bye Claus View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968061#3968061 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968061 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
