summaryrefslogtreecommitdiff
path: root/plugins/InspectionGadgets/src/inspectionDescriptions/HibernateResource.html
blob: 28eba4494126fb71055e68f6745fc398f0f9af4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

<html>
<body>
Reports any Hibernate resource which is not safely closed in a <b>finally</b> block. Such resources may
be inadvertently leaked if an exception is thrown before the resource is closed. Hibernate resources reported
by this inspection include <b>org.hibernate.Session</b>.
<!-- tooltip end -->
<p>
Use the checkbox below to specify if a Hibernate resource is allowed to be opened inside a try
block. This style is less desirable because it is more verbose than opening a resource
in front of a try block.
<p>

</body>
</html>