Hello!
I am using Hibernate Annotations and the org.hibernate.tool.ant.HibernateToolTask to automatically build my mysql create script.
However, I encountered problems when putting restrictions on my foreign keys. It seems that it doesn't matter what I put as CascadeType on my @OneToOne relationship, the script generated is always the same in mysql: On Update: restrict, On Refresh: Restrict.
Is this a bug or am I doing something wrong?
//John
Hibernate version:
3.2.3.ga
Name and version of the database you are using:
MySQL 5.0 InnoDB
|