• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Disabling FK and Not Null Constraints In Hibernate

 
Darryl A. J. Staflund
Ranch Hand
Posts: 314
2
Android Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

Is there a way of telling Hibernate to disable the generation of FK and Not Null constraints when auto-creating a table from annotation-based domain objects? I am hopping to have Hibernate disable them automatically in order to facilitate integration testing on our end, but can't seem to find a way of doing this.

All help is appreciated.

Thanks,
Darryl
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic