summaryrefslogtreecommitdiff
path: root/framework/Data/Common/Oracle
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2011-11-19 16:58:40 +0000
committerctrlaltca@gmail.com <>2011-11-19 16:58:40 +0000
commit2b63e4e3558e2766a75f002bf421f81cc48fd632 (patch)
tree669213a270a3c52755ac9f4ec3857918de36d713 /framework/Data/Common/Oracle
parent6fa35ef1af363599a615aa66cb14e12ac905fc08 (diff)
fixed #354
Diffstat (limited to 'framework/Data/Common/Oracle')
-rw-r--r--framework/Data/Common/Oracle/TOracleMetaData.php2
1 files changed, 1 insertions, 1 deletions
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