Swap out DefaultObjectResultSetMapper with NewDefaultObjectResultSetMapper in JdbcControlImpl
This commit is contained in:
parent
2d9c00e8db
commit
05a2ddfe79
@ -72,7 +72,7 @@ public class JdbcControlImpl implements JdbcControl, Extensible, java.io.Seriali
|
|||||||
|
|
||||||
private static final String EMPTY_STRING = "";
|
private static final String EMPTY_STRING = "";
|
||||||
private static final Log LOGGER = LogFactory.getLog(JdbcControlImpl.class);
|
private static final Log LOGGER = LogFactory.getLog(JdbcControlImpl.class);
|
||||||
private static final ResultSetMapper DEFAULT_MAPPER = new DefaultObjectResultSetMapper();
|
private static final ResultSetMapper DEFAULT_MAPPER = new NewDefaultObjectResultSetMapper();
|
||||||
private static final SqlParser _sqlParser = new SqlParser();
|
private static final SqlParser _sqlParser = new SqlParser();
|
||||||
|
|
||||||
protected static final HashMap<Class, ResultSetMapper> _resultMappers = new HashMap<Class, ResultSetMapper>();
|
protected static final HashMap<Class, ResultSetMapper> _resultMappers = new HashMap<Class, ResultSetMapper>();
|
||||||
@ -83,7 +83,6 @@ public class JdbcControlImpl implements JdbcControl, Extensible, java.io.Seriali
|
|||||||
//
|
//
|
||||||
static {
|
static {
|
||||||
_resultMappers.put(ResultSet.class, new DefaultResultSetMapper());
|
_resultMappers.put(ResultSet.class, new DefaultResultSetMapper());
|
||||||
_resultMappers.put(Iterator.class, new DefaultIteratorResultSetMapper());
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
_xmlObjectClass = Class.forName("org.apache.xmlbeans.XmlObject");
|
_xmlObjectClass = Class.forName("org.apache.xmlbeans.XmlObject");
|
||||||
|
Loading…
Reference in New Issue
Block a user