public class JdbcUtil extends Object
Constructor and Description |
---|
JdbcUtil() |
Modifier and Type | Method and Description |
---|---|
static org.infinispan.commons.io.ByteBuffer |
marshall(org.infinispan.commons.marshall.StreamingMarshaller marshaller,
Object obj) |
static void |
safeClose(Connection connection) |
static void |
safeClose(ResultSet rs) |
static void |
safeClose(Statement ps) |
static <T> T |
unmarshall(org.infinispan.commons.marshall.StreamingMarshaller marshaller,
InputStream inputStream) |
public static void safeClose(Statement ps)
public static void safeClose(Connection connection)
public static void safeClose(ResultSet rs)
public static org.infinispan.commons.io.ByteBuffer marshall(org.infinispan.commons.marshall.StreamingMarshaller marshaller, Object obj) throws org.infinispan.persistence.spi.PersistenceException, InterruptedException
org.infinispan.persistence.spi.PersistenceException
InterruptedException
public static <T> T unmarshall(org.infinispan.commons.marshall.StreamingMarshaller marshaller, InputStream inputStream) throws org.infinispan.persistence.spi.PersistenceException
org.infinispan.persistence.spi.PersistenceException
Copyright © 2017 JBoss, a division of Red Hat. All rights reserved.