<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="test-pu">
    <provider>org.hibernate.reactive.provider.ReactivePersistenceProvider</provider>
    <class>io.opentelemetry.javaagent.instrumentation.hibernate.reactive.v1_0.Value</class>
    <exclude-unlisted-classes>true</exclude-unlisted-classes>

    <properties>
      <property name="javax.persistence.jdbc.driver" value="org.postgresql.Driver" />
      <property name="jakarta.persistence.jdbc.url" value="jdbc:postgresql://${db.host}:${db.port}/tempdb"/>
      <property name="jakarta.persistence.jdbc.user" value="SA"/>
      <property name="jakarta.persistence.jdbc.password" value="password123"/>
      <property name="hibernate.connection.pool_size" value="10"/>
      <property name="jakarta.persistence.schema-generation.database.action" value="drop-and-create"/>
    </properties>
  </persistence-unit>
</persistence>
