public class TableUtils extends Object
| Constructor and Description |
|---|
TableUtils() |
| Modifier and Type | Method and Description |
|---|---|
static BStruct |
createTableOperationError(Context context,
Throwable throwable)
Creates an instance of
{@link BStruct} of the type TableOperationError. |
static String |
generateDeleteDataStatment(String tableName,
BStruct constrainedType) |
static String |
generateInsertDataStatment(String tableName,
BStruct constrainedType) |
static void |
prepareAndExecuteStatement(PreparedStatement stmt,
BStruct constrainedType) |
public static String generateInsertDataStatment(String tableName, BStruct constrainedType)
public static String generateDeleteDataStatment(String tableName, BStruct constrainedType)
public static void prepareAndExecuteStatement(PreparedStatement stmt, BStruct constrainedType)
public static BStruct createTableOperationError(Context context, Throwable throwable)
{@link BStruct} of the type TableOperationError.context - The contextthrowable - The Throwable object to be used{@link BStruct} of the type TableOperationErrorCopyright © 2018 WSO2. All rights reserved.