Class RestoreDao
- java.lang.Object
-
- com.atlassian.confluence.impl.backuprestore.restore.dao.RestoreDao
-
public class RestoreDao extends Object
Allows to perform all DB operations required for space and site restore.- Since:
- 7.20.0
-
-
Field Summary
Fields Modifier and Type Field Description protected org.springframework.transaction.PlatformTransactionManager
transactionManager
-
Constructor Summary
Constructors Constructor Description RestoreDao(org.hibernate.SessionFactory sessionFactory, org.springframework.transaction.PlatformTransactionManager transactionManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<Serializable>
generateIds(org.hibernate.persister.entity.AbstractEntityPersister abstractEntityPersister, Object fakeObject, int count)
Generates multiple ids.void
insertRecordsInTransaction(String insertSql, Map<String,Object>[] values)
-
-
-
Method Detail
-
generateIds
public Collection<Serializable> generateIds(org.hibernate.persister.entity.AbstractEntityPersister abstractEntityPersister, Object fakeObject, int count)
Generates multiple ids. Currently, it still generates ids one by one, but the implementation can be replaced in the future.
-
-