public class JdbcUtil extends Object
Constructor and Description |
---|
JdbcUtil() |
Modifier and Type | Method and Description |
---|---|
static ByteBuffer |
marshall(StreamingMarshaller marshaller,
Object bucket) |
static void |
safeClose(Connection connection) |
static void |
safeClose(ResultSet rs) |
static void |
safeClose(Statement ps) |
static Object |
unmarshall(StreamingMarshaller marshaller,
InputStream inputStream) |
public static void safeClose(Statement ps)
public static void safeClose(Connection connection)
public static void safeClose(ResultSet rs)
public static ByteBuffer marshall(StreamingMarshaller marshaller, Object bucket) throws CacheLoaderException, InterruptedException
public static Object unmarshall(StreamingMarshaller marshaller, InputStream inputStream) throws CacheLoaderException
CacheLoaderException
Copyright © 2017 JBoss, a division of Red Hat. All Rights Reserved.