Glossary

try-with-resources

Connections, statements, and result sets are `AutoCloseable`. Always use try-with-resources to prevent resource leaks. A leaked connection is one of the most common and damaging application bugs.

Learn More

Related Terms