Typo in documentation about Interceptors
----------------------------------------
Key: HHH-5973
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5973
Project: Hibernate Core
Issue Type: Bug
Components: documentation
Affects Versions: 3.6.1
Reporter: David Pilato
Priority: Trivial
In the example, you find :
{code:title=AuditInterceptor.java|borderStyle=solid}
public void afterTransactionCompletion(Transaction tx) {
if ( tx.wasCommitted() ) {
System.out.println("Creations: " + creates + ", Updates: "
+ updates, "Loads: " + loads);
}
updates=0;
creates=0;
loads=0;
}
{code}
It should be :
{code:title=AuditInterceptor.java|borderStyle=solid}
public void afterTransactionCompletion(Transaction tx) {
if ( tx.wasCommitted() ) {
System.out.println("Creations: " + creates + ", Updates: "
+ updates + ", Loads: " + loads);
}
updates=0;
creates=0;
loads=0;
}
{code}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira