public class JdbcUtil extends Object
Constructor and Description |
---|
JdbcUtil() |
Modifier and Type | Method and Description |
---|---|
static ByteBuffer |
marshall(StreamingMarshaller marshaller,
Object obj) |
static void |
safeClose(Connection connection) |
static void |
safeClose(ResultSet rs) |
static void |
safeClose(Statement ps) |
static <T> T |
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 obj) throws PersistenceException, InterruptedException
public static <T> T unmarshall(StreamingMarshaller marshaller, InputStream inputStream) throws PersistenceException
PersistenceException
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.