Skip to content

Commit

Permalink
HHH-9956 - Enable derby database profile
Browse files Browse the repository at this point in the history
  • Loading branch information
sebersole committed Jul 21, 2015
1 parent 805600d commit 6af8944
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 15 deletions.
2 changes: 0 additions & 2 deletions build.gradle
Expand Up @@ -137,8 +137,6 @@ subprojects { subProject ->
testRuntime( libraries.h2 )
testRuntime( libraries.woodstox )

testRuntime( 'org.apache.derby:derby:10.10.2.0' )

// 6.6 gave me some NPE problems from within checkstyle...
checkstyle 'com.puppycrawl.tools:checkstyle:6.5'
}
Expand Down
2 changes: 1 addition & 1 deletion databases/derby/resources/hibernate.properties
Expand Up @@ -7,7 +7,7 @@

hibernate.dialect org.hibernate.dialect.DerbyTenSevenDialect
hibernate.connection.driver_class org.apache.derby.jdbc.EmbeddedDriver
hibernate.connection.url jdbc:derby:hibernate_orm_test
hibernate.connection.url jdbc:derby:target/tmp/derby/hibernate_orm_test;databaseName=hibernate_orm_test;create=true
hibernate.connection.username hibernate_orm_test
hibernate.connection.password hibernate_orm_test

Expand Down
17 changes: 5 additions & 12 deletions hibernate-core/src/test/resources/hibernate.properties
Expand Up @@ -5,18 +5,11 @@
# See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
#

#hibernate.dialect org.hibernate.dialect.H2Dialect
#hibernate.connection.driver_class org.h2.Driver
##hibernate.connection.url jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1;MVCC=TRUE
#hibernate.connection.url jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1
#hibernate.connection.username sa


hibernate.dialect org.hibernate.dialect.DerbyTenSevenDialect
hibernate.connection.driver_class org.apache.derby.jdbc.EmbeddedDriver
hibernate.connection.url jdbc:derby:hibernate_orm_test;create=true
hibernate.connection.username hibernate_orm_test
hibernate.connection.password hibernate_orm_test
hibernate.dialect org.hibernate.dialect.H2Dialect
hibernate.connection.driver_class org.h2.Driver
#hibernate.connection.url jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1;MVCC=TRUE
hibernate.connection.url jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1
hibernate.connection.username sa

hibernate.connection.pool_size 5

Expand Down

0 comments on commit 6af8944

Please sign in to comment.