core-jgi/db/ddlutils
kontro 18226dcc30 Feature request: [ 1614574 ] Port sqlj functions to pl/pgsql
Contribution made by Gavin Dunse.
To be tested.
2007-02-02 18:38:47 +00:00
..
data * [ 1649484 ] Error in PostgreSQL seed Number is map AS Numeric(22) 2007-02-01 16:33:28 +00:00
fyracle
model * [ 1649484 ] Error in PostgreSQL seed Number is map AS Numeric(22) 2007-02-01 16:50:31 +00:00
oracle Integrate bug id 1648484 - currencyConvert plsql function throw exception 2007-01-31 06:13:41 +00:00
postgresql Feature request: [ 1614574 ] Port sqlj functions to pl/pgsql 2007-02-02 18:38:47 +00:00
sequences
views * resolve postgresql create view warning 2007-01-26 09:31:43 +00:00
adempiere-data.xml
readme.txt

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.