public class TableUtils extends Object
Constructor and Description |
---|
TableUtils() |
Modifier and Type | Method and Description |
---|---|
static BMap<?,?> |
createTableOperationError(Context context,
Throwable throwable)
Creates an instance of
{@link BStruct} of the type error. |
static String |
generateDeleteDataStatment(String tableName,
BMap<?,?> constrainedType) |
static String |
generateInsertDataStatment(String tableName,
BMap<?,?> constrainedType) |
static void |
prepareAndExecuteStatement(PreparedStatement stmt,
BMap<String,BValue> constrainedType) |
public static String generateInsertDataStatment(String tableName, BMap<?,?> constrainedType)
public static String generateDeleteDataStatment(String tableName, BMap<?,?> constrainedType)
public static void prepareAndExecuteStatement(PreparedStatement stmt, BMap<String,BValue> constrainedType)
Copyright © 2018 WSO2. All rights reserved.