|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.continuent.tungsten.replicator.database.DatabaseHelper
public class DatabaseHelper
Implements helper methods for database operations.
| Constructor Summary | |
|---|---|
DatabaseHelper()
|
|
| Method Summary | |
|---|---|
static SerialBlob |
getSafeBlob(byte[] bytes)
Create a serializable blob from a byte array. |
static SerialBlob |
getSafeBlob(byte[] bytes,
int off,
int len)
Create a serializable blob from a byte array. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DatabaseHelper()
| Method Detail |
|---|
public static SerialBlob getSafeBlob(byte[] bytes)
throws java.sql.SQLException
bytes - Array from which to read
java.sql.SQLException - Thrown if the safe blob cannot be instantiated.
public static SerialBlob getSafeBlob(byte[] bytes,
int off,
int len)
throws java.sql.SQLException
bytes - Array from which to readoff - Offset into the arraylen - Length to read from offset
java.sql.SQLException - Thrown if the safe blob cannot be instantiated.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||