com.atlassian.crowd.util.persistence.hibernate.batch.operation
Class SaveOrUpdateOperation
java.lang.Object
com.atlassian.crowd.util.persistence.hibernate.batch.operation.SaveOrUpdateOperation
- All Implemented Interfaces:
- HibernateOperation
public class SaveOrUpdateOperation
- extends Object
- implements HibernateOperation
Method Summary |
void |
performOperation(org.hibernate.Session session,
Object object)
Perform a single Hibernate operation on
an object given a Hiberante session. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SaveOrUpdateOperation
public SaveOrUpdateOperation()
performOperation
public void performOperation(org.hibernate.Session session,
Object object)
throws org.hibernate.HibernateException
- Description copied from interface:
HibernateOperation
- Perform a single Hibernate operation on
an object given a Hiberante session.
- Specified by:
performOperation
in interface HibernateOperation
- Parameters:
session
- Hibernate session prebound to an active transaction.object
- perform the operation on this persistable object.
- Throws:
org.hibernate.HibernateException
- a Hibernate error has occured while
attempting to perform the operation.
Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.