key « Schema « JPA Q&A





1. Bi-Directional Many-to-Many Schema missing Foregin Key    forum.hibernate.org

Newbie Joined: Fri Oct 31, 2003 3:14 pm Posts: 12 Location: New York, NY Hibernate version: 2.1.6 I'm mapping a Bi-directional Many-To-Many and have Hibernate generate the tables via schema update. I'm a bit confused though. Hibernate is only creating one foreign key reference on the table that's used to map the relationship. Here are the mappings slimmed down the important ...

2. How do i prevent schema export placing contraints on F Keys?    forum.hibernate.org

Need help with Hibernate? Read this first: http://www.hibernate.org/ForumMailingli ... AskForHelp Hibernate version: Hibernate 3.2.2 Name and version of the database you are using: MySQL 4.1.22 The generated SQL (show_sql=true): Hibernate: select contact0_.id as id1_0_, contact0_.number as number1_0_, contact0_.email as email1_0_, contact0_.website as website1_0_ from CMS_Contact contact0_ where contact0_.id=? Hibernate: delete from CMS_ContentItem_Company where id=? Hibernate: delete from CMS_ContentItem_Classification where id=? Hibernate: ...