feat(DevWeb): Setup du Projet avec Servlet et JPA

This commit is contained in:
Lucàs
2024-03-13 20:17:41 +01:00
parent 9d59897ac4
commit a05ab6d2db
25 changed files with 289 additions and 257 deletions
@@ -1,14 +1,13 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<persistence xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://jakarta.ee/xml/ns/persistence"
<persistence xmlns="https://jakarta.ee/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence https://jakarta.ee/xml/ns/persistence/persistence_3_0.xsd"
version="3.0">
<persistence-unit name="default">
<persistence-unit name="db">
<class>project.pojo.User</class>
<class>project.pojo.Game</class>
<class>project.pojo.Player</class>
<exclude-unlisted-classes></exclude-unlisted-classes>
<class>uppa.project.pojo.User</class>
<class>uppa.project.pojo.Game</class>
<class>uppa.project.pojo.Player</class>
<properties>
<property name="jakarta.persistence.jdbc.driver" value="com.mysql.cj.jdbc.Driver"/>