core-jgi/db/ddlutils
Carlos Ruiz e9338353c8
IDEMPIERE-4426 Fix add_months and adddays functions (#220)
Fix add_months function in postgresql to make it consistent with its oracle version
Fix adddays function to behave consistent as the add_months in both oracle and postgresql
Fix adddays in postgresql to add managing fractional days (same as oracle does), so it can add hours, minutes, seconds
Fix subtractdays performance making it immutable
2020-08-21 13:08:07 +02:00
..
data IDEMPIERE-1599 Correct naming for acct wildcard dimensions 2014-02-26 12:32:55 +08:00
model IDEMPIERE-215 Costing: Drop M_Product_Costing. 2012-04-04 18:33:37 +08:00
oracle IDEMPIERE-4426 Fix add_months and adddays functions (#220) 2020-08-21 13:08:07 +02:00
postgresql IDEMPIERE-4426 Fix add_months and adddays functions (#220) 2020-08-21 13:08:07 +02: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.