Closed errael closed 9 months ago
In RowSetOps
add method updateColumnObject
which updates a RowSet
column with a value. There are actually two versions of this method,
one just simple does rowSet.updateObject()
and lets the jdbc driver
do the conversion.
@bpangburn For RowSetOps
, AFAICT, this is good for review. Includes fixes
TIMESTAMP
TIME
was added
@prasanthreddy-git @bpangburn
About using JDBCType Enum
Goals/issues
JDBCTypes
between grid andRowSetOps
.RowSetOps
works only with strings. (I think)JDBC
spec (noticed some non-compliance inRowSetOps
); mostly becauseFLOAT
isDouble
,REAL
isFloat
.In
SSTableModel
there are several places where's there's a TODO comment about usingJDBCType
. I think those comments were already there from way back, before this Grid PR.This PR changes a simple case:
getColumnClass
modified usingRowSetOps
methods.findJavaTypeClass()
handles more types that Grid was using, and some are handled differently:Take a look, if it makes sense, other places can be modified to match. I'm unclear about the type mapping and/or how it interacts with the Grid. An additional issue, in
SSDataGrid
there working on an object and casting it to a specific type; that's currently not inRowSetOps
. InRowSetOps
it's mostly working with a string. Maybe working with objects needs to be put intoRowSetOps
.