From 2b63e4e3558e2766a75f002bf421f81cc48fd632 Mon Sep 17 00:00:00 2001 From: "ctrlaltca@gmail.com" <> Date: Sat, 19 Nov 2011 16:58:40 +0000 Subject: fixed #354 --- framework/Data/Common/Oracle/TOracleMetaData.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/Data/Common/Oracle') diff --git a/framework/Data/Common/Oracle/TOracleMetaData.php b/framework/Data/Common/Oracle/TOracleMetaData.php index 0edf3afd..3e7dee3c 100644 --- a/framework/Data/Common/Oracle/TOracleMetaData.php +++ b/framework/Data/Common/Oracle/TOracleMetaData.php @@ -85,7 +85,7 @@ class TOracleMetaData extends TDbMetaData LOWER(a.COLUMN_NAME) as attname, a.DATA_TYPE || DECODE( a.DATA_TYPE, 'NUMBER', '('||a.DATA_PRECISION||','||DATA_SCALE||')' , '') as type, a.DATA_LENGTH as atttypmod, - DECODE(a.NULLABLE, 'Y', '1', '0') as attnotnull, + DECODE(a.NULLABLE, 'Y', '0', '1') as attnotnull, DECODE(a.DEFAULT_LENGTH, NULL, '0', '1') as atthasdef, DATA_DEFAULT as adsrc, '0' AS attisserial -- cgit v1.2.3