-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Hibernate 3.22GA to Hibernate 4.1.6 Upgrade Configuration
PostPosted: Mon Sep 17, 2012 2:17 pm 
Newbie

Joined: Wed Sep 12, 2012 6:03 pm
Posts: 9
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.