We are using two different databases for production (DB2) and testing (MySQL). I have declared my entity as
@Entity @Table(name="BUILDVERSION", schema="DFT", uniqueConstraints=@UniqueConstraint(columnNames={"version", "project_id"})) public class BuildVersion { ... }
Note that we have set hibernate.hbm2ddl.auto to update.
Now the following step produces the error: (we are targeting MySQL now)