org.talend.esb.sam.server.ui
Class JsonRowMapper
java.lang.Object
org.talend.esb.sam.server.ui.JsonRowMapper
- All Implemented Interfaces:
- org.springframework.jdbc.core.RowMapper<com.google.gson.JsonObject>
public class JsonRowMapper
- extends Object
- implements org.springframework.jdbc.core.RowMapper<com.google.gson.JsonObject>
Intelligent mapper that tries to read all fields
from ResultSet
- Author:
- zubairov
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JsonRowMapper
public JsonRowMapper()
mapRow
public com.google.gson.JsonObject mapRow(ResultSet rs,
int rowNum)
throws SQLException
- Specified by:
mapRow in interface org.springframework.jdbc.core.RowMapper<com.google.gson.JsonObject>
- Throws:
SQLException
Copyright © 2011-2012 Talend Inc.. All Rights Reserved.