mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-10 13:14:50 +00:00
HHH-5973 - Replaced , with + in AuditInterceptor.java and in events.xml
This commit is contained in:
parent
3399e34acd
commit
bc7a2c2d24
@ -69,11 +69,11 @@ public boolean onSave(Object entity,
|
|||||||
|
|
||||||
public void afterTransactionCompletion(Transaction tx) {
|
public void afterTransactionCompletion(Transaction tx) {
|
||||||
if ( tx.wasCommitted() ) {
|
if ( tx.wasCommitted() ) {
|
||||||
System.out.println("Creations: " + creates + ", Updates: " + updates, "Loads: " + loads);
|
System.out.println("Creations: " + creates + ", Updates: " + updates + "Loads: " + loads);
|
||||||
}
|
}
|
||||||
updates=0;
|
updates=0;
|
||||||
creates=0;
|
creates=0;
|
||||||
loads=0;
|
loads=0;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -102,7 +102,7 @@ public class AuditInterceptor extends EmptyInterceptor {
|
|||||||
|
|
||||||
public void afterTransactionCompletion(Transaction tx) {
|
public void afterTransactionCompletion(Transaction tx) {
|
||||||
if ( tx.wasCommitted() ) {
|
if ( tx.wasCommitted() ) {
|
||||||
System.out.println("Creations: " + creates + ", Updates: " + updates, "Loads: " + loads);
|
System.out.println("Creations: " + creates + ", Updates: " + updates + "Loads: " + loads);
|
||||||
}
|
}
|
||||||
updates=0;
|
updates=0;
|
||||||
creates=0;
|
creates=0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user