mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-16 16:15:06 +00:00
HHH-12410 - Cannot use AttributeConverter with spatial types
HHH-12443 - Introduce TypeConfiguration
This commit is contained in:
parent
c14180ea5b
commit
b072981054
@ -10,19 +10,6 @@ import org.apache.tools.ant.filters.ReplaceTokens
|
||||
apply from: rootProject.file( 'gradle/published-java-module.gradle' )
|
||||
apply plugin: 'hibernate-matrix-testing'
|
||||
|
||||
ext {
|
||||
db = project.hasProperty('db') ? project.getProperty('db') : 'h2'
|
||||
dbBundle = [
|
||||
h2 : [
|
||||
'db.dialect' : 'org.hibernate.spatial.dialect.h2geodb.GeoDBDialect',
|
||||
'jdbc.driver': 'org.h2.Driver',
|
||||
'jdbc.user' : 'sa',
|
||||
'jdbc.pass' : '',
|
||||
'jdbc.url' : 'jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1;LOCK_TIMEOUT=10000',
|
||||
]
|
||||
]
|
||||
}
|
||||
|
||||
description = 'Integrate support for Spatial/GIS data into Hibernate O/RM'
|
||||
|
||||
dependencies {
|
||||
@ -55,26 +42,3 @@ dependencies {
|
||||
sourceSets.test.resources {
|
||||
setSrcDirs(['src/test/java', 'src/test/resources'])
|
||||
}
|
||||
|
||||
processTestResources {
|
||||
doLast {
|
||||
copy {
|
||||
from( sourceSets.test.java.srcDirs ) {
|
||||
include '**/*.properties'
|
||||
include '**/*.xml'
|
||||
}
|
||||
into sourceSets.test.java.outputDir
|
||||
}
|
||||
copy {
|
||||
from file( 'src/test/resources' )
|
||||
into file( "${buildDir}/resources/test" )
|
||||
exclude 'src/test/resources/arquillian.xml'
|
||||
exclude 'src/test/resources/hibernate.properties'
|
||||
}
|
||||
copy {
|
||||
from file( 'src/test/resources/hibernate.properties' )
|
||||
into file( "${buildDir}/resources/test" )
|
||||
filter( ReplaceTokens, tokens: dbBundle[db] )
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user