core-jgi/db/ddlutils
Heng Sin Low b0e6e1552a * Implement trunc in pl/pgsql
* Implement additional functions that is using the plsql version even when running on oracle sqlj
* Modified timestamp manipulation function to return date to align with the oracle convention
2007-01-26 09:54:54 +00:00
..
data * Fixed process that still point to oracle store procedure 2007-01-21 23:39:00 +00:00
fyracle * split model by table 2006-12-28 09:27:55 +00:00
model * drop use of integer datatype for postgresql 2007-01-23 16:59:13 +00:00
oracle * Sync with 3.1.3 2006-12-31 08:33:37 +00:00
postgresql * Implement trunc in pl/pgsql 2007-01-26 09:54:54 +00:00
sequences * Feature Request [ 1614535 ] 2006-12-17 15:41:06 +00:00
views * resolve postgresql create view warning 2007-01-26 09:31:43 +00:00
adempiere-data.xml new adempiere data 2007-01-13 22:46:26 +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.