Hibernate is a persistence layer for SQL databases. Many Derby users have reported both success and failure using it. This Wiki page hopes to bring together everyone's experience – feel free to edit this page.

What Works

What Does NOT Work

When you add a problem to the list below, please be sure to include the Hibernate version.

  • Hibernate Annotations do not work because Derby does not allow a unique column to be nullable. Version: hibernate-3.1beta1 and hibernate-annotations-3.1beta4
  • The 'Create Schema' tool generates "bit" types, which derby does not recognize (Hibernate 3.0.5)
  • The 'Create Schema' tool generates "if exists" when deleting tables, which derby does not recognize (Hibernate 3.0.5)
  • No labels