/Store

Data persistence for a store with JPA: Hibernate

Primary LanguageJava

Hibernate Logo

⚠️ This project is under development

Data persistence with JPA: Hibernate

This API is based on a system for internal use of a store

Prerequisites ⚒️

  • JDK (version 11)

How the API works

Database configuration

Configure the file "persistence.xml" with data from your database

     <properties>
            <property name="" value=""/>
            <property name="javax.persistence.jdbc.driver" value="org.h2.Driver"/>
            <property name="javax.persistence.jdbc.url" value="jdbc:h2:mem:store"/>
            <property name="javax.persistence.jdbc.user" value="sa"/>
            <property name="javax.persistence.jdbc.password" value=""/>
            <property name="hibernate.dialect" value="org.hibernate.dialect.H2Dialect"/>
        </properties>

This is a local database configuration