Reputation: 1321
I am using JProfiler to view all the JDBC calls in my application that's using Hibernate. It turns out that the top 2 hot spots are "unknown
" and "select 1
". Any ideas what they are?
Upvotes: 0
Views: 279
Reputation: 48090
Adding to Roger Lindsjö's answer, the "unknown" hot spot is a bug that has been fixed in JProfiler 7.0.1.
Upvotes: 0
Reputation: 11553
The "select 1" is a check to see if the connection is still valid. Can also be "select 1 from dual" or "select 1+1" depending on database used.
Upvotes: 2