Skip to content

Instantly share code, notes, and snippets.

@thjanssen
Created December 9, 2015 04:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thjanssen/896633b8ae79e3ad64f4 to your computer and use it in GitHub Desktop.
Save thjanssen/896633b8ae79e3ad64f4 to your computer and use it in GitHub Desktop.
2015-12-09 04:51:31,426 DEBUG [org.hibernate.SQL] (default task-1) select nextval ('hibernate_sequence')
2015-12-09 04:51:31,456 DEBUG [org.hibernate.SQL] (default task-1) select nextval ('hibernate_sequence')
2015-12-09 04:51:31,591 DEBUG [org.hibernate.SQL] (default task-1) insert into Author (firstName, lastName, version, id) values (?, ?, ?, ?)
2015-12-09 04:51:31,595 DEBUG [org.hibernate.SQL] (default task-1) insert into Author (firstName, lastName, version, id) values (?, ?, ?, ?)
2015-12-09 04:51:31,599 DEBUG [org.hibernate.SQL] (default task-1) update Author set firstName=?, lastName=?, version=? where id=? and version=?
2015-12-09 04:51:31,603 DEBUG [org.hibernate.SQL] (default task-1) select author0_.id as id1_0_, author0_.firstName as firstNam2_0_, author0_.lastName as lastName3_0_, author0_.version as version4_0_ from Author author0_ where author0_.lastName=?
2015-12-09 04:51:31,615 INFO [org.hibernate.engine.internal.StatisticalLoggingSessionEventListener] (default task-1) Session Metrics {
894341 nanoseconds spent acquiring 4 JDBC connections;
380223 nanoseconds spent releasing 4 JDBC connections;
3930993 nanoseconds spent preparing 6 JDBC statements;
10169453 nanoseconds spent executing 6 JDBC statements;
0 nanoseconds spent executing 0 JDBC batches;
0 nanoseconds spent performing 0 L2C puts;
0 nanoseconds spent performing 0 L2C hits;
0 nanoseconds spent performing 0 L2C misses;
561237 nanoseconds spent executing 1 flushes (flushing a total of 2 entities and 2 collections);
31641099 nanoseconds spent executing 1 partial-flushes (flushing a total of 2 entities and 2 collections)
}
2015-12-09 04:58:41,080 DEBUG [org.hibernate.SQL] (default task-2) select nextval ('hibernate_sequence')
2015-12-09 04:58:41,131 DEBUG [org.hibernate.SQL] (default task-2) select nextval ('hibernate_sequence')
2015-12-09 04:58:41,333 DEBUG [org.hibernate.SQL] (default task-2) insert into Author (firstName, lastName, version, id) values (?, ?, ?, ?)
2015-12-09 04:58:41,338 TRACE [org.hibernate.type.descriptor.sql.BasicBinder] (default task-2) binding parameter [1] as [VARCHAR] - [1.]
2015-12-09 04:58:41,339 TRACE [org.hibernate.type.descriptor.sql.BasicBinder] (default task-2) binding parameter [2] as [VARCHAR] - [author]
2015-12-09 04:58:41,339 TRACE [org.hibernate.type.descriptor.sql.BasicBinder] (default task-2) binding parameter [3] as [INTEGER] - [0]
2015-12-09 04:58:41,340 TRACE [org.hibernate.type.descriptor.sql.BasicBinder] (default task-2) binding parameter [4] as [BIGINT] - [1]
2015-12-09 04:58:41,345 DEBUG [org.hibernate.SQL] (default task-2) insert into Author (firstName, lastName, version, id) values (?, ?, ?, ?)
2015-12-09 04:58:41,346 TRACE [org.hibernate.type.descriptor.sql.BasicBinder] (default task-2) binding parameter [1] as [VARCHAR] - [2.]
2015-12-09 04:58:41,346 TRACE [org.hibernate.type.descriptor.sql.BasicBinder] (default task-2) binding parameter [2] as [VARCHAR] - [author]
2015-12-09 04:58:41,346 TRACE [org.hibernate.type.descriptor.sql.BasicBinder] (default task-2) binding parameter [3] as [INTEGER] - [0]
2015-12-09 04:58:41,346 TRACE [org.hibernate.type.descriptor.sql.BasicBinder] (default task-2) binding parameter [4] as [BIGINT] - [2]
2015-12-09 04:58:41,349 DEBUG [org.hibernate.SQL] (default task-2) update Author set firstName=?, lastName=?, version=? where id=? and version=?
2015-12-09 04:58:41,349 TRACE [org.hibernate.type.descriptor.sql.BasicBinder] (default task-2) binding parameter [1] as [VARCHAR] - [1.]
2015-12-09 04:58:41,349 TRACE [org.hibernate.type.descriptor.sql.BasicBinder] (default task-2) binding parameter [2] as [VARCHAR] - [author - updated]
2015-12-09 04:58:41,349 TRACE [org.hibernate.type.descriptor.sql.BasicBinder] (default task-2) binding parameter [3] as [INTEGER] - [1]
2015-12-09 04:58:41,350 TRACE [org.hibernate.type.descriptor.sql.BasicBinder] (default task-2) binding parameter [4] as [BIGINT] - [1]
2015-12-09 04:58:41,350 TRACE [org.hibernate.type.descriptor.sql.BasicBinder] (default task-2) binding parameter [5] as [INTEGER] - [0]
2015-12-09 04:58:41,358 DEBUG [org.hibernate.SQL] (default task-2) select author0_.id as id1_0_, author0_.firstName as firstNam2_0_, author0_.lastName as lastName3_0_, author0_.version as version4_0_ from Author author0_ where author0_.lastName=?
2015-12-09 04:58:41,359 TRACE [org.hibernate.type.descriptor.sql.BasicBinder] (default task-2) binding parameter [1] as [VARCHAR] - [author]
2015-12-09 04:58:41,364 TRACE [org.hibernate.type.descriptor.sql.BasicExtractor] (default task-2) extracted value ([id1_0_] : [BIGINT]) - [2]
2015-12-09 04:58:41,366 DEBUG [org.hibernate.stat.internal.ConcurrentStatisticsImpl] (default task-2) HHH000117: HQL: SELECT a FROM Author a WHERE a.lastName = :lastName, time: 10ms, rows: 1
2015-12-09 04:58:41,378 INFO [org.hibernate.engine.internal.StatisticalLoggingSessionEventListener] (default task-2) Session Metrics {
1245173 nanoseconds spent acquiring 4 JDBC connections;
597627 nanoseconds spent releasing 4 JDBC connections;
5779858 nanoseconds spent preparing 6 JDBC statements;
16057081 nanoseconds spent executing 6 JDBC statements;
0 nanoseconds spent executing 0 JDBC batches;
0 nanoseconds spent performing 0 L2C puts;
0 nanoseconds spent performing 0 L2C hits;
0 nanoseconds spent performing 0 L2C misses;
1564280 nanoseconds spent executing 1 flushes (flushing a total of 2 entities and 2 collections);
51478018 nanoseconds spent executing 1 partial-flushes (flushing a total of 2 entities and 2 collections)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment