X-Git-Url: https://juplo.de/gitweb/?p=hibernate4-maven-plugin;a=blobdiff_plain;f=src%2Fit%2Ftutorials%2Fschema-osgi-unmanaged-native.sql;h=9f02ba42df263ccbc3719fb2b94dc111560a65ab;hp=37165353765dc85b3cb963946a99ad73e1efce2c;hb=4940080670944a15916c68fb294e18a6bfef12d5;hpb=fdda82a6f76deefd10f83da89d7e82054e3c3ecd diff --git a/src/it/tutorials/schema-osgi-unmanaged-native.sql b/src/it/tutorials/schema-osgi-unmanaged-native.sql index 37165353..9f02ba42 100644 --- a/src/it/tutorials/schema-osgi-unmanaged-native.sql +++ b/src/it/tutorials/schema-osgi-unmanaged-native.sql @@ -1,12 +1,8 @@ - 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 +22,6 @@ ); alter table DataPoint_AUD - add constraint FK_7pdslro8w1n74eqwmorrn0hnb + add constraint FK43jw6b5mtbfxur0xhyjxynbea foreign key (REV) references REVINFO;