core-jgi/db/ddlutils
Carlos Ruiz d17ba65308 Synchronize oracle and postgresql database seeds
Found differences in
* c_invoice_v view
* one pkey wrongly defined in postgresql
* order of columns in some primary keys (harmless but sync to ease future comparison works)
For data I took postgresql as correct seed and updated oracle data
* lots of created/createdby/updated/updatedby synchronized - harmless but sync to ease future comparison works
* some other data was different - to review check all the updates not related to updated* or created* columns
2009-09-15 00:22:45 +00:00
..
data FR: [ 2392587 ] Serbian on external dialogs 2008-12-05 14:53:57 +00:00
model Speed up financial reports 2008-07-15 08:47:46 +00:00
oracle Synchronize oracle and postgresql database seeds 2009-09-15 00:22:45 +00:00
postgresql FR [2851987] - Add company logo 2009-09-14 17:24:26 +00:00
sequences * Feature Request [ 1614535 ] 2006-12-17 15:41:06 +00:00
readme.txt * split data and model by table 2006-12-28 09:57:50 +00:00

readme.txt

XML File
* model/*.xml
- Adempiere database schema
* data/*.xml
- Adempiere seed data

Datatype difference between Oracle and PostgreSQL
* ID Field map to Integer in postgreSQL and Number(10) in Oracle.
* Integer field map to Integer in postgreSQL, Number(10) in Oracle
  ( Oracle's Integer datatype map to number(38) which is not standard)
* PostgreSQL have no native support for CLOB and BLOB, BYTEA is use instead.
* Timestamp field map to Timestamp in PostgreSQL, DATE in Oracle.
* String field map to varchar in PostgreSQL, nvarchar2 in Oracle

Issue
* Fyracle script need to be tested by someone with access to the developer kit.
* XML model and data file to be separated by table to ease maintenance.

Note
* Integer instead of BigInt will be use as datatype for ID field to maintain compatibility
with existing schema.
* The script for Oracle create plsql functions instead of sqlj functions to support Oracle XE. 
* The script is not compatible with the original ddlutils library.