| java.lang.Object com.versant.core.jdbc.sql.conv.JdbcConverterBase com.versant.core.jdbc.sql.conv.LocaleConverter
LocaleConverter | public class LocaleConverter extends JdbcConverterBase (Code) | | This converter converts Locale objects to and from SQL. It assumes that
the Locale is stored in a column compatible with ResultSet.getString and
PreparedStatement.setString. The Locale is stored as a 4 or 6 character
String (lang + country [+ variant]).
|
get | public Object get(ResultSet rs, int index, JdbcColumn col) throws SQLException, JDOFatalDataStoreException(Code) | | Get the value of col from rs at position index.
exception: SQLException - on SQL errors exception: JDOFatalDataStoreException - if the ResultSet value is invalid |
getValueType | public Class getValueType()(Code) | | Get the type of our expected value objects (e.g. java.util.Locale
for a converter for Locale's).
|
Methods inherited from com.versant.core.jdbc.sql.conv.JdbcConverterBase | abstract public Object get(ResultSet rs, int index, JdbcColumn col) throws SQLException, JDOFatalDataStoreException(Code)(Java Doc) public String getOracleStyleLOBNotNullString()(Code)(Java Doc) abstract public Class getValueType()(Code)(Java Doc) public boolean isOracleStyleLOB()(Code)(Java Doc) abstract public void set(PreparedStatement ps, int index, JdbcColumn col, Object value) throws SQLException, JDOFatalDataStoreException(Code)(Java Doc) public void set(PreparedStatement ps, int index, JdbcColumn col, int value) throws SQLException, JDOFatalDataStoreException(Code)(Java Doc) public void set(ResultSet rs, int index, JdbcColumn col, Object value) throws SQLException, JDOFatalDataStoreException(Code)(Java Doc)
|
|
|