* Handle java.sql.Types.BOOLEAN. Fixes bug 529,
This commit is contained in:
parent
460ace26be
commit
f3ddd892de
1 changed files with 4 additions and 3 deletions
|
@ -9,9 +9,9 @@
|
||||||
* Copyright 1998-2006 Helma Software. All Rights Reserved.
|
* Copyright 1998-2006 Helma Software. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* $RCSfile: Database.js,v $
|
* $RCSfile: Database.js,v $
|
||||||
* $Author: hannes $
|
* $Author: michi $
|
||||||
* $Revision: 1.5 $
|
* $Revision: 1.6 $
|
||||||
* $Date: 2007/02/08 21:01:56 $
|
* $Date: 2007/06/05 13:20:28 $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -122,6 +122,7 @@ helma.Database = function(source) {
|
||||||
for (var i=1; i<=max; i+=1) {
|
for (var i=1; i<=max; i+=1) {
|
||||||
switch (types[i]) {
|
switch (types[i]) {
|
||||||
case Types.BIT:
|
case Types.BIT:
|
||||||
|
case Types.BOOLEAN:
|
||||||
row[metaData.getColumnLabel(i)] = resultSet.getBoolean(i);
|
row[metaData.getColumnLabel(i)] = resultSet.getBoolean(i);
|
||||||
break;
|
break;
|
||||||
case Types.TINYINT:
|
case Types.TINYINT:
|
||||||
|
|
Loading…
Add table
Reference in a new issue