How to get the actual execution plan for an Oracle SQL query using Hibernate query hints

Introduction While answering this question on the Hibernate forum, I realized that it’s a good idea to write an article about getting the actual execution plan for an Oracle SQL query using Hibernate query hints feature.