com.mysema.query.sql
Class Configuration
java.lang.Object
com.mysema.query.sql.Configuration
public class Configuration
- extends java.lang.Object
- Author:
- tiwe
Method Summary |
|
get(java.sql.ResultSet rs,
int i,
java.lang.Class<T> clazz)
|
SQLTemplates |
getTemplates()
|
void |
register(Type<?> type)
|
|
set(java.sql.PreparedStatement stmt,
int i,
T value)
|
void |
setParameters(java.sql.PreparedStatement stmt,
java.util.Collection<?> objects,
java.util.Map<Param<?>,?> params)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Configuration
public Configuration(SQLTemplates templates)
getTemplates
public SQLTemplates getTemplates()
register
public void register(Type<?> type)
get
@Nullable
public <T> T get(java.sql.ResultSet rs,
int i,
java.lang.Class<T> clazz)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
set
public <T> int set(java.sql.PreparedStatement stmt,
int i,
T value)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
setParameters
public void setParameters(java.sql.PreparedStatement stmt,
java.util.Collection<?> objects,
java.util.Map<Param<?>,?> params)
Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.