Configured the 5.1.17-tutorials as integration-tests for the plugin
[hibernate4-maven-plugin] / src / it / schemaexport-example / schema.sql
1 create sequence hibernate_sequence start with 1 increment by 1;
2
3     create table ABTEILUNG (
4         OID bigint not null,
5         gender varchar(255),
6         name varchar(255) not null,
7         primary key (OID)
8     );
9
10     create table Employee (
11         OID bigint not null,
12         name varchar(255) not null,
13         FK_department bigint,
14         primary key (OID)
15     );
16
17     alter table Employee 
18         add constraint FKps0mm7o60mrhle838yeh1u1rh 
19         foreign key (FK_department) 
20         references ABTEILUNG;