public class GenericDBHelper extends DBHelper
comparableTypes, DBType, dbUrl, inputParameterList, likeableTypes, SPMetaInfo, statement| Constructor and Description |
|---|
GenericDBHelper(String connectionString) |
| Modifier and Type | Method and Description |
|---|---|
int |
delete(String tableName,
Collection<NameValuePair> params) |
int |
delete(String tableName,
org.json.JSONObject jsonQuery) |
int |
delete(String tableName,
NameValuePair... params) |
Object |
insert(String tableName,
Collection<NameValuePair> params) |
Object |
insert(String tableName,
NameValuePair... params) |
String |
selectToJson(String tableName,
org.json.JSONObject jsonQuery) |
String |
selectToJson(String tableName,
List<String> queryColumnList,
Collection<NameValuePair> params) |
String |
selectToJson(String tableName,
List<String> queryColumnList,
NameValuePair... params) |
String |
selectToXml(String tableName,
org.json.JSONObject jsonQuery) |
String |
selectToXml(String tableName,
List<String> queryColumnList,
Collection<NameValuePair> params) |
String |
selectToXml(String tableName,
List<String> queryColumnList,
NameValuePair... params) |
int |
update(String tableName,
Collection<NameValuePair> params) |
int |
update(String tableName,
org.json.JSONObject jsonQuery) |
int |
update(String tableName,
NameValuePair... params) |
addOutParameter, addParameter, close, executeSP, executeSP, executeSQL, executeSQL, executeSQL, executeToJson, executeToXml, findAllTableInfo, findClassFieldInfo, findResultsColumnInfo, findSPInfo, findSPMetaInfo, findTableInfo, findTableInfo, findTSQLInfo, findTSQLParameters, findTypeInfo, findTypeInfo, getConnection, getCurrentConnection, getOutputParameterList, getTableColumnList, getUniqueSqlParameterName, insert, printResult, ReadOutputParameterList, sqlTypeNameToType, toSQLArray, toSQLStructpublic GenericDBHelper(String connectionString) throws IOException, SQLException, ClassNotFoundException, NamingException
public int update(String tableName, org.json.JSONObject jsonQuery) throws Exception
Exceptionpublic int update(String tableName, Collection<NameValuePair> params) throws Exception
Exceptionpublic int update(String tableName, NameValuePair... params) throws Exception
Exceptionpublic int delete(String tableName, Collection<NameValuePair> params) throws Exception
Exceptionpublic int delete(String tableName, NameValuePair... params) throws Exception
Exceptionpublic int delete(String tableName, org.json.JSONObject jsonQuery) throws Exception
Exceptionpublic String selectToXml(String tableName, List<String> queryColumnList, Collection<NameValuePair> params) throws Exception
Exceptionpublic String selectToXml(String tableName, List<String> queryColumnList, NameValuePair... params) throws Exception
Exceptionpublic String selectToXml(String tableName, org.json.JSONObject jsonQuery) throws Exception
Exceptionpublic String selectToJson(String tableName, List<String> queryColumnList, Collection<NameValuePair> params) throws Exception
Exceptionpublic String selectToJson(String tableName, List<String> queryColumnList, NameValuePair... params) throws Exception
Exceptionpublic String selectToJson(String tableName, org.json.JSONObject jsonQuery) throws Exception
Exceptionpublic Object insert(String tableName, Collection<NameValuePair> params) throws Exception
Exceptionpublic Object insert(String tableName, NameValuePair... params) throws Exception
ExceptionCopyright © 2016. All rights reserved.