Link to home
Start Free TrialLog in
Avatar of stephan_zehnder
stephan_zehnder

asked on

Hibernate disable cache for UnitTesting

[b]Hibernate version:[/b] 2.1.8

How can I disable the second level cache? I need to do this for my unit tests and I don't want to change the mapping files.

Found the following two properties in the forum and jira, but neighter does work:

hibernate.cache.use_second_level_cache
hibernate.cache.enabled

Thank you.
ASKER CERTIFIED SOLUTION
Avatar of TimYates
TimYates
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial