Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question
0

Recommended settings for Hibernate PhysicalConnectionHandlingMode

Hello,

what is the recommended settings for PhysicalConnectionHandlingMode when using Hibernate data source?

In older Hibernate versions there was a property "ConnectionReleaseMode", but it is deprecated since some time. I can't find any recommendations in GigaSpaces documentation, although they should be pretty important, especially for LRU spaces.

If your recommendation is to use the default, we are OK with that, but please state the recommendation explicitly :)

asked 2019-08-05 02:29:09 -0600

Alexey Serdyuk gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

We are using org.springframework.orm.hibernate5.LocalSessionFactoryBean to create the SessionFactory. We don't modify the PhysicalConnectionHandlingMode or ConnectionReleaseMode.

Please see: https://docs.spring.io/spring/docs/5.... https://hibernate.org/orm/documentati...

FYI, our next GA version, version 15, will have support for Hibernate 5.2. If you need this now, we can create a patch for you built on top of 14.5. XAP 14.5 is certified against Hibernate 5.1.

answered 2019-08-07 08:29:45 -0600

Dixson Huie gravatar image
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-08-05 02:29:09 -0600

Seen: 41 times

Last updated: Aug 07