From 0077065d44fa30ac4e969dd155b096da8aff31d2 Mon Sep 17 00:00:00 2001 From: Struchkov Mark Date: Sat, 2 Jul 2022 17:59:49 +0300 Subject: [PATCH] InitCommit --- .gitignore | 38 +++++++++++++++++ pom.xml | 46 +++++++++++++++++++++ src/main/resources/META-INF/persistence.xml | 22 ++++++++++ src/main/resources/logback.xml | 14 +++++++ 4 files changed, 120 insertions(+) create mode 100644 .gitignore create mode 100644 pom.xml create mode 100644 src/main/resources/META-INF/persistence.xml create mode 100644 src/main/resources/logback.xml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5ff6309 --- /dev/null +++ b/.gitignore @@ -0,0 +1,38 @@ +target/ +!.mvn/wrapper/maven-wrapper.jar +!**/src/main/**/target/ +!**/src/test/**/target/ + +### IntelliJ IDEA ### +.idea/modules.xml +.idea/jarRepositories.xml +.idea/compiler.xml +.idea/libraries/ +*.iws +*.iml +*.ipr + +### Eclipse ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ +!**/src/main/**/build/ +!**/src/test/**/build/ + +### VS Code ### +.vscode/ + +### Mac OS ### +.DS_Store \ No newline at end of file diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..9466ccb --- /dev/null +++ b/pom.xml @@ -0,0 +1,46 @@ + + + 4.0.0 + + dev.struchkov.example.hibernate + hibernate-multiple-bag-fetch-exception + 1.0-SNAPSHOT + + + 17 + 17 + + + + + org.hibernate.orm + hibernate-core + 6.1.0.Final + + + com.h2database + h2 + 2.1.214 + + + org.projectlombok + lombok + 1.18.24 + + + + ch.qos.logback + logback-classic + 1.2.11 + + + + org.slf4j + slf4j-api + 1.7.36 + + + + \ No newline at end of file diff --git a/src/main/resources/META-INF/persistence.xml b/src/main/resources/META-INF/persistence.xml new file mode 100644 index 0000000..dd2d39d --- /dev/null +++ b/src/main/resources/META-INF/persistence.xml @@ -0,0 +1,22 @@ + + + + dev.struchkov.example.hibernate.nbfe.problem.domain.Post + dev.struchkov.example.hibernate.nbfe.problem.domain.PostComment + dev.struchkov.example.hibernate.nbfe.problem.domain.Tag + true + + + + + + + + + + + + diff --git a/src/main/resources/logback.xml b/src/main/resources/logback.xml new file mode 100644 index 0000000..86db7c9 --- /dev/null +++ b/src/main/resources/logback.xml @@ -0,0 +1,14 @@ + + + + %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + + + + + + + + + + \ No newline at end of file