cobse wrote:
I am trying to use EhCacheProvider in hibernate. i have made a simple class where i am storing the data and then getting the list of data. when i execute my project it stores my data but gives me few warnings. I am not sure if my cache is working properly or not.
WARN - Could not find configuration [test.Customer]; using defaults.INFO - Not binding factory to JNDI, no JNDI name configured
INFO - Running hbm2ddl schema update
INFO - fetching database metadata
INFO - updating schema
INFO - table found: KITE.CUSTOMER
INFO - columns: [customer_id,name,dob]
INFO - foreign keys: []
INFO - indexes: [pk_cust]
INFO - schema update complete
INFO - starting update timestamps cache at region: org.hibernate.cache.UpdateTimestampsCache
WARN - Could not find configuration [org.hibernate.cache.UpdateTimestampsCache]; using defaults.
INFO - starting query cache at region: org.hibernate.cache.StandardQueryCache
WARN - Could not find configuration [org.hibernate.cache.StandardQueryCache]; using defaults.Hibernate: select customer0_.CUSTOMER_ID as CUSTOMER1_0_, customer0_.NAME as NAME0_, customer0_.DOB as DOB0_, customer0_.rowid as rowid_ from CUSTOMER customer0_
I have no idea if the cache is working. or why this warning is displayed.
If possible i need the help ASAP