Skip to content

Commit

Permalink
HHH-12167 - Add matrix testing configuration for HANA database
Browse files Browse the repository at this point in the history
  • Loading branch information
dreab8 committed Dec 14, 2017
1 parent 5111a46 commit cec4226
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
7 changes: 7 additions & 0 deletions databases/hana/matrix.gradle
@@ -0,0 +1,7 @@
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
jdbcDependency 'com.sap.db.jdbc:ngdbc:2.2.8'
26 changes: 26 additions & 0 deletions databases/hana/resources/hibernate.properties
@@ -0,0 +1,26 @@
#
# Hibernate, Relational Persistence for Idiomatic Java
#
# License: GNU Lesser General Public License (LGPL), version 2.1 or later.
# See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
#

hibernate.dialect org.hibernate.dialect.HANAColumnStoreDialect
hibernate.connection.driver_class com.sap.db.jdbc.Driver
hibernate.connection.url jdbc:sap://localhost:39015/
hibernate.connection.username HIBERNATE_TEST
hibernate.connection.password H1bernate_test

hibernate.connection.pool_size 5

hibernate.show_sql false
hibernate.format_sql true

hibernate.max_fetch_depth 5

hibernate.cache.region_prefix hibernate.test
hibernate.cache.region.factory_class org.hibernate.testing.cache.CachingRegionFactory

javax.persistence.validation.mode=NONE
hibernate.service.allow_crawling=false
hibernate.session.events.log=true

0 comments on commit cec4226

Please sign in to comment.