public class UpgradeUtilityDAOHibernate extends Object
Constructor and Description |
---|
UpgradeUtilityDAOHibernate() |
Modifier and Type | Method and Description |
---|---|
int |
executeBulkUpdate(String query,
Object parameter)
Executes an update operation affecting multiple entities.
|
int |
executeUpdate(String query) |
void |
setSessionFactory(org.hibernate.SessionFactory sessionFactory) |
public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
public int executeUpdate(String query)
public int executeBulkUpdate(String query, Object parameter)
query
- a HQL query with exactly one JPA-style parameter placeholder, that is, ?1parameter
- parameter to the query (required)Copyright © 2016 Atlassian. All rights reserved.