com.mysema.query.sql
Class Configuration
java.lang.Object
com.mysema.query.sql.Configuration
public class Configuration
- extends Object
Configuration for SQLQuery instances
- Author:
- tiwe
Method Summary |
|
get(ResultSet rs,
Path<?> path,
int i,
Class<T> clazz)
|
Class<?> |
getJavaType(int sqlType,
String tableName,
String columnName)
|
SQLTemplates |
getTemplates()
|
void |
register(Type<?> type)
|
|
set(PreparedStatement stmt,
Path<?> path,
int i,
T value)
|
void |
setType(int sqlType,
Class<?> javaType)
|
void |
setType(String table,
String column,
Type<?> type)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT
public static final Configuration DEFAULT
Configuration
public Configuration(SQLTemplates templates)
getTemplates
public SQLTemplates getTemplates()
getJavaType
public Class<?> getJavaType(int sqlType,
String tableName,
String columnName)
get
@Nullable
public <T> T get(ResultSet rs,
@Nullable
Path<?> path,
int i,
Class<T> clazz)
throws SQLException
- Throws:
SQLException
set
public <T> int set(PreparedStatement stmt,
Path<?> path,
int i,
T value)
throws SQLException
- Throws:
SQLException
register
public void register(Type<?> type)
setType
public void setType(int sqlType,
Class<?> javaType)
setType
public void setType(String table,
String column,
Type<?> type)
Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.