File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed
hibernate-core/src/test/java/org/hibernate/orm/test Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change 1+ /*
2+ * Hibernate, Relational Persistence for Idiomatic Java
3+ *
4+ * License: GNU Lesser General Public License (LGPL), version 2.1 or later
5+ * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html
6+ */
7+ package org .hibernate .orm .test ;
8+
9+ import org .hibernate .testing .orm .junit .DomainModel ;
10+ import org .hibernate .testing .orm .junit .SessionFactory ;
11+ import org .hibernate .testing .orm .junit .SessionFactoryScope ;
12+ import org .junit .jupiter .api .AfterAll ;
13+ import org .junit .jupiter .api .BeforeAll ;
14+ import org .junit .jupiter .api .Test ;
15+
16+ /**
17+ * @author Jan Schatteman
18+ */
19+ @ DomainModel (
20+ annotatedClasses = {}
21+ )
22+ @ SessionFactory
23+ public class DomainModelTestCase {
24+
25+ @ BeforeAll
26+ public void setup (SessionFactoryScope scope ) {
27+ scope .inTransaction (
28+ session -> {
29+ }
30+ );
31+ }
32+
33+ @ AfterAll
34+ public void tearDown (SessionFactoryScope scope ) {
35+ scope .inTransaction (
36+ session -> {
37+ }
38+ );
39+ }
40+
41+ @ Test
42+ public void testThis (SessionFactoryScope scope ) {
43+ scope .inTransaction (
44+ session -> {
45+
46+ }
47+ );
48+ }
49+
50+ }
You can’t perform that action at this time.
0 commit comments