META-INF.persistence.xml Maven / Gradle / Ivy
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <persistence version="2.2" 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_2.xsd"> <persistence-unit name="mateu-basic" transaction-type="RESOURCE_LOCAL"> <class>io.mateu.domain.uidefinition.core.model.multilanguage.Literal</class> <class>io.mateu.jpa.domain.util.IntArrayAttributeConverter</class> <class>io.mateu.jpa.domain.util.LocalDateAttributeConverter</class> <class>io.mateu.jpa.domain.util.LocalDateTimeAttributeConverter</class> <class>io.mateu.jpa.domain.util.LocalTimeAttributeConverter</class> <exclude-unlisted-classes>true</exclude-unlisted-classes> <validation-mode>AUTO</validation-mode> <properties> <!-- <property name="jakarta.persistence.jdbc.driver" value="Database Driver Name" /> <property name="jakarta.persistence.jdbc.url" value="Database Url" /> <property name="jakarta.persistence.jdbc.user" value="Database Username" /> <property name="jakarta.persistence.jdbc.password" value="Database Password" /> --> </properties> </persistence-unit> </persistence>