projects
/
hibernate4-maven-plugin
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
WIP
[hibernate4-maven-plugin]
/
src
/
it
/
tutorials
/
schema-osgi-unmanaged-native.sql
diff --git
a/src/it/tutorials/schema-osgi-unmanaged-native.sql
b/src/it/tutorials/schema-osgi-unmanaged-native.sql
index
3716535
..
d89e280
100644
(file)
--- 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 (
create table DataPoint (
- id bigint
generated by default as identity
,
+ id bigint
not null
,
name varchar(255),
primary key (id)
);
name varchar(255),
primary key (id)
);
@@
-26,6
+21,6
@@
);
alter table DataPoint_AUD
);
alter table DataPoint_AUD
- add constraint FK
_7pdslro8w1n74eqwmorrn0hnb
+ add constraint FK
43jw6b5mtbfxur0xhyjxynbea
foreign key (REV)
references REVINFO;
foreign key (REV)
references REVINFO;