for how many decades has this code fragment been rejected by the Java compiler?
This commit is contained in:
parent
bbec4bcd39
commit
05349f6a9b
|
@ -81,7 +81,7 @@ import jakarta.persistence.criteria.CriteriaUpdate;
|
|||
* use the following idiom:
|
||||
* <pre>
|
||||
* Session session = factory.openSession();
|
||||
* Transaction tx;
|
||||
* Transaction tx = null;
|
||||
* try {
|
||||
* tx = session.beginTransaction();
|
||||
* //do some work
|
||||
|
|
Loading…
Reference in New Issue