I have setup hibernate logging statistics to get the query execution time and number of rows returned (e.g. HQL: Select p From Product p, time: 0ms, rows: 10) If the database is on a different server to the application, does the execution time include network transport latency or is it just the time executing the query on the database ? Thanks.