|
A Jailer model is stored in an extended CSV file format ('Comma Separated
Values')
- the separating character is ';'
- empty lines are ignored
- Lines starting with '#' are comments and will be ignored
- Lines starting with '#include' will be replaced with the
content of the file specified thereafter.
Data Model
For
each table the following information is required:
Example:
Name |
upsert |
primary
keys |
author
|
DEPARTMENT |
Y
|
DEPTNO INTEGER |
IBM DB2 JDBC Driver |
EMPLOYEE |
N |
EMPNO INTEGER |
IBM DB2 JDBC Driver |
SALARYGRADE |
Y
|
GRADE INTEGER;LOSAL INTEGER;HISAL
INTEGER |
IBM DB2 JDBC Driver |
For
each table the following information is required:
Example:
Table A |
Table
B |
first-insert |
cardinality
|
join-condition |
Name |
author |
DEPARTMENT |
EMPLOYEE |
A
|
1:n
|
A.DEPTNO=B.DEPTNO |
|
JDBC
Driver |
EMPLOYEE |
EMPLOYEE |
A |
1:n
|
A.EMPNO=B.BOSS |
SUBORDINATE |
JDBC
Driver |
EMPLOYEE |
SALARYGRADE |
|
n:1
|
A.SALARY BETWEEN B.LOSAL AND
B.HISAL |
|
Wisser
|
|
|