diff --git a/data/test.lck b/data/test.lck new file mode 100644 index 0000000..a81e97d Binary files /dev/null and b/data/test.lck differ diff --git a/data/test.log b/data/test.log new file mode 100644 index 0000000..dd542e3 --- /dev/null +++ b/data/test.log @@ -0,0 +1,3 @@ +/*C1*/SET SCHEMA SYSTEM_LOBS +INSERT INTO BLOCKS VALUES(0,2147483647,0) +COMMIT diff --git a/data/test.properties b/data/test.properties new file mode 100644 index 0000000..bc2283d --- /dev/null +++ b/data/test.properties @@ -0,0 +1,5 @@ +#HSQL Database Engine 2.7.2 +#Wed Sep 17 12:17:40 CEST 2025 +modified=yes +tx_timestamp=1 +version=2.7.2 diff --git a/data/test.script b/data/test.script new file mode 100644 index 0000000..573c9a0 --- /dev/null +++ b/data/test.script @@ -0,0 +1,44 @@ +SET DATABASE UNIQUE NAME HSQLDB99572E0E4E +SET DATABASE DEFAULT RESULT MEMORY ROWS 0 +SET DATABASE EVENT LOG LEVEL 0 +SET DATABASE TRANSACTION CONTROL LOCKS +SET DATABASE DEFAULT ISOLATION LEVEL READ COMMITTED +SET DATABASE TRANSACTION ROLLBACK ON CONFLICT TRUE +SET DATABASE TEXT TABLE DEFAULTS '' +SET DATABASE SQL NAMES FALSE +SET DATABASE SQL RESTRICT EXEC FALSE +SET DATABASE SQL REFERENCES FALSE +SET DATABASE SQL SIZE TRUE +SET DATABASE SQL TYPES FALSE +SET DATABASE SQL TDC DELETE TRUE +SET DATABASE SQL TDC UPDATE TRUE +SET DATABASE SQL SYS INDEX NAMES TRUE +SET DATABASE SQL CONCAT NULLS TRUE +SET DATABASE SQL UNIQUE NULLS TRUE +SET DATABASE SQL CONVERT TRUNCATE TRUE +SET DATABASE SQL AVG SCALE 0 +SET DATABASE SQL DOUBLE NAN TRUE +SET FILES WRITE DELAY 500 MILLIS +SET FILES BACKUP INCREMENT TRUE +SET FILES CACHE SIZE 10000 +SET FILES CACHE ROWS 50000 +SET FILES SCALE 32 +SET FILES LOB SCALE 32 +SET FILES DEFRAG 0 +SET FILES NIO TRUE +SET FILES NIO SIZE 256 +SET FILES LOG TRUE +SET FILES LOG SIZE 50 +SET FILES CHECK 1 +SET DATABASE COLLATION SQL_TEXT PAD SPACE +CREATE USER SA PASSWORD DIGEST 'd41d8cd98f00b204e9800998ecf8427e' +ALTER USER SA SET LOCAL TRUE +CREATE SCHEMA PUBLIC AUTHORIZATION DBA +ALTER SEQUENCE SYSTEM_LOBS.LOB_ID RESTART WITH 1 +SET DATABASE DEFAULT INITIAL SCHEMA PUBLIC +GRANT USAGE ON DOMAIN INFORMATION_SCHEMA.CARDINAL_NUMBER TO PUBLIC +GRANT USAGE ON DOMAIN INFORMATION_SCHEMA.YES_OR_NO TO PUBLIC +GRANT USAGE ON DOMAIN INFORMATION_SCHEMA.CHARACTER_DATA TO PUBLIC +GRANT USAGE ON DOMAIN INFORMATION_SCHEMA.SQL_IDENTIFIER TO PUBLIC +GRANT USAGE ON DOMAIN INFORMATION_SCHEMA.TIME_STAMP TO PUBLIC +GRANT DBA TO SA diff --git a/src/main/java/jpa/metier/Question.java b/src/main/java/jpa/metier/Question.java new file mode 100644 index 0000000..fffeaa9 --- /dev/null +++ b/src/main/java/jpa/metier/Question.java @@ -0,0 +1,7 @@ +package jpa.metier; + +public class Question { + + + +} diff --git a/src/main/java/jpa/metier/Reponse.java b/src/main/java/jpa/metier/Reponse.java new file mode 100644 index 0000000..d61e51a --- /dev/null +++ b/src/main/java/jpa/metier/Reponse.java @@ -0,0 +1,8 @@ +package jpa.metier; + +public abstract class Reponse { + + String value; + + +} diff --git a/target/classes/META-INF/persistence.xml b/target/classes/META-INF/persistence.xml new file mode 100644 index 0000000..7277b7d --- /dev/null +++ b/target/classes/META-INF/persistence.xml @@ -0,0 +1,67 @@ + + + + + org.hibernate.jpa.HibernatePersistenceProvider + + + + + + + + + + + + org.hibernate.jpa.HibernatePersistenceProvider + + + + + + + + + + + + + + org.hibernate.jpa.HibernatePersistenceProvider + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/target/classes/jpa/EntityManagerHelper.class b/target/classes/jpa/EntityManagerHelper.class new file mode 100644 index 0000000..fdbca3e Binary files /dev/null and b/target/classes/jpa/EntityManagerHelper.class differ diff --git a/target/classes/jpa/JpaTest.class b/target/classes/jpa/JpaTest.class new file mode 100644 index 0000000..36d8e7a Binary files /dev/null and b/target/classes/jpa/JpaTest.class differ diff --git a/target/classes/jpa/metier/Question.class b/target/classes/jpa/metier/Question.class new file mode 100644 index 0000000..253fa1f Binary files /dev/null and b/target/classes/jpa/metier/Question.class differ diff --git a/target/classes/jpa/metier/Reponse.class b/target/classes/jpa/metier/Reponse.class new file mode 100644 index 0000000..d31e0d8 Binary files /dev/null and b/target/classes/jpa/metier/Reponse.class differ diff --git a/target/classes/log4j.properties b/target/classes/log4j.properties new file mode 100644 index 0000000..e01f9db --- /dev/null +++ b/target/classes/log4j.properties @@ -0,0 +1,15 @@ +----------------------------------------------log4j.properties + +### direct log messages to stdout +### +log4j.rootLogger=INFO, stdout +log4j.appender.stdout=org.apache.log4j.ConsoleAppender +log4j.appender.stdout.Target=System.out +log4j.appender.stdout.layout=org.apache.log4j.PatternLayout +log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n + +# Log everything. Good for troubleshooting +log4j.logger.org.hibernate=ERROR + +# Log all JDBC parameters +log4j.logger.org.hibernate.type=ERROR diff --git a/target/dependency/angus-activation-2.0.0.jar b/target/dependency/angus-activation-2.0.0.jar new file mode 100644 index 0000000..3eb7a52 Binary files /dev/null and b/target/dependency/angus-activation-2.0.0.jar differ diff --git a/target/dependency/antlr4-runtime-4.10.1.jar b/target/dependency/antlr4-runtime-4.10.1.jar new file mode 100644 index 0000000..1365d5a Binary files /dev/null and b/target/dependency/antlr4-runtime-4.10.1.jar differ diff --git a/target/dependency/byte-buddy-1.12.18.jar b/target/dependency/byte-buddy-1.12.18.jar new file mode 100644 index 0000000..7b307fb Binary files /dev/null and b/target/dependency/byte-buddy-1.12.18.jar differ diff --git a/target/dependency/classmate-1.5.1.jar b/target/dependency/classmate-1.5.1.jar new file mode 100644 index 0000000..819f5ea Binary files /dev/null and b/target/dependency/classmate-1.5.1.jar differ diff --git a/target/dependency/hibernate-commons-annotations-6.0.6.Final.jar b/target/dependency/hibernate-commons-annotations-6.0.6.Final.jar new file mode 100644 index 0000000..fe67e63 Binary files /dev/null and b/target/dependency/hibernate-commons-annotations-6.0.6.Final.jar differ diff --git a/target/dependency/hibernate-core-6.2.7.Final.jar b/target/dependency/hibernate-core-6.2.7.Final.jar new file mode 100644 index 0000000..6d2dc25 Binary files /dev/null and b/target/dependency/hibernate-core-6.2.7.Final.jar differ diff --git a/target/dependency/hsqldb-2.7.2.jar b/target/dependency/hsqldb-2.7.2.jar new file mode 100644 index 0000000..1338739 Binary files /dev/null and b/target/dependency/hsqldb-2.7.2.jar differ diff --git a/target/dependency/istack-commons-runtime-4.1.1.jar b/target/dependency/istack-commons-runtime-4.1.1.jar new file mode 100644 index 0000000..39dd5d0 Binary files /dev/null and b/target/dependency/istack-commons-runtime-4.1.1.jar differ diff --git a/target/dependency/jakarta.activation-api-2.1.0.jar b/target/dependency/jakarta.activation-api-2.1.0.jar new file mode 100644 index 0000000..b125985 Binary files /dev/null and b/target/dependency/jakarta.activation-api-2.1.0.jar differ diff --git a/target/dependency/jakarta.inject-api-2.0.1.jar b/target/dependency/jakarta.inject-api-2.0.1.jar new file mode 100644 index 0000000..a92e099 Binary files /dev/null and b/target/dependency/jakarta.inject-api-2.0.1.jar differ diff --git a/target/dependency/jakarta.persistence-api-3.1.0.jar b/target/dependency/jakarta.persistence-api-3.1.0.jar new file mode 100644 index 0000000..4030796 Binary files /dev/null and b/target/dependency/jakarta.persistence-api-3.1.0.jar differ diff --git a/target/dependency/jakarta.transaction-api-2.0.1.jar b/target/dependency/jakarta.transaction-api-2.0.1.jar new file mode 100644 index 0000000..b1e7da4 Binary files /dev/null and b/target/dependency/jakarta.transaction-api-2.0.1.jar differ diff --git a/target/dependency/jakarta.xml.bind-api-4.0.0.jar b/target/dependency/jakarta.xml.bind-api-4.0.0.jar new file mode 100644 index 0000000..b10d606 Binary files /dev/null and b/target/dependency/jakarta.xml.bind-api-4.0.0.jar differ diff --git a/target/dependency/jandex-3.0.5.jar b/target/dependency/jandex-3.0.5.jar new file mode 100644 index 0000000..157169a Binary files /dev/null and b/target/dependency/jandex-3.0.5.jar differ diff --git a/target/dependency/jaxb-core-4.0.2.jar b/target/dependency/jaxb-core-4.0.2.jar new file mode 100644 index 0000000..e4fdfe2 Binary files /dev/null and b/target/dependency/jaxb-core-4.0.2.jar differ diff --git a/target/dependency/jaxb-runtime-4.0.2.jar b/target/dependency/jaxb-runtime-4.0.2.jar new file mode 100644 index 0000000..9490a45 Binary files /dev/null and b/target/dependency/jaxb-runtime-4.0.2.jar differ diff --git a/target/dependency/jboss-logging-3.5.0.Final.jar b/target/dependency/jboss-logging-3.5.0.Final.jar new file mode 100644 index 0000000..d39dfcf Binary files /dev/null and b/target/dependency/jboss-logging-3.5.0.Final.jar differ diff --git a/target/dependency/log4j-1.2.17.jar b/target/dependency/log4j-1.2.17.jar new file mode 100644 index 0000000..1d425cf Binary files /dev/null and b/target/dependency/log4j-1.2.17.jar differ diff --git a/target/dependency/mysql-connector-j-8.1.0.jar b/target/dependency/mysql-connector-j-8.1.0.jar new file mode 100644 index 0000000..9e38a71 Binary files /dev/null and b/target/dependency/mysql-connector-j-8.1.0.jar differ diff --git a/target/dependency/protobuf-java-3.21.9.jar b/target/dependency/protobuf-java-3.21.9.jar new file mode 100644 index 0000000..c4fd860 Binary files /dev/null and b/target/dependency/protobuf-java-3.21.9.jar differ diff --git a/target/dependency/slf4j-api-1.7.30.jar b/target/dependency/slf4j-api-1.7.30.jar new file mode 100644 index 0000000..29ac26f Binary files /dev/null and b/target/dependency/slf4j-api-1.7.30.jar differ diff --git a/target/dependency/slf4j-log4j12-1.7.30.jar b/target/dependency/slf4j-log4j12-1.7.30.jar new file mode 100644 index 0000000..c6bc8b2 Binary files /dev/null and b/target/dependency/slf4j-log4j12-1.7.30.jar differ diff --git a/target/dependency/txw2-4.0.2.jar b/target/dependency/txw2-4.0.2.jar new file mode 100644 index 0000000..a16699f Binary files /dev/null and b/target/dependency/txw2-4.0.2.jar differ