com.mysema.query.sql
Class Configuration

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

public class Configuration
extends Object

Configuration for SQLQuery instances

Author:
tiwe

Constructor Summary
Configuration(SQLTemplates templates)
           
 
Method Summary
<T> T
get(ResultSet rs, int i, Class<T> clazz)
           
 SQLTemplates getTemplates()
           
 void register(Type<?> type)
           
<T> int
set(PreparedStatement stmt, int i, T value)
           
 
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(ResultSet rs,
                          int i,
                          Class<T> clazz)
      throws SQLException
Throws:
SQLException

set

public <T> int set(PreparedStatement stmt,
                   int i,
                   T value)
        throws SQLException
Throws:
SQLException


Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.