0% found this document useful (0 votes)
32 views1 page

Hybernate

Uploaded by

300allinone
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views1 page

Hybernate

Uploaded by

300allinone
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Hybernate

1. Go to browser Github.com/Varaprasad3
2. Click supporting-files
3. Click Hibernate_persistence.xml.txt
4. Copy all .xml code
5. And past into \src\main\resources\META-INF\
persistence.xml

6. Remove this line’s three line in the persistence.xml


-:

<property
name="hibernate.cache.use_second_level_cache"
value="true">
</property>

<property name="hibernate.cache.region.factory_class"
value="org.hibernate.cache.ehcache.EhCacheRegionFact
ory"></property>

<shared-cache-mode>ENABLE_SELECTIVE</shared-cache-
mode> <!-- for caching -->

You might also like