This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 219429
Collapse All | Expand All

(-)db.dataview/src/org/netbeans/modules/db/dataview/table/ResultSetTableModel.java (-1 / +6 lines)
Lines 43-48 Link Here
43
 */
43
 */
44
package org.netbeans.modules.db.dataview.table;
44
package org.netbeans.modules.db.dataview.table;
45
45
46
import java.math.BigDecimal;
46
import java.sql.Blob;
47
import java.sql.Blob;
47
import java.sql.Clob;
48
import java.sql.Clob;
48
import java.sql.Date;
49
import java.sql.Date;
Lines 82-96 Link Here
82
            case -100:
83
            case -100:
83
                return Timestamp.class;
84
                return Timestamp.class;
84
            case Types.BIGINT:
85
            case Types.BIGINT:
86
                return Long.class;
85
            case Types.DOUBLE:
87
            case Types.DOUBLE:
88
                return Double.class;
86
            case Types.FLOAT:
89
            case Types.FLOAT:
87
            case Types.REAL:
90
            case Types.REAL:
91
                return Float.class;
88
            case Types.DECIMAL:
92
            case Types.DECIMAL:
89
            case Types.NUMERIC:
93
            case Types.NUMERIC:
94
                return BigDecimal.class;
90
            case Types.INTEGER:
95
            case Types.INTEGER:
91
            case Types.SMALLINT:
96
            case Types.SMALLINT:
92
            case Types.TINYINT:
97
            case Types.TINYINT:
93
                return Number.class;
98
                return Integer.class;
94
99
95
            case Types.CHAR:
100
            case Types.CHAR:
96
            case Types.VARCHAR:
101
            case Types.VARCHAR:

Return to bug 219429