<?xml version="1.0" encoding="UTF-8"?>
<persistence version="2.1" xmlns="http://xmlns.jcp.org/xml/ns/persistence"  
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">
<persistence-unit name="gna_internal_db" transaction-type="RESOURCE_LOCAL">
   
   <class>org.gcube.application.geoportal.model.Record</class>
   <!-- Concessioni -->
   	<class>org.gcube.application.geoportal.model.concessioni.Concessione</class>
	<class>org.gcube.application.geoportal.model.concessioni.LayerConcessione</class>
	<class>org.gcube.application.geoportal.model.concessioni.RelazioneScavo</class>

   <!-- Content -->
    <class>org.gcube.application.geoportal.model.content.AssociatedContent</class>
    <class>org.gcube.application.geoportal.model.content.GeoServerContent</class>
    <class>org.gcube.application.geoportal.model.content.OtherContent</class>
    <class>org.gcube.application.geoportal.model.content.PersistedContent</class>
    <class>org.gcube.application.geoportal.model.content.UploadedImage</class>
    <class>org.gcube.application.geoportal.model.content.WorkspaceContent</class>
    
   <!-- GIS --> 
    <class>org.gcube.application.geoportal.model.gis.SDILayerDescriptor</class>
    
    
    <properties>
        <property name="javax.persistence.jdbc.url" value="jdbc:derby:memory:unit-testing-geona;create=true"/>
        <!--  <property name="javax.persistence.jdbc.user" value="user"/>
        <property name="javax.persistence.jdbc.password" value="xxxx"/> -->
        <property name="javax.persistence.jdbc.driver" value="org.apache.derby.jdbc.EmbeddedDriver"/>
        <property name="eclipselink.ddl-generation" value="create-or-extend-tables"/>
		<property name="eclipselink.logging.logger" value="org.eclipse.persistence.logging.DefaultSessionLog"/>
		<property name="eclipselink.logging.level" value="INFO"/>
    </properties>       
</persistence-unit>
</persistence>