public class DatabaseUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ERROR_VARIABLE_NAME |
static String |
PRIMARY_KEY_VARIABLE_NAME |
Constructor and Description |
---|
DatabaseUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
escapeSqlChar(String error) |
static void |
update(com.jaeksoft.pojodbc.Transaction transaction,
List<String> pkList,
String error,
DatabaseCrawlSql.SqlUpdateMode sqlUpdateMode,
String sqlUpdate) |
static void |
update(com.jaeksoft.pojodbc.Transaction transaction,
String pk,
String error,
DatabaseCrawlSql.SqlUpdateMode sqlUpdateMode,
String sqlUpdate) |
public static final String PRIMARY_KEY_VARIABLE_NAME
public static final String ERROR_VARIABLE_NAME
public static final void update(com.jaeksoft.pojodbc.Transaction transaction, String pk, String error, DatabaseCrawlSql.SqlUpdateMode sqlUpdateMode, String sqlUpdate) throws SQLException
SQLException
public static final void update(com.jaeksoft.pojodbc.Transaction transaction, List<String> pkList, String error, DatabaseCrawlSql.SqlUpdateMode sqlUpdateMode, String sqlUpdate) throws SQLException
SQLException
Copyright © 2013 Jaeksoft OpenSearchServer. All rights reserved.