All Downloads are FREE. Search and download functionalities are using the official Maven repository.

kltp-ei-composite-svc.2.1.3.source-code.persistence.xml Maven / Gradle / Ivy

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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="springJpaPersistenceUnit" transaction-type="RESOURCE_LOCAL">
        <provider>org.hibernate.ejb.HibernatePersistence</provider>
        <class>se.skltp.ei.svc.entity.model.Engagement</class>
        
        <properties>
            <!--<property name="hibernate.dialect" value="org.hibernate.dialect.HSQLDialect"/>-->
            <!--
                value='create' to build a new database on each run;
                value='update' to modify an existing database;
                value='create-drop' means the same as 'create' but also drops tables when Hibernate closes;
                value='validate' makes no changes to the database
             -->
            <property name="hibernate.hbm2ddl.auto" value="validate"/>
            <!--<property name="hibernate.show_sql" value="true"/>-->
            <!--<property name="hibernate.format_sql" value="true"/>-->
            <!--<property name="hibernate.use_sql_comments" value="true"/>-->

        </properties>
    </persistence-unit>

</persistence>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy