derby « HBM « JPA Q&A

1. constraint problems using apache derby and hbm2ddl

We are using Apache Derby and hbm2ddl with Hibernate 3.3.x I get the following constraints error while pre-loading the SQL on an embedded derby database. If I remove the primary key(id) ...

2. hibernate hbm2ddl boolean column typeCastException in dbunit

I use an in memory Derby database with Hibernate to create the tables. My tests use dbunit to prepare the database with test data.

Hibernate seems to create a smallint column type ...

3. Schema is not dropped on = create.drop

I am using set to create in the hibernate configuration file and using it to connect to the derby database in network mode (not embedded, don't know if that is ...