public class DBService extends Object
| Constructor and Description |
|---|
DBService() |
| Modifier and Type | Method and Description |
|---|---|
void |
executeUpdate(String query)
Deprecated.
|
org.hibernate.SessionFactory |
getCustomSessionFactory(String dbType,
String url,
String port,
String dbName,
String userName,
String password)
Deprecated.
|
List<Map<String,Object>> |
getDataFromTable(String tableName)
Deprecated.
|
org.hibernate.SessionFactory |
getSessionFactory() |
void |
setDataInTable(List<Map<String,Object>> data,
String tableName)
Deprecated.
|
void |
setSessionFactory(org.hibernate.SessionFactory sessionFactory) |
boolean |
tableExists(String tableName) |
public org.hibernate.SessionFactory getSessionFactory()
public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
@Deprecated public List<Map<String,Object>> getDataFromTable(String tableName) throws Exception
query - Exception@Deprecated public org.hibernate.SessionFactory getCustomSessionFactory(String dbType, String url, String port, String dbName, String userName, String password)
SessionFactoryBuilder.buildSessionFactory(com.suncode.cuf.database.config.DatabaseConfig)query - Exception@Deprecated public void setDataInTable(List<Map<String,Object>> data, String tableName) throws Exception
query - Exceptionpublic boolean tableExists(String tableName) throws org.hibernate.HibernateException
org.hibernate.HibernateException@Deprecated public void executeUpdate(String query) throws Exception
query - ExceptionCopyright © 2020 Suncode. All rights reserved.