Upgraded source/target version of Java from 1.6 to 1.8
[hibernate4-maven-plugin] / src / it / tutorials / schema-osgi-unmanaged-native.sql
index 3716535..d89e280 100644 (file)
@@ -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;