48 lines
2.7 KiB
Properties
48 lines
2.7 KiB
Properties
##########################Security##########################################
|
|
#security.portmapping.http = 7081
|
|
#security.portmapping.https = 7444
|
|
##########################/Security########################################
|
|
|
|
##########################Persistence##########################################
|
|
persistence.jdbc.driver = org.postgresql.Driver
|
|
persistence.jdbc.url = jdbc:postgresql://host:port/DB_NAME
|
|
persistence.dbusername = USE-a-VALID-USER
|
|
persistence.dbpassword = USE-a-VALID-PASS
|
|
##########################/Persistence##########################################
|
|
|
|
###################Allowed Proxy Service Host ############################
|
|
proxy.allowed.host = https://eestore.paas2.uninett.no
|
|
#######################################################
|
|
|
|
########################Persistence/Hibernate Generic#############################
|
|
persistence.hibernate.show_sql = false
|
|
persistence.hibernate.hbm2dll = validate
|
|
persistence.hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect
|
|
#persistence.hibernate.dialect = org.hibernate.spatial.dialect.postgis.PostgisDialect
|
|
########################Persistence/Hibernate Generic#############################
|
|
|
|
|
|
########################Persistence/Hibernate/Batch##############################
|
|
persistence.hibernate.jdbc.batch_size = 30
|
|
persistence.hibernate.order_inserts = true
|
|
persistence.hibernate.order_updates = true
|
|
persistence.hibernate.batch_versioned_data = true
|
|
persistence.hibernate.jdbc.batch_versioned_data = DELAYED_ACQUISITION_AND_RELEASE_AFTER_TRANSACTION
|
|
########################Persistence/Hibernate/Batch##############################
|
|
|
|
|
|
########################Persistence/Hibernate/Connection pool####################
|
|
persistence.hibernate.connectionpool.provider_class = org.hibernate.service.jdbc.connections.internal.C3P0ConnectionProvider
|
|
persistence.hibernate.connectionpool.c3p0.min_size = 5
|
|
persistence.hibernate.connectionpool.c3p0.max_size = 100
|
|
persistence.hibernate.connectionpool.c3p0.timeout = 0
|
|
persistence.hibernate.connectionpool.c3p0.max_statements = 50
|
|
persistence.hibernate.connectionpool.c3p0.acquire_retry_attempts = 30
|
|
persistence.hibernate.connectionpool.c3p0.acquire_retry_delay = 1000
|
|
persistence.hibernate.connectionpool.c3p0.idle_test_period = 3000
|
|
persistence.hibernate.connectionpool.c3p0.break_after_acquire_failure = false
|
|
persistence.hibernate.connectionpool.c3p0.idle_connection_test_period = 3600
|
|
persistence.hibernate.connectionpool.c3p0.test_connection_on_checkin = true
|
|
persistence.hibernate.connectionpool.c3p0.test_connection_on_checkout = false
|
|
persistence.hibernate.connectionpool.c3p0.preferred_test_query = select 1
|
|
########################Persistence/Hibernate/Connection pool#################### |