text: <persistence xmlns="http://java.sun.com/xml/ns/persistence"
  	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  	xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
  	version="2.0">
  
  	<persistence-unit name="bookstore" transaction-type="RESOURCE_LOCAL">
  		<provider>org.hibernate.ejb.HibernatePersistence</provider>
  		<shared-cache-mode>ENABLE_SELECTIVE</shared-cache-mode>
  		<properties>
  			<property name="hibernate.cache.use_second_level_cache" value="true"/>
  			<property name="hibernate.cache.use_query_cache" value="true"/>
  			<property name="hibernate.cache.region.factory_class" value="org.hibernate.cache.ehcache.EhCacheRegionFactory"/>
  			<property name="hibernate.hbm2ddl.auto" value="update" />
  		</properties>
  	</persistence-unit>
  </persistence>