summaryrefslogtreecommitdiff
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
parent6fa35ef1af363599a615aa66cb14e12ac905fc08 (diff)
fixed #354
-rw-r--r--HISTORY1
-rw-r--r--framework/Data/Common/Oracle/TOracleMetaData.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index cf46b590..302f3195 100644
--- a/HISTORY
+++ b/HISTORY
@@ -37,6 +37,7 @@ BUG: Issue #346 - TJavaScript, TJSON documentation missing/misbehaving (ctrlaltc
BUG: Issue #348 - Scripts for dynamically created controls not registered properly in/after a callback (Gabor)
BUG: Issue #351 - THtmlArea prone to double-registration, doesn't deregister properly (Gabor)
BUG: Issue #353 - Accordion control behaves oddly if clicked too fast (Gabor)
+BUG: Issue #354 - Oracle MetaData : Nullable/Not Nullable columns inverted (ctrlaltca)
ENH: Issue #356 - Added a new "Clickable" operating mode to TDatePicker (ctrlaltca)
BUG: Issue #361 - TActiveListBox multiple selection bug (ctrlaltca)
BUG: Issue #366 - Use divs instead of spans around tables in TActiveDataGrid (ctrlaltca)
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