Class DataAccessUtils
- java.lang.Object
 - 
- com.atlassian.confluence.impl.hibernate.DataAccessUtils
 
 
- 
public final class DataAccessUtils extends Object
Provides hibernate and database helper operations.- Since:
 - 6.2.0
 
 
- 
- 
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static org.hibernate.dialect.DialectgetDialect()Deprecated, for removal: This API element is subject to removal in a future version.since 8.0 UseSchemaInformationService.getDialect()static org.springframework.jdbc.core.JdbcTemplategetJdbcTemplate(org.hibernate.Session session)Returns a JDBC template for the provided Hibernate session. 
 - 
 
- 
- 
Method Detail
- 
getJdbcTemplate
public static org.springframework.jdbc.core.JdbcTemplate getJdbcTemplate(org.hibernate.Session session)
Returns a JDBC template for the provided Hibernate session. The JDBC template participates in the same transaction as the session.- Since:
 - 7.18
 
 
- 
getDialect
@Deprecated(since="8.0", forRemoval=true) public static org.hibernate.dialect.Dialect getDialect() throws org.springframework.dao.DataAccessException
Deprecated, for removal: This API element is subject to removal in a future version.since 8.0 UseSchemaInformationService.getDialect()Gets the Dialect object corresponding to the current Hibernate configuration- Throws:
 org.springframework.dao.DataAccessException- Since:
 - 6.4.1
 
 
 - 
 
 -