We have successfully upgraded Hibernate, but we no longer able to ingest any data into our PostgreSQL 9.1.4 database. It is as if, from the hibernate perspective the database is in read-only mode. Data can be successfully ingested via psql into the target tables with no issues. We would like to rule out Hibernate configuration as the culprit.
Here is our hibernate.properties file.
Question: Are there parameters that are missing that now need to be included? Question: Are any of these parameters we have set, now obsolete?
Thanks
# SPATIAL SQL dialect hibernate.dialect=org.hibernate.spatial.dialect.postgis.PostgisDialect
hibernate.listeners.envers.autoRegister=false
# Enable Hibernate's automatic session context management hibernate.current_session_context_class=thread
# Disable the second-level cache hibernate.cache.provider_class=org.hibernate.cache.NoCacheProvider hibernate.cache.use_second_level_cache=false
# Turn on second-level cache #hibernate.cache.provider_class=org.hibernate.cache.EhCacheProvider #hibernate.cache.use_second_level_cache=true #net.sf.ehcache.configurationResourceName=/WEB-INF/config/hibernate/mars_ehcache.xml
# DEVELOPMENT PROPERTIES
# shows hibernate SQL statements in the console #hibernate.show_sql=false #hibernate.use_sql_comment=true #hibernate.generate_statistics=true
# format SQL in log and console #hibernate.format_sql=true
# Creates the DB tables each time - comment out once they are set up' # valid values are the following: # update -> will create or update the database as necessary # create -> blow away any database and recreate (good for tests...) # validate -> validates PJO's/Tables will cause error if they don't agree. # hibernate.hbm2ddl.auto=update
# A non-zero value enables use of JDBC2 batch updates by Hibernate hibernate.jdbc.batch_size=12
# Enable when using Postgres with partitioned tables #hibernate.jdbc.factory_class=rb.mars.gmti.service.ingest.postgres.PostgresPartitionBatcherFactory
|