org.infinispan.loaders.jdbc
Class JdbcUtil
java.lang.Object
org.infinispan.loaders.jdbc.JdbcUtil
public class JdbcUtil
- extends Object
Contains common methods used by JDBC CacheStores.
- Author:
- Mircea.Markus@jboss.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JdbcUtil
public JdbcUtil()
safeClose
public static void safeClose(Statement ps)
safeClose
public static void safeClose(Connection connection)
safeClose
public static void safeClose(ResultSet rs)
marshall
public static ByteBuffer marshall(StreamingMarshaller marshaller,
Object bucket)
throws CacheLoaderException
- Throws:
CacheLoaderException
unmarshall
public static Object unmarshall(StreamingMarshaller marshaller,
InputStream inputStream)
throws CacheLoaderException
- Throws:
CacheLoaderException
Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.