core-jgi/db/ddlutils
tspc eb462af86c Merge bug fixes from release to trunk
merge 12158, 12159

Revision: 12158
http://adempiere.svn.sourceforge.net/adempiere/?rev=12158&view=rev
Fix [2819386] PaymentTerm DueDate Bug - thanks to Armen
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2819386

Revision: 12159
http://adempiere.svn.sourceforge.net/adempiere/?rev=12159&view=rev
Fix [2793048] trunc function different on db/ddlutils and seed
Synchronize ddlutils version with current versions in DB
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2793048

Regards,
Tony
2010-04-27 23:30:29 +00:00
..
data
model
oracle
postgresql
sequences
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.