I can insert/get/update my Object, but throw a QueryException when query since it's so simple.
Code:
session.find(""from Link link WHERE link.title like ?","%test%",net.sf.hibernate.Hibernate.STRING);
The 'Link' class has public setter and getter method for 'title'. My Hibernate is 2.1.2 release. Database is Oracle 8.1.7.
net.sf.hibernate.QueryException: in expected: link [from Link link WHERE link.title like ?]
at net.sf.hibernate.hql.FromParser.token(FromParser.java:102)
at net.sf.hibernate.hql.ClauseParser.token(ClauseParser.java:87)
at net.sf.hibernate.hql.PreprocessingParser.token(PreprocessingParser.java:123)
at net.sf.hibernate.hql.ParserHelper.parse(ParserHelper.java:29)
at net.sf.hibernate.hql.QueryTranslator.compile(QueryTranslator.java:149)
at net.sf.hibernate.hql.QueryTranslator.compile(QueryTranslator.java:138)
at net.sf.hibernate.impl.SessionFactoryImpl.getQuery(SessionFactoryImpl.java:293)
at net.sf.hibernate.impl.SessionImpl.getQueries(SessionImpl.java:1530)
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1501)
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1491)
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1487)
at com.palsh.web.links.test.LinkDaoImplTest.main(LinkDaoImplTest.java:46)
Following is DEBUG LOG:
2004-02-20 14:21:08,049 [main] INFO net.sf.hibernate.cfg.Environment - Hibernate 2.1.2
2004-02-20 14:21:08,059 [main] INFO net.sf.hibernate.cfg.Environment - loaded properties from resource hibernate.properties: {hibernate.cglib.use_reflection_optimizer=true, hibernate.cache.provider_class=net.sf.ehcache.hibernate.Provider, hibernate.cache.use_query_cache=true, hibernate.dialect=net.sf.hibernate.dialect.OracleDialect, hibernate.query.imports=com.palsh.web.links, hibernate.palsh.dsName=rept02, hibernate.connection.provider_class=com.palsh.fwk.db.PseudoDataSourceProvider, hibernate.show_sql=true, hibernate.transaction.factory_class=net.sf.hibernate.transaction.JDBCTransactionFactory}
2004-02-20 14:21:08,059 [main] INFO net.sf.hibernate.cfg.Environment - using CGLIB reflection optimizer
2004-02-20 14:21:08,069 [main] INFO net.sf.hibernate.cfg.Environment - JVM does not support Statement.getGeneratedKeys()
2004-02-20 14:21:08,069 [main] INFO net.sf.hibernate.cfg.Environment - JVM does not support LinkedHasMap, LinkedHashSet - ordered maps and sets disabled
2004-02-20 14:21:08,069 [main] INFO net.sf.hibernate.cfg.Environment - using workaround for JVM bug in java.sql.Timestamp
2004-02-20 14:21:08,069 [main] INFO net.sf.hibernate.cfg.Configuration - configuring from resource: /hibernate.cfg.xml
2004-02-20 14:21:08,069 [main] INFO net.sf.hibernate.cfg.Configuration - Configuration resource: /hibernate.cfg.xml
2004-02-20 14:21:08,630 [main] DEBUG net.sf.hibernate.util.DTDEntityResolver - trying to locate
http://hibernate.sourceforge.net/hibern ... on-2.0.dtd in classpath under net/sf/hibernate/
2004-02-20 14:21:08,640 [main] DEBUG net.sf.hibernate.util.DTDEntityResolver - found
http://hibernate.sourceforge.net/hibern ... on-2.0.dtd in classpath
2004-02-20 14:21:08,740 [main] DEBUG net.sf.hibernate.cfg.Configuration - null<-org.dom4j.tree.DefaultAttribute@5b4f6f [Attribute: name resource value "com/palsh/web/links/Link.hbm.xml"]
2004-02-20 14:21:08,740 [main] INFO net.sf.hibernate.cfg.Configuration - Mapping resource: com/palsh/web/links/Link.hbm.xml
2004-02-20 14:21:08,740 [main] DEBUG net.sf.hibernate.util.DTDEntityResolver - trying to locate
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath under net/sf/hibernate/
2004-02-20 14:21:08,740 [main] DEBUG net.sf.hibernate.util.DTDEntityResolver - found
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath
2004-02-20 14:21:09,041 [main] INFO net.sf.hibernate.cfg.Binder - Mapping class: com.palsh.web.links.Link -> web_links
2004-02-20 14:21:09,171 [main] DEBUG net.sf.hibernate.cfg.Binder - Mapped property: linkId -> LINK_ID, type: long
2004-02-20 14:21:09,191 [main] DEBUG net.sf.hibernate.cfg.Binder - Mapped property: visitCount -> VISIT_COUNT, type: integer
2004-02-20 14:21:09,191 [main] DEBUG net.sf.hibernate.cfg.Binder - Mapped property: parentId -> PARENT_ID, type: long
2004-02-20 14:21:09,191 [main] DEBUG net.sf.hibernate.cfg.Binder - Mapped property: title -> TITLE, type: string
2004-02-20 14:21:09,191 [main] DEBUG net.sf.hibernate.cfg.Binder - Mapped property: href -> HREF, type: string
2004-02-20 14:21:09,191 [main] DEBUG net.sf.hibernate.cfg.Binder - Mapped property: target -> TARGET, type: string
2004-02-20 14:21:09,191 [main] DEBUG net.sf.hibernate.cfg.Binder - Mapped property: tips -> TIPS, type: string
2004-02-20 14:21:09,191 [main] DEBUG net.sf.hibernate.cfg.Binder - Mapped property: icon -> ICON, type: string
2004-02-20 14:21:09,191 [main] DEBUG net.sf.hibernate.cfg.Binder - Mapped property: lcu -> lcu, type: string
2004-02-20 14:21:09,201 [main] DEBUG net.sf.hibernate.cfg.Binder - Mapped property: lcd -> lcd, type: timestamp
2004-02-20 14:21:09,201 [main] DEBUG net.sf.hibernate.cfg.Binder - Named query: web_links_byParentId -> from Link l where l.parentId= ?
2004-02-20 14:21:09,201 [main] DEBUG net.sf.hibernate.cfg.Binder - Named query: web_links_likeTitle -> from Link link where link.title like ?
2004-02-20 14:21:09,201 [main] DEBUG net.sf.hibernate.cfg.Binder - Named query: web_links_likeHref -> from Link link where link.href like ?
2004-02-20 14:21:09,201 [main] DEBUG net.sf.hibernate.cfg.Binder - Named query: web_links_likeTips -> from Link link where link.tips like ?
2004-02-20 14:21:09,201 [main] DEBUG net.sf.hibernate.cfg.Configuration - null<-org.dom4j.tree.DefaultAttribute@3d928a [Attribute: name resource value "com/palsh/web/links/LinkCategory.hbm.xml"]
2004-02-20 14:21:09,201 [main] INFO net.sf.hibernate.cfg.Configuration - Mapping resource: com/palsh/web/links/LinkCategory.hbm.xml
2004-02-20 14:21:09,201 [main] DEBUG net.sf.hibernate.util.DTDEntityResolver - trying to locate
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath under net/sf/hibernate/
2004-02-20 14:21:09,201 [main] DEBUG net.sf.hibernate.util.DTDEntityResolver - found
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath
2004-02-20 14:21:09,271 [main] INFO net.sf.hibernate.cfg.Binder - Mapping class: com.palsh.web.links.LinkCategory -> web_link_cat
2004-02-20 14:21:09,271 [main] DEBUG net.sf.hibernate.cfg.Binder - Mapped property: catId -> CAT_ID, type: integer
2004-02-20 14:21:09,281 [main] DEBUG net.sf.hibernate.cfg.Binder - Mapped property: parent -> PARENT_ID, type: com.palsh.web.links.LinkCategory
2004-02-20 14:21:09,281 [main] DEBUG net.sf.hibernate.cfg.Binder - Mapped property: name -> NAME, type: string
2004-02-20 14:21:09,281 [main] DEBUG net.sf.hibernate.cfg.Binder - Mapped property: descr -> DESCR, type: string
2004-02-20 14:21:09,281 [main] DEBUG net.sf.hibernate.cfg.Binder - Mapped property: lcu -> lcu, type: string
2004-02-20 14:21:09,281 [main] DEBUG net.sf.hibernate.cfg.Binder - Mapped property: lcd -> lcd, type: timestamp
2004-02-20 14:21:09,301 [main] DEBUG net.sf.hibernate.cfg.Binder - Mapped property: children, type: java.util.Set
2004-02-20 14:21:09,311 [main] INFO net.sf.hibernate.cfg.Binder - Mapping collection: com.palsh.web.links.LinkCategory.links -> web_cat_links
2004-02-20 14:21:09,311 [main] DEBUG net.sf.hibernate.cfg.Binder - Mapped property: links, type: java.util.Set
2004-02-20 14:21:09,311 [main] DEBUG net.sf.hibernate.cfg.Binder - Named query: web_linkCat_likeName ->
from linkCategory cat where cat.name like ?
2004-02-20 14:21:09,311 [main] INFO net.sf.hibernate.cfg.Configuration - Configured SessionFactory: null
2004-02-20 14:21:09,311 [main] DEBUG net.sf.hibernate.cfg.Configuration - properties: {java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, hibernate.cache.provider_class=net.sf.ehcache.hibernate.Provider, sun.boot.library.path=E:\java\jdk\v13_08\jre\bin, java.vm.version=1.3.1_08-b03, java.vm.vendor=Sun Microsystems Inc., java.vendor.url=http://java.sun.com/, path.separator=;, hibernate.cache.use_query_cache=true, java.vm.name=Java HotSpot(TM) Client VM, file.encoding.pkg=sun.io, java.vm.specification.name=Java Virtual Machine Specification, user.dir=F:\dev\eclipse\workspace\web_04, java.runtime.version=1.3.1_08-b03, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, os.arch=x86, java.io.tmpdir=f:\sys\TEMP\, hibernate.palsh.dsName=rept02, line.separator=
, java.vm.specification.vendor=Sun Microsystems Inc., java.awt.fonts=, os.name=Windows NT, java.library.path=E:\java\jdk\v13_08\bin;.;D:\WINNT\System32;D:\WINNT;E:\java\jdk\v13_08\bin;F:\oracle\bin;E:\Program Files\oracle\jre\1.1.8\bin;F:\oracle\Apache\Perl\5.00503\bin\mswin32-x86;D:\WINNT\system32;D:\WINNT;e:\java\jdk\bin;f:\resources\java_app\ant-1_5_0\bin;f:\cvs;F:\ORANT\oradev\BIN;F:\ORANT\BIN;f:\resources\java_app\ant-1_5_0\bin;F:\resources\java_app\maven-1.0-rc1\bin;D:\WINNT\System32\WBEM;C:\WINDOWS;C:\WINDOWS\COMMAND;c:\;c:\dos;c:\net;c:\fox;C:\UCDOS, java.specification.name=Java Platform API Specification, java.class.version=47.0, hibernate.transaction.factory_class=net.sf.hibernate.transaction.JDBCTransactionFactory, os.version=4.0, user.home=D:\WINNT\Profiles\zhangyj1, user.timezone=Asia/Shanghai, java.awt.printerjob=sun.awt.windows.WPrinterJob, file.encoding=GBK, java.specification.version=1.3, user.name=zhangyj1, java.class.path=F:\dev\eclipse\workspace\web_04\build\classes;E:\data\projects\pa_base.jar;E:\data\projects\web_fwk.jar;E:\data\projects\third-parts\commons-logging.jar;E:\data\projects\third-parts\xerces.jar;E:\data\projects\third-parts\commons-collections-2.1.jar;E:\data\projects\third-parts\odmg.jar;E:\data\projects\third-parts\dom4j.jar;E:\data\projects\third-parts\jta.jar;E:\data\projects\third-parts\ehcache-0.7.jar;E:\data\projects\third-parts\jdbc2_0-stdext.jar;E:\data\projects\third-parts\jaxp.jar;E:\data\projects\third-parts\junit.jar;E:\data\projects\third-parts\ognl-2.6.3-modified.jar;E:\data\projects\third-parts\oscore-2.2.1.jar;E:\data\projects\third-parts\spring.jar;E:\data\projects\third-parts\hibernate2.jar;E:\data\projects\third-parts\cglib2.jar;E:\data\projects\third-parts\xwork-1.0.jar;E:\data\projects\third-parts\webwork-2.0.jar;E:\data\projects\third-parts\oracle817.jar;E:\java\lib\log4j-1.2.4.jar, hibernate.show_sql=true, java.vm.specification.version=1.0, java.home=E:\java\jdk\v13_08\jre, hibernate.dialect=net.sf.hibernate.dialect.OracleDialect, user.language=zh, java.specification.vendor=Sun Microsystems Inc., awt.toolkit=sun.awt.windows.WToolkit, hibernate.cglib.use_reflection_optimizer=true, java.vm.info=mixed mode, java.version=1.3.1_08, java.ext.dirs=E:\java\jdk\v13_08\jre\lib\ext, sun.boot.class.path=E:\java\jdk\v13_08\jre\lib\rt.jar;E:\java\jdk\v13_08\jre\lib\i18n.jar;E:\java\jdk\v13_08\jre\lib\sunrsasign.jar;E:\java\jdk\v13_08\jre\classes, java.vendor=Sun Microsystems Inc., file.separator=\, hibernate.query.imports=com.palsh.web.links, hibernate.connection.provider_class=com.palsh.fwk.db.PseudoDataSourceProvider, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, sun.io.unicode.encoding=UnicodeLittle, sun.cpu.endian=little, user.region=CN, sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386}
2004-02-20 14:21:09,311 [main] INFO net.sf.hibernate.cfg.Configuration - processing one-to-many association mappings
2004-02-20 14:21:09,311 [main] DEBUG net.sf.hibernate.cfg.Binder - Second pass for collection: com.palsh.web.links.LinkCategory.children
2004-02-20 14:21:09,311 [main] INFO net.sf.hibernate.cfg.Binder - Mapping collection: com.palsh.web.links.LinkCategory.children -> web_link_cat
2004-02-20 14:21:09,311 [main] DEBUG net.sf.hibernate.cfg.Binder - Mapped collection key: PARENT_ID, one-to-many: com.palsh.web.links.LinkCategory
2004-02-20 14:21:09,311 [main] DEBUG net.sf.hibernate.cfg.Binder - Second pass for collection: com.palsh.web.links.LinkCategory.links
2004-02-20 14:21:09,311 [main] DEBUG net.sf.hibernate.cfg.Binder - Mapped collection key: CAT_ID, element: LINK_ID, type: com.palsh.web.links.Link
2004-02-20 14:21:09,311 [main] INFO net.sf.hibernate.cfg.Configuration - processing one-to-one association property references
2004-02-20 14:21:09,311 [main] INFO net.sf.hibernate.cfg.Configuration - processing foreign key constraints
2004-02-20 14:21:09,311 [main] DEBUG net.sf.hibernate.cfg.Configuration - resolving reference to class: com.palsh.web.links.LinkCategory
2004-02-20 14:21:09,311 [main] DEBUG net.sf.hibernate.cfg.Configuration - resolving reference to class: com.palsh.web.links.Link
2004-02-20 14:21:09,311 [main] DEBUG net.sf.hibernate.cfg.Configuration - resolving reference to class: com.palsh.web.links.LinkCategory
2004-02-20 14:21:09,361 [main] INFO net.sf.hibernate.dialect.Dialect - Using dialect: net.sf.hibernate.dialect.OracleDialect
2004-02-20 14:21:09,361 [main] INFO net.sf.hibernate.cfg.SettingsFactory - Use outer join fetching: true
2004-02-20 14:21:09,361 [main] INFO net.sf.hibernate.connection.ConnectionProviderFactory - Initializing connection provider: com.palsh.fwk.db.PseudoDataSourceProvider
2004-02-20 14:21:09,381 [main] INFO net.sf.hibernate.transaction.TransactionFactoryFactory - Transaction strategy: net.sf.hibernate.transaction.JDBCTransactionFactory
2004-02-20 14:21:09,391 [main] INFO net.sf.hibernate.transaction.TransactionManagerLookupFactory - No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommended)
2004-02-20 14:21:10,142 [main] INFO net.sf.hibernate.cfg.SettingsFactory - Use scrollable result sets: true
2004-02-20 14:21:10,142 [main] INFO net.sf.hibernate.cfg.SettingsFactory - Use JDBC3 getGeneratedKeys(): false
2004-02-20 14:21:10,142 [main] INFO net.sf.hibernate.cfg.SettingsFactory - Optimize cache for minimal puts: false
2004-02-20 14:21:10,142 [main] INFO net.sf.hibernate.cfg.SettingsFactory - echoing all SQL to stdout
2004-02-20 14:21:10,142 [main] INFO net.sf.hibernate.cfg.SettingsFactory - Query language substitutions: {}
2004-02-20 14:21:10,142 [main] INFO net.sf.hibernate.cfg.SettingsFactory - cache provider: net.sf.ehcache.hibernate.Provider
2004-02-20 14:21:10,152 [main] INFO net.sf.hibernate.cfg.Configuration - instantiating and configuring caches
2004-02-20 14:21:10,503 [main] INFO net.sf.hibernate.impl.SessionFactoryImpl - building session factory
2004-02-20 14:21:10,503 [main] DEBUG net.sf.hibernate.impl.SessionFactoryImpl - instantiating session factory with properties: {java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, hibernate.cache.provider_class=net.sf.ehcache.hibernate.Provider, sun.boot.library.path=E:\java\jdk\v13_08\jre\bin, java.vm.version=1.3.1_08-b03, java.vm.vendor=Sun Microsystems Inc., java.vendor.url=http://java.sun.com/, path.separator=;, hibernate.cache.use_query_cache=true, java.vm.name=Java HotSpot(TM) Client VM, file.encoding.pkg=sun.io, java.vm.specification.name=Java Virtual Machine Specification, user.dir=F:\dev\eclipse\workspace\web_04, java.runtime.version=1.3.1_08-b03, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, os.arch=x86, java.io.tmpdir=f:\sys\TEMP\, hibernate.palsh.dsName=rept02, line.separator=
, java.vm.specification.vendor=Sun Microsystems Inc., java.awt.fonts=, os.name=Windows NT, java.library.path=E:\java\jdk\v13_08\bin;.;D:\WINNT\System32;D:\WINNT;E:\java\jdk\v13_08\bin;F:\oracle\bin;E:\Program Files\oracle\jre\1.1.8\bin;F:\oracle\Apache\Perl\5.00503\bin\mswin32-x86;D:\WINNT\system32;D:\WINNT;e:\java\jdk\bin;f:\resources\java_app\ant-1_5_0\bin;f:\cvs;F:\ORANT\oradev\BIN;F:\ORANT\BIN;f:\resources\java_app\ant-1_5_0\bin;F:\resources\java_app\maven-1.0-rc1\bin;D:\WINNT\System32\WBEM;C:\WINDOWS;C:\WINDOWS\COMMAND;c:\;c:\dos;c:\net;c:\fox;C:\UCDOS, java.specification.name=Java Platform API Specification, java.class.version=47.0, hibernate.transaction.factory_class=net.sf.hibernate.transaction.JDBCTransactionFactory, os.version=4.0, user.home=D:\WINNT\Profiles\zhangyj1, user.timezone=Asia/Shanghai, java.awt.printerjob=sun.awt.windows.WPrinterJob, file.encoding=GBK, java.specification.version=1.3, user.name=zhangyj1, java.class.path=F:\dev\eclipse\workspace\web_04\build\classes;E:\data\projects\pa_base.jar;E:\data\projects\web_fwk.jar;E:\data\projects\third-parts\commons-logging.jar;E:\data\projects\third-parts\xerces.jar;E:\data\projects\third-parts\commons-collections-2.1.jar;E:\data\projects\third-parts\odmg.jar;E:\data\projects\third-parts\dom4j.jar;E:\data\projects\third-parts\jta.jar;E:\data\projects\third-parts\ehcache-0.7.jar;E:\data\projects\third-parts\jdbc2_0-stdext.jar;E:\data\projects\third-parts\jaxp.jar;E:\data\projects\third-parts\junit.jar;E:\data\projects\third-parts\ognl-2.6.3-modified.jar;E:\data\projects\third-parts\oscore-2.2.1.jar;E:\data\projects\third-parts\spring.jar;E:\data\projects\third-parts\hibernate2.jar;E:\data\projects\third-parts\cglib2.jar;E:\data\projects\third-parts\xwork-1.0.jar;E:\data\projects\third-parts\webwork-2.0.jar;E:\data\projects\third-parts\oracle817.jar;E:\java\lib\log4j-1.2.4.jar, hibernate.show_sql=true, java.vm.specification.version=1.0, java.home=E:\java\jdk\v13_08\jre, hibernate.dialect=net.sf.hibernate.dialect.OracleDialect, user.language=zh, java.specification.vendor=Sun Microsystems Inc., awt.toolkit=sun.awt.windows.WToolkit, hibernate.cglib.use_reflection_optimizer=true, java.vm.info=mixed mode, java.version=1.3.1_08, java.ext.dirs=E:\java\jdk\v13_08\jre\lib\ext, sun.boot.class.path=E:\java\jdk\v13_08\jre\lib\rt.jar;E:\java\jdk\v13_08\jre\lib\i18n.jar;E:\java\jdk\v13_08\jre\lib\sunrsasign.jar;E:\java\jdk\v13_08\jre\classes, java.vendor=Sun Microsystems Inc., file.separator=\, hibernate.query.imports=com.palsh.web.links, hibernate.connection.provider_class=com.palsh.fwk.db.PseudoDataSourceProvider, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, sun.io.unicode.encoding=UnicodeLittle, sun.cpu.endian=little, user.region=CN, sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386}
2004-02-20 14:21:10,934 [main] WARN net.sf.hibernate.xml.XMLDatabinder - no XSLT implementation found - databinding disabled
2004-02-20 14:21:10,944 [main] DEBUG net.sf.hibernate.impl.SessionFactoryObjectFactory - initializing class SessionFactoryObjectFactory
2004-02-20 14:21:10,944 [main] DEBUG net.sf.hibernate.impl.SessionFactoryObjectFactory - registered: 8a03f9abfad195a800fad195ab960000 (unnamed)
2004-02-20 14:21:10,944 [main] INFO net.sf.hibernate.impl.SessionFactoryObjectFactory - no JNDI name configured
2004-02-20 14:21:10,944 [main] DEBUG net.sf.hibernate.impl.SessionFactoryImpl - instantiated session factory
2004-02-20 14:21:10,944 [main] INFO net.sf.hibernate.cache.UpdateTimestampsCache - starting update timestamps cache at region: net.sf.hibernate.cache.UpdateTimestampsCache
2004-02-20 14:21:10,954 [main] DEBUG net.sf.ehcache.CacheManager - Creating new CacheManager with default config
2004-02-20 14:21:10,974 [main] DEBUG net.sf.ehcache.CacheManager - Configuring ehcache from classpath.
2004-02-20 14:21:10,974 [main] WARN net.sf.ehcache.config.Configurator - No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/E:/data/projects/third-parts/ehcache-0.7.jar!/ehcache-failsafe.xml
2004-02-20 14:21:10,984 [main] DEBUG net.sf.ehcache.config.Configuration$DiskStore - Disk Store Path: f:\sys\TEMP\
2004-02-20 14:21:10,994 [main] WARN net.sf.ehcache.hibernate.Plugin - Could not find configuration for net.sf.hibernate.cache.UpdateTimestampsCache. Configuring using the defaultCache settings.
2004-02-20 14:21:11,014 [main] DEBUG net.sf.ehcache.store.MemoryStore - net.sf.hibernate.cache.UpdateTimestampsCache Cache: Cannot find java.util.LinkedHashMap
2004-02-20 14:21:11,014 [main] DEBUG net.sf.ehcache.store.MemoryStore - net.sf.hibernate.cache.UpdateTimestampsCache Cache: Using SpoolingLRUMap implementation
2004-02-20 14:21:11,014 [main] DEBUG net.sf.ehcache.store.MemoryStore - initialized MemoryStore for net.sf.hibernate.cache.UpdateTimestampsCache
2004-02-20 14:21:11,024 [main] INFO net.sf.hibernate.cache.QueryCache - starting query cache at region: net.sf.hibernate.cache.QueryCache
2004-02-20 14:21:11,024 [main] DEBUG net.sf.ehcache.CacheManager - Attempting to create an existing instance. Existing instance returned.
2004-02-20 14:21:11,024 [main] WARN net.sf.ehcache.hibernate.Plugin - Could not find configuration for net.sf.hibernate.cache.QueryCache. Configuring using the defaultCache settings.
2004-02-20 14:21:11,024 [main] DEBUG net.sf.ehcache.store.MemoryStore - net.sf.hibernate.cache.QueryCache Cache: Cannot find java.util.LinkedHashMap
2004-02-20 14:21:11,024 [main] DEBUG net.sf.ehcache.store.MemoryStore - net.sf.hibernate.cache.QueryCache Cache: Using SpoolingLRUMap implementation
2004-02-20 14:21:11,024 [main] DEBUG net.sf.ehcache.store.MemoryStore - initialized MemoryStore for net.sf.hibernate.cache.QueryCache
2004-02-20 14:21:11,124 [main] DEBUG net.sf.hibernate.impl.SessionImpl - opened session
2004-02-20 14:21:11,164 [main] DEBUG net.sf.hibernate.impl.SessionImpl - find: from Link link WHERE link.title like ?
2004-02-20 14:21:11,174 [main] DEBUG net.sf.hibernate.engine.QueryParameters - parameters: [%test%]
2004-02-20 14:21:11,194 [main] DEBUG net.sf.hibernate.hql.QueryTranslator - compiling query