Considering mapping-configuration from persistence.xml and hibernate.cfg.xml
[hibernate4-maven-plugin] / src / it / tutorials / schema-osgi-unmanaged-jpa.sql
index ef98219..e79470a 100644 (file)
@@ -1,6 +1,8 @@
 
+    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)
     );