File tree Expand file tree Collapse file tree 3 files changed +12
-17
lines changed
hibernate5-jakarta/src/test/java/com/fasterxml/jackson/datatype/hibernate5/jakarta
hibernate5/src/test/java/com/fasterxml/jackson/datatype/hibernate5
hibernate6/src/test/java/com/fasterxml/jackson/datatype/hibernate6 Expand file tree Collapse file tree 3 files changed +12
-17
lines changed Original file line number Diff line number Diff line change @@ -12,14 +12,12 @@ public abstract class BaseTest
12
12
{
13
13
protected BaseTest () {
14
14
try {
15
- System .out .println (Hibernate5JakartaVersion .getHibernateVersion ());
16
- System .out .println (Hibernate5JakartaVersion .isHibernate5_5_Plus ());
17
- Logger .getLogger (this .getClass ()).info ("Testing using hibernate " + Hibernate5JakartaVersion .getHibernateVersion () +
18
- ", is 5.5+: " + Hibernate5JakartaVersion .isHibernate5_5_Plus ());
19
- } catch (Exception e ) {
20
- // Should not happen
21
- throw new RuntimeException (e );
22
- }
15
+ Logger .getLogger (this .getClass ()).info ("Testing using hibernate " + Hibernate5JakartaVersion .getHibernateVersion () +
16
+ ", is 5.5+: " + Hibernate5JakartaVersion .isHibernate5_5_Plus ());
17
+ } catch (Exception e ) {
18
+ // Should not happen
19
+ throw new RuntimeException (e );
20
+ }
23
21
}
24
22
25
23
protected ObjectMapper mapperWithModule (boolean forceLazyLoading )
Original file line number Diff line number Diff line change @@ -12,14 +12,12 @@ public abstract class BaseTest
12
12
{
13
13
protected BaseTest () {
14
14
try {
15
- System .out .println (Hibernate5Version .getHibernateVersion ());
16
- System .out .println (Hibernate5Version .isHibernate5_2_Plus ());
17
- Logger .getLogger (this .getClass ()).info ("Testing using hibernate " + Hibernate5Version .getHibernateVersion () +
18
- ", is 5.2+: " + Hibernate5Version .isHibernate5_2_Plus ());
19
- } catch (Exception e ) {
20
- // Should not happen
21
- throw new RuntimeException (e );
22
- }
15
+ Logger .getLogger (this .getClass ()).info ("Testing using hibernate " + Hibernate5Version .getHibernateVersion () +
16
+ ", is 5.2+: " + Hibernate5Version .isHibernate5_2_Plus ());
17
+ } catch (Exception e ) {
18
+ // Should not happen
19
+ throw new RuntimeException (e );
20
+ }
23
21
}
24
22
25
23
protected ObjectMapper mapperWithModule (boolean forceLazyLoading )
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ public abstract class BaseTest
12
12
{
13
13
protected BaseTest () {
14
14
try {
15
- System .out .println (Hibernate6Version .isHibernate6_Plus ());
16
15
Logger .getLogger (this .getClass ()).info ("Testing using hibernate " + Hibernate6Version .getHibernateVersion () +
17
16
", is 6+: " + Hibernate6Version .isHibernate6_Plus ());
18
17
} catch (Exception e ) {
You can’t perform that action at this time.
0 commit comments