Joe*_*Joe 1 hibernate jpa derby hbm2ddl
我们在Hibernate 3.3.x中使用Apache Derby 10.5.3.0_1和hbm2ddl
在嵌入式derby数据库上预加载SQL时出现以下约束错误.如果我从create table sql中删除主键(id),它就能够创建表.不知道这里有什么问题.
create table user_flow (id integer not null generated always as identity unique, creation_date timestamp not null, name varchar(255), primary key (id));
[INFO] Constraints 'SQL100219175052781' and 'SQL100219175052780' have the same set of columns, which is not allowed.
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
2822 次 |
| 最近记录: |