org.mentawai.db
Class JdbcContext

java.lang.Object
  extended by org.mentawai.db.JdbcContext

public class JdbcContext
extends Object


Field Summary
static String CONN_KEY
           
static String TRANSACTION_KEY
           
 
Constructor Summary
JdbcContext()
           
 
Method Summary
static
<T> Object
exec(Class<T> klass, JdbcTemplate<T> template)
           
static
<T> Object
exec(org.mentacontainer.Container container, Class<T> klass, JdbcTemplate<T> template)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONN_KEY

public static String CONN_KEY

TRANSACTION_KEY

public static String TRANSACTION_KEY
Constructor Detail

JdbcContext

public JdbcContext()
Method Detail

exec

public static <T> Object exec(Class<T> klass,
                              JdbcTemplate<T> template)

exec

public static <T> Object exec(org.mentacontainer.Container container,
                              Class<T> klass,
                              JdbcTemplate<T> template)


Copyright © 2013. All Rights Reserved.