com.mysema.query.sql
Class Configuration

java.lang.Object
  extended by com.mysema.query.sql.Configuration

public class Configuration
extends java.lang.Object

Author:
tiwe

Constructor Summary
Configuration(SQLTemplates templates)
           
 
Method Summary
<T> T
get(java.sql.ResultSet rs, int i, java.lang.Class<T> clazz)
           
 SQLTemplates getTemplates()
           
 void register(Type<?> type)
           
<T> int
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
 

Constructor Detail

Configuration

public Configuration(SQLTemplates templates)
Method Detail

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.