Jaehoon Lee I assume you run the tests against a pre-existing schema? If Hibernate exports the schema, it will (properly) create a unique constraint for the @OneToOne used on UserDetail#user. Many of the tests fail because they try to create multiple UserDetail rows for the same user. |