Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within EhCache
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Tim Cooke
Campbell Ritchie
paul wheaton
Jeanne Boyarsky
Ron McLeod
Sheriffs:
Paul Clapham
Devaka Cooray
Saloon Keepers:
Tim Holloway
Carey Brown
Piet Souris
Bartenders:
Forum:
EhCache
I am running Ehcache as a Hibernate second session Does this logging say its working
Tony Evans
Ranch Hand
Posts: 681
1
posted 6 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I am running Ehcache as a Hibernate second session Does this logging of my second search say its working
2019-01-23_09:22:45.670 [http-apr-8080-exec-4] INFO c.c.s.s.b.c.BankServiceController - Find Funds 2019-01-23_09:22:45.672 [http-apr-8080-exec-4] DEBUG o.h.e.t.spi.AbstractTransactionImpl - begin 2019-01-23_09:22:45.672 [http-apr-8080-exec-4] DEBUG o.h.e.j.i.LogicalConnectionImpl - Obtaining JDBC connection 2019-01-23_09:22:45.673 [http-apr-8080-exec-4] DEBUG o.h.e.j.i.LogicalConnectionImpl - Obtained JDBC connection 2019-01-23_09:22:45.673 [http-apr-8080-exec-4] DEBUG o.h.e.t.i.jdbc.JdbcTransaction - initial autocommit status: true 2019-01-23_09:22:45.673 [http-apr-8080-exec-4] DEBUG o.h.e.t.i.jdbc.JdbcTransaction - disabling autocommit 2019-01-23_09:22:45.674 [http-apr-8080-exec-4] DEBUG org.hibernate.SQL - select fund0_.FUND_ID as FUND_ID1_4_, fund0_.BUY as BUY2_4_, fund0_.EFFECTIVE_DATE as EFFECTIV3_4_, fund0_.FUND_NAME as FUND_NAM4_4_, fund0_.SELL as SELL5_4_, fund0_.YEILD as YEILD6_4_ from Fund fund0_ where fund0_.FUND_ID in (?) 2019-01-23_09:22:45.675 [http-apr-8080-exec-4] TRACE o.h.type.descriptor.sql.BasicBinder - binding parameter [1] as [BIGINT] - [123411] 2019-01-23_09:22:45.676 [http-apr-8080-exec-4] DEBUG org.hibernate.loader.Loader - Result set row: 0 2019-01-23_09:22:45.677 [http-apr-8080-exec-4] TRACE o.h.t.descriptor.sql.BasicExtractor - extracted value ([FUND_ID1_4_] : [BIGINT]) - [123411] 2019-01-23_09:22:45.678 [http-apr-8080-exec-4] DEBUG org.hibernate.loader.Loader - Result row: EntityKey[com.cav.spring.service.bank.entity.Fund#123411] 2019-01-23_09:22:45.678 [http-apr-8080-exec-4] TRACE o.h.t.descriptor.sql.BasicExtractor - extracted value ([BUY2_4_] : [NUMERIC]) - [10.2000] 2019-01-23_09:22:45.685 [http-apr-8080-exec-4] TRACE o.h.t.descriptor.sql.BasicExtractor - extracted value ([EFFECTIV3_4_] : [TIMESTAMP]) - [2014-01-11 00:00:00.0] 2019-01-23_09:22:45.685 [http-apr-8080-exec-4] TRACE o.h.t.descriptor.sql.BasicExtractor - extracted value ([FUND_NAM4_4_] : [VARCHAR]) - [Imp] 2019-01-23_09:22:45.685 [http-apr-8080-exec-4] TRACE o.h.t.descriptor.sql.BasicExtractor - extracted value ([SELL5_4_] : [NUMERIC]) - [10.1000] 2019-01-23_09:22:45.685 [http-apr-8080-exec-4] TRACE o.h.t.descriptor.sql.BasicExtractor - extracted value ([YEILD6_4_] : [FLOAT]) - [5.0] 2019-01-23_09:22:45.686 [http-apr-8080-exec-4] DEBUG o.h.engine.internal.TwoPhaseLoad - Resolving associations for [com.cav.spring.service.bank.entity.Fund#123411] 2019-01-23_09:22:45.686 [http-apr-8080-exec-4] TRACE org.hibernate.type.CollectionType - Created collection wrapper: [com.cav.spring.service.bank.entity.Fund.accounts#123411] 2019-01-23_09:22:45.686 [http-apr-8080-exec-4] DEBUG o.h.engine.internal.TwoPhaseLoad - Adding entity to second-level cache: [com.cav.spring.service.bank.entity.Fund#123411] 2019-01-23_09:22:45.686 [http-apr-8080-exec-4] DEBUG net.sf.ehcache.Cache - Cache: fund store hit for com.cav.spring.service.bank.entity.Fund#123411 2019-01-23_09:22:45.686 [http-apr-8080-exec-4] DEBUG o.h.engine.internal.TwoPhaseLoad - Done materializing entity [com.cav.spring.service.bank.entity.Fund#123411] 2019-01-23_09:22:45.687 [http-apr-8080-exec-4] DEBUG o.h.e.t.spi.AbstractTransactionImpl - committing 2019-01-23_09:22:45.687 [http-apr-8080-exec-4] DEBUG o.h.e.i.AbstractFlushingEventListener - Processing flush-time cascades 2019-01-23_09:22:45.688 [http-apr-8080-exec-4] DEBUG o.h.e.i.AbstractFlushingEventListener - Dirty checking collections 2019-01-23_09:22:45.688 [http-apr-8080-exec-4] DEBUG o.h.engine.internal.Collections - Collection found: [com.cav.spring.service.bank.entity.Fund.accounts#123411], was: [com.cav.spring.service.bank.entity.Fund.accounts#123411] (uninitialized) 2019-01-23_09:22:45.688 [http-apr-8080-exec-4] DEBUG o.h.e.i.AbstractFlushingEventListener - Flushed: 0 insertions, 0 updates, 0 deletions to 1 objects 2019-01-23_09:22:45.688 [http-apr-8080-exec-4] DEBUG o.h.e.i.AbstractFlushingEventListener - Flushed: 0 (re)creations, 0 updates, 0 removals to 1 collections 2019-01-23_09:22:45.689 [http-apr-8080-exec-4] DEBUG o.h.internal.util.EntityPrinter - Listing entities: 2019-01-23_09:22:45.689 [http-apr-8080-exec-4] DEBUG o.h.internal.util.EntityPrinter - com.cav.spring.service.bank.entity.Fund{fundId=123411, buy=10.2000, sell=10.1000, accounts=<uninitialized>, fundName=Imp, yeild=5.0, effectiveDate=2014-01-11 00:00:00.0} 2019-01-23_09:22:45.690 [http-apr-8080-exec-4] DEBUG o.h.e.t.i.jdbc.JdbcTransaction - committed JDBC Connection 2019-01-23_09:22:45.690 [http-apr-8080-exec-4] DEBUG o.h.e.t.i.jdbc.JdbcTransaction - re-enabling autocommit 2019-01-23_09:22:45.690 [http-apr-8080-exec-4] DEBUG o.h.e.j.i.LogicalConnectionImpl - Releasing JDBC connection 2019-01-23_09:22:45.691 [http-apr-8080-exec-4] DEBUG o.h.e.j.i.LogicalConnectionImpl - Released JDBC connection
Does this say its just adding it and hit just means its added
2019-01-23_09:22:45.686 [http-apr-8080-exec-4] DEBUG o.h.engine.internal.TwoPhaseLoad - Adding entity to second-level cache: [com.cav.spring.service.bank.entity.Fund#123411] 2019-01-23_09:22:45.686 [http-apr-8080-exec-4] DEBUG net.sf.ehcache.Cache - Cache: fund store hit for com.cav.spring.service.bank.entity.Fund#123411 2019-01-23_09:22:45.686 [http-apr-8080-exec-4] DEBUG o.h.engine.internal.TwoPhaseLoad - Done materializing entity [com.cav.spring.service.bank.entity.Fund#123411] 2019-01-23_09:22:45.687 [http-apr-8080-exec-4] DEBUG o.h.e.t.spi.AbstractTransactionImpl - committing
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
?
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Hibernate StackOverflowError: bidirectional many-to-many
No error/exception in log on insert yet no row inserted to db
entity was not persistent in delete processing
Hibernate Query Caching - Why the misses?
Transaction failure crashes program
More...