X-Git-Url: https://juplo.de/gitweb/?p=hibernate4-maven-plugin;a=blobdiff_plain;f=src%2Fit%2Ftutorials%2Fschema-osgi-unmanaged-native.sql;h=d89e2801edfe55ffe693874cd4af3b9fc844c61f;hp=37165353765dc85b3cb963946a99ad73e1efce2c;hb=9e37fd1049f8a6794396cd7c8879dc413fbcb87c;hpb=94e6b2e93fe107e75c9d20aa1eb3126e78a5ed0a diff --git a/src/it/tutorials/schema-osgi-unmanaged-native.sql b/src/it/tutorials/schema-osgi-unmanaged-native.sql index 37165353..d89e2801 100644 --- a/src/it/tutorials/schema-osgi-unmanaged-native.sql +++ b/src/it/tutorials/schema-osgi-unmanaged-native.sql @@ -1,12 +1,7 @@ - - drop table DataPoint if exists; - - drop table DataPoint_AUD if exists; - - drop table REVINFO if exists; +create sequence hibernate_sequence start with 1 increment by 1; create table DataPoint ( - id bigint generated by default as identity, + id bigint not null, name varchar(255), primary key (id) ); @@ -26,6 +21,6 @@ ); alter table DataPoint_AUD - add constraint FK_7pdslro8w1n74eqwmorrn0hnb + add constraint FK43jw6b5mtbfxur0xhyjxynbea foreign key (REV) references REVINFO;