I am also facing same problem. I am trying to retrieve data from oracle 10g, program works fine for other calls except this one.. error highlighted in below stack..
in mapped class variable has Date datatype and database also has Date datatype for the mapped field.
Thanks in advance.
Error Stack:
17:42:27,782 INFO Version:15 - Hibernate Annotations 3.4.0.GA 17:42:27,798 INFO Environment:560 - Hibernate 3.3.2.GA 17:42:27,800 INFO Environment:593 - hibernate.properties not found 17:42:27,803 INFO Environment:771 - Bytecode provider name : javassist 17:42:27,807 INFO Environment:652 - using JDK 1.4 java.sql.Timestamp handling 17:42:27,865 INFO Version:14 - Hibernate Commons Annotations 3.1.0.GA 17:42:27,867 INFO Configuration:1474 - configuring from resource: /hibernate.cfg.xml 17:42:27,868 INFO Configuration:1451 - Configuration resource: /hibernate.cfg.xml 17:42:27,911 DEBUG DTDEntityResolver:64 - trying to resolve system-id [http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd] 17:42:27,911 DEBUG DTDEntityResolver:66 - recognized hibernate namespace; attempting to resolve on classpath under org/hibernate/ 17:42:27,914 DEBUG DTDEntityResolver:76 - located [http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd] in classpath 17:42:27,933 DEBUG Configuration:1435 - hibernate.connection.driver_class=oracle.jdbc.driver.OracleDriver 17:42:27,934 DEBUG Configuration:1435 - hibernate.connection.url=jdbc:oracle:thin:@localhost:1521:XE 17:42:27,934 DEBUG Configuration:1435 - hibernate.connection.username=amoghsa 17:42:27,935 DEBUG Configuration:1435 - hibernate.connection.password=mywebsite 17:42:27,935 DEBUG Configuration:1435 - hibernate.dialect=org.hibernate.dialect.Oracle10gDialect 17:42:27,936 DEBUG Configuration:1435 - show_sql=true 17:42:27,937 DEBUG Configuration:1435 - hbm2ddl.auto=update 17:42:27,937 DEBUG AnnotationConfiguration:644 - null <- org.dom4j.tree.DefaultAttribute@4d865b28 [Attribute: name class value "com.amoghsweb.footiecal.ClubDetails"] 17:42:27,948 DEBUG AnnotationConfiguration:644 - null <- org.dom4j.tree.DefaultAttribute@20b9b538 [Attribute: name class value "com.amoghsweb.footiecal.GameData"] 17:42:27,949 INFO Configuration:1589 - Configured SessionFactory: null 17:42:27,950 DEBUG Configuration:1590 - properties: {hibernate.connection.password=mywebsite, java.runtime.name=Java(TM) SE Runtime Environment, sun.boot.library.path=C:\Program Files\Java\jre6\bin, java.vm.version=16.3-b01, hibernate.connection.username=amoghsa, java.vm.vendor=Sun Microsystems Inc., java.vendor.url=http://java.sun.com/, path.separator=;, java.vm.name=Java HotSpot(TM) 64-Bit Server VM, file.encoding.pkg=sun.io, user.country=IN, sun.java.launcher=SUN_STANDARD, sun.os.patch.level=, java.vm.specification.name=Java Virtual Machine Specification, user.dir=C:\Amogh_WS\FootieCal\FootieCal, java.runtime.version=1.6.0_20-b02, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, hbm2ddl.auto=update, java.endorsed.dirs=C:\Program Files\Java\jre6\lib\endorsed, os.arch=amd64, java.io.tmpdir=C:\Users\Dell\AppData\Local\Temp\, line.separator= , java.vm.specification.vendor=Sun Microsystems Inc., user.variant=, os.name=Windows 7, sun.jnu.encoding=Cp1252, java.library.path=C:\Program Files\Java\jre6\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\Program Files (x86)\PC Connectivity Solution\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Dell\DW WLAN Card;c:\Program Files\WIDCOMM\Bluetooth Software\;c:\Program Files\WIDCOMM\Bluetooth Software\syswow64;c:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;c:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\QuickTime\QTSystem\, java.specification.name=Java Platform API Specification, java.class.version=50.0, sun.management.compiler=HotSpot 64-Bit Server Compiler, os.version=6.1, user.home=C:\Users\Dell, user.timezone=Asia/Calcutta, java.awt.printerjob=sun.awt.windows.WPrinterJob, file.encoding=Cp1252, java.specification.version=1.6, hibernate.connection.driver_class=oracle.jdbc.driver.OracleDriver, show_sql=true, user.name=Dell, java.class.path=C:\Amogh_WS\FootieCal\FootieCal\build\classes;C:\Amogh_WS\FootieCal\FootieCal\WebContent\WEB-INF\lib\antlr-2.7.6.jar;C:\Amogh_WS\FootieCal\FootieCal\WebContent\WEB-INF\lib\commons-collections-3.1.jar;C:\Amogh_WS\FootieCal\FootieCal\WebContent\WEB-INF\lib\dom4j-1.6.1.jar;C:\Amogh_WS\FootieCal\FootieCal\WebContent\WEB-INF\lib\ejb3-persistence.jar;C:\Amogh_WS\FootieCal\FootieCal\WebContent\WEB-INF\lib\hibernate-annotations.jar;C:\Amogh_WS\FootieCal\FootieCal\WebContent\WEB-INF\lib\hibernate-commons-annotations.jar;C:\Amogh_WS\FootieCal\FootieCal\WebContent\WEB-INF\lib\hibernate-entitymanager.jar;C:\Amogh_WS\FootieCal\FootieCal\WebContent\WEB-INF\lib\hibernate3.jar;C:\Amogh_WS\FootieCal\FootieCal\WebContent\WEB-INF\lib\javassist-3.9.0.GA.jar;C:\Amogh_WS\FootieCal\FootieCal\WebContent\WEB-INF\lib\jta-1.1.jar;C:\Amogh_WS\FootieCal\FootieCal\WebContent\WEB-INF\lib\jxl.jar;C:\Amogh_WS\FootieCal\FootieCal\WebContent\WEB-INF\lib\log4j-1.2.15.jar;C:\Amogh_WS\FootieCal\FootieCal\WebContent\WEB-INF\lib\ojdbc14.jar;C:\Amogh_WS\FootieCal\FootieCal\WebContent\WEB-INF\lib\slf4j-api-1.5.8.jar;C:\Amogh_WS\FootieCal\FootieCal\WebContent\WEB-INF\lib\slf4j-log4j12-1.5.8.jar, hibernate.bytecode.use_reflection_optimizer=false, hibernate.show_sql=true, java.vm.specification.version=1.0, java.home=C:\Program Files\Java\jre6, sun.arch.data.model=64, hibernate.dialect=org.hibernate.dialect.Oracle10gDialect, hibernate.connection.url=jdbc:oracle:thin:@localhost:1521:XE, user.language=en, java.specification.vendor=Sun Microsystems Inc., awt.toolkit=sun.awt.windows.WToolkit, java.vm.info=mixed mode, java.version=1.6.0_20, java.ext.dirs=C:\Program Files\Java\jre6\lib\ext;C:\Windows\Sun\Java\lib\ext, sun.boot.class.path=C:\Program Files\Java\jre6\lib\resources.jar;C:\Program Files\Java\jre6\lib\rt.jar;C:\Program Files\Java\jre6\lib\sunrsasign.jar;C:\Program Files\Java\jre6\lib\jsse.jar;C:\Program Files\Java\jre6\lib\jce.jar;C:\Program Files\Java\jre6\lib\charsets.jar;C:\Program Files\Java\jre6\classes, java.vendor=Sun Microsystems Inc., file.separator=\, hibernate.hbm2ddl.auto=update, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, sun.io.unicode.encoding=UnicodeLittle, sun.cpu.endian=little, sun.desktop=windows, sun.cpu.isalist=amd64} 17:42:27,951 DEBUG AnnotationConfiguration:806 - Validator not present in classpath, ignoring event listener registration 17:42:27,953 DEBUG HibernateSearchEventListenerRegister:209 - Search not present in classpath, ignoring event listener registration. 17:42:27,954 INFO HibernateSearchEventListenerRegister:53 - Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled. 17:42:27,954 DEBUG Configuration:1332 - Preparing to build session factory with filters : {} 17:42:27,954 DEBUG AnnotationConfiguration:258 - Execute first pass mapping processing 17:42:28,000 DEBUG AnnotationConfiguration:529 - Process hbm files 17:42:28,000 DEBUG AnnotationConfiguration:537 - Process annotated classes 17:42:28,003 INFO AnnotationBinder:419 - Binding entity from annotated class: com.amoghsweb.footiecal.GameData 17:42:28,017 DEBUG Ejb3Column:161 - Binding column DTYPE. Unique false. Nullable false. 17:42:28,027 DEBUG EntityBinder:295 - Import with entity name GameData 17:42:28,029 INFO EntityBinder:422 - Bind entity com.amoghsweb.footiecal.GameData on table GAME_DATA 17:42:28,033 DEBUG AnnotationBinder:1022 - Processing com.amoghsweb.footiecal.GameData property annotation 17:42:28,044 DEBUG AnnotationBinder:1022 - Processing com.amoghsweb.footiecal.GameData field annotation 17:42:28,056 DEBUG AnnotationBinder:1133 - Processing annotations of com.amoghsweb.footiecal.GameData.gameId 17:42:28,058 DEBUG Ejb3Column:161 - Binding column GAME_ID. Unique false. Nullable true. 17:42:28,060 DEBUG AnnotationBinder:1257 - gameId is an id 17:42:28,064 DEBUG SimpleValueBinder:220 - building SimpleValue for gameId 17:42:28,066 DEBUG PropertyBinder:131 - Building property gameId 17:42:28,069 DEBUG AnnotationBinder:1293 - Bind @Id on gameId 17:42:28,070 DEBUG AnnotationBinder:1133 - Processing annotations of com.amoghsweb.footiecal.GameData.gameDate 17:42:28,070 DEBUG Ejb3Column:161 - Binding column GAME_DATE. Unique false. Nullable true. 17:42:28,072 DEBUG PropertyBinder:110 - binding property gameDate with lazy=false 17:42:28,073 DEBUG SimpleValueBinder:220 - building SimpleValue for gameDate 17:42:28,073 DEBUG PropertyBinder:131 - Building property gameDate 17:42:28,073 DEBUG AnnotationBinder:1133 - Processing annotations of com.amoghsweb.footiecal.GameData.place 17:42:28,074 DEBUG Ejb3Column:161 - Binding column PLACE. Unique false. Nullable true. 17:42:28,074 DEBUG PropertyBinder:110 - binding property place with lazy=false 17:42:28,075 DEBUG SimpleValueBinder:220 - building SimpleValue for place 17:42:28,075 DEBUG PropertyBinder:131 - Building property place 17:42:28,075 DEBUG AnnotationBinder:1133 - Processing annotations of com.amoghsweb.footiecal.GameData.result 17:42:28,076 DEBUG Ejb3Column:161 - Binding column RESULT. Unique false. Nullable true. 17:42:28,076 DEBUG PropertyBinder:110 - binding property result with lazy=false 17:42:28,077 DEBUG SimpleValueBinder:220 - building SimpleValue for result 17:42:28,077 DEBUG PropertyBinder:131 - Building property result 17:42:28,078 DEBUG AnnotationBinder:1133 - Processing annotations of com.amoghsweb.footiecal.GameData.team1 17:42:28,078 DEBUG Ejb3Column:161 - Binding column TEAM1. Unique false. Nullable true. 17:42:28,078 DEBUG PropertyBinder:110 - binding property team1 with lazy=false 17:42:28,079 DEBUG SimpleValueBinder:220 - building SimpleValue for team1 17:42:28,079 DEBUG PropertyBinder:131 - Building property team1 17:42:28,080 DEBUG AnnotationBinder:1133 - Processing annotations of com.amoghsweb.footiecal.GameData.team2 17:42:28,080 DEBUG Ejb3Column:161 - Binding column TEAM2. Unique false. Nullable true. 17:42:28,081 DEBUG PropertyBinder:110 - binding property team2 with lazy=false 17:42:28,081 DEBUG SimpleValueBinder:220 - building SimpleValue for team2 17:42:28,081 DEBUG PropertyBinder:131 - Building property team2 17:42:28,083 DEBUG AnnotationConfiguration:401 - processing fk mappings (*ToOne and JoinedSubclass) 17:42:28,085 DEBUG Configuration:1167 - processing extends queue 17:42:28,085 DEBUG Configuration:1171 - processing collection mappings 17:42:28,086 DEBUG Configuration:1182 - processing native query and ResultSetMapping mappings 17:42:28,086 DEBUG Configuration:1190 - processing association property references 17:42:28,086 DEBUG Configuration:1212 - processing foreign key constraints 17:42:28,087 INFO AnnotationConfiguration:369 - Hibernate Validator not found: ignoring 17:42:28,134 INFO DriverManagerConnectionProvider:64 - Using Hibernate built-in connection pool (not for production use!) 17:42:28,134 INFO DriverManagerConnectionProvider:65 - Hibernate connection pool size: 20 17:42:28,135 INFO DriverManagerConnectionProvider:68 - autocommit mode: false 17:42:28,140 INFO DriverManagerConnectionProvider:103 - using driver: oracle.jdbc.driver.OracleDriver at URL: jdbc:oracle:thin:@localhost:1521:XE 17:42:28,141 INFO DriverManagerConnectionProvider:106 - connection properties: {user=amoghsa, password=mywebsite} 17:42:28,141 DEBUG DriverManagerConnectionProvider:132 - opening new JDBC connection 17:42:28,386 DEBUG DriverManagerConnectionProvider:138 - created connection to: jdbc:oracle:thin:@localhost:1521:XE, Isolation Level: 2 17:42:28,388 INFO SettingsFactory:114 - RDBMS: Oracle, version: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production 17:42:28,389 INFO SettingsFactory:115 - JDBC driver: Oracle JDBC driver, version: 10.2.0.1.0XE 17:42:28,409 INFO Dialect:175 - Using dialect: org.hibernate.dialect.Oracle10gDialect 17:42:28,414 INFO TransactionFactoryFactory:59 - Using default transaction strategy (direct JDBC transactions) 17:42:28,416 INFO TransactionManagerLookupFactory:80 - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended) 17:42:28,417 INFO SettingsFactory:161 - Automatic flush during beforeCompletion(): disabled 17:42:28,417 INFO SettingsFactory:165 - Automatic session close at end of transaction: disabled 17:42:28,417 INFO SettingsFactory:172 - JDBC batch size: 15 17:42:28,417 INFO SettingsFactory:175 - JDBC batch updates for versioned data: disabled 17:42:28,418 INFO SettingsFactory:180 - Scrollable result sets: enabled 17:42:28,418 DEBUG SettingsFactory:184 - Wrap result sets: disabled 17:42:28,418 INFO SettingsFactory:188 - JDBC3 getGeneratedKeys(): disabled 17:42:28,419 INFO SettingsFactory:196 - Connection release mode: auto 17:42:28,420 INFO SettingsFactory:223 - Default batch fetch size: 1 17:42:28,420 INFO SettingsFactory:227 - Generate SQL with comments: disabled 17:42:28,420 INFO SettingsFactory:231 - Order SQL updates by primary key: disabled 17:42:28,420 INFO SettingsFactory:235 - Order SQL inserts for batching: disabled 17:42:28,421 INFO SettingsFactory:397 - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory 17:42:28,423 INFO ASTQueryTranslatorFactory:47 - Using ASTQueryTranslatorFactory 17:42:28,423 INFO SettingsFactory:243 - Query language substitutions: {} 17:42:28,423 INFO SettingsFactory:248 - JPA-QL strict compliance: disabled 17:42:28,423 INFO SettingsFactory:253 - Second-level cache: enabled 17:42:28,424 INFO SettingsFactory:257 - Query cache: disabled 17:42:28,424 INFO SettingsFactory:382 - Cache region factory : org.hibernate.cache.impl.NoCachingRegionFactory 17:42:28,424 INFO SettingsFactory:267 - Optimize cache for minimal puts: disabled 17:42:28,424 INFO SettingsFactory:276 - Structured second-level cache entries: disabled 17:42:28,429 INFO SettingsFactory:296 - Echoing all SQL to stdout 17:42:28,429 INFO SettingsFactory:305 - Statistics: disabled 17:42:28,430 INFO SettingsFactory:309 - Deleted entity synthetic identifier rollback: disabled 17:42:28,430 INFO SettingsFactory:324 - Default entity-mode: pojo 17:42:28,430 INFO SettingsFactory:328 - Named query checking : enabled 17:42:28,464 INFO SessionFactoryImpl:193 - building session factory 17:42:28,465 DEBUG SessionFactoryImpl:211 - Session factory constructed with filter configurations : {} 17:42:28,465 DEBUG SessionFactoryImpl:215 - instantiating session factory with properties: {java.runtime.name=Java(TM) SE Runtime Environment, hibernate.connection.password=mywebsite, sun.boot.library.path=C:\Program Files\Java\jre6\bin, java.vm.version=16.3-b01, hibernate.connection.username=amoghsa, java.vm.vendor=Sun Microsystems Inc., java.vendor.url=http://java.sun.com/, path.separator=;, java.vm.name=Java HotSpot(TM) 64-Bit Server VM, file.encoding.pkg=sun.io, user.country=IN, sun.java.launcher=SUN_STANDARD, sun.os.patch.level=, java.vm.specification.name=Java Virtual Machine Specification, user.dir=C:\Amogh_WS\FootieCal\FootieCal, java.runtime.version=1.6.0_20-b02, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, hbm2ddl.auto=update, java.endorsed.dirs=C:\Program Files\Java\jre6\lib\endorsed, os.arch=amd64, java.io.tmpdir=C:\Users\Dell\AppData\Local\Temp\, line.separator= , java.vm.specification.vendor=Sun Microsystems Inc., user.variant=, os.name=Windows 7, sun.jnu.encoding=Cp1252, java.library.path=C:\Program Files\Java\jre6\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\Program Files (x86)\PC Connectivity Solution\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Dell\DW WLAN Card;c:\Program Files\WIDCOMM\Bluetooth Software\;c:\Program Files\WIDCOMM\Bluetooth Software\syswow64;c:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;c:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\QuickTime\QTSystem\, java.specification.name=Java Platform API Specification, java.class.version=50.0, sun.management.compiler=HotSpot 64-Bit Server Compiler, os.version=6.1, user.home=C:\Users\Dell, user.timezone=Asia/Calcutta, java.awt.printerjob=sun.awt.windows.WPrinterJob, java.specification.version=1.6, file.encoding=Cp1252, hibernate.connection.driver_class=oracle.jdbc.driver.OracleDriver, show_sql=true, java.class.path=C:\Amogh_WS\FootieCal\FootieCal\build\classes;C:\Amogh_WS\FootieCal\FootieCal\WebContent\WEB-INF\lib\antlr-2.7.6.jar;C:\Amogh_WS\FootieCal\FootieCal\WebContent\WEB-INF\lib\commons-collections-3.1.jar;C:\Amogh_WS\FootieCal\FootieCal\WebContent\WEB-INF\lib\dom4j-1.6.1.jar;C:\Amogh_WS\FootieCal\FootieCal\WebContent\WEB-INF\lib\ejb3-persistence.jar;C:\Amogh_WS\FootieCal\FootieCal\WebContent\WEB-INF\lib\hibernate-annotations.jar;C:\Amogh_WS\FootieCal\FootieCal\WebContent\WEB-INF\lib\hibernate-commons-annotations.jar;C:\Amogh_WS\FootieCal\FootieCal\WebContent\WEB-INF\lib\hibernate-entitymanager.jar;C:\Amogh_WS\FootieCal\FootieCal\WebContent\WEB-INF\lib\hibernate3.jar;C:\Amogh_WS\FootieCal\FootieCal\WebContent\WEB-INF\lib\javassist-3.9.0.GA.jar;C:\Amogh_WS\FootieCal\FootieCal\WebContent\WEB-INF\lib\jta-1.1.jar;C:\Amogh_WS\FootieCal\FootieCal\WebContent\WEB-INF\lib\jxl.jar;C:\Amogh_WS\FootieCal\FootieCal\WebContent\WEB-INF\lib\log4j-1.2.15.jar;C:\Amogh_WS\FootieCal\FootieCal\WebContent\WEB-INF\lib\ojdbc14.jar;C:\Amogh_WS\FootieCal\FootieCal\WebContent\WEB-INF\lib\slf4j-api-1.5.8.jar;C:\Amogh_WS\FootieCal\FootieCal\WebContent\WEB-INF\lib\slf4j-log4j12-1.5.8.jar, user.name=Dell, hibernate.bytecode.use_reflection_optimizer=false, hibernate.show_sql=true, java.vm.specification.version=1.0, sun.arch.data.model=64, java.home=C:\Program Files\Java\jre6, hibernate.connection.url=jdbc:oracle:thin:@localhost:1521:XE, hibernate.dialect=org.hibernate.dialect.Oracle10gDialect, java.specification.vendor=Sun Microsystems Inc., user.language=en, awt.toolkit=sun.awt.windows.WToolkit, java.vm.info=mixed mode, java.version=1.6.0_20, java.ext.dirs=C:\Program Files\Java\jre6\lib\ext;C:\Windows\Sun\Java\lib\ext, sun.boot.class.path=C:\Program Files\Java\jre6\lib\resources.jar;C:\Program Files\Java\jre6\lib\rt.jar;C:\Program Files\Java\jre6\lib\sunrsasign.jar;C:\Program Files\Java\jre6\lib\jsse.jar;C:\Program Files\Java\jre6\lib\jce.jar;C:\Program Files\Java\jre6\lib\charsets.jar;C:\Program Files\Java\jre6\classes, java.vendor=Sun Microsystems Inc., file.separator=\, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, hibernate.hbm2ddl.auto=update, sun.cpu.endian=little, sun.io.unicode.encoding=UnicodeLittle, sun.desktop=windows, sun.cpu.isalist=amd64} 17:42:28,587 DEBUG AbstractEntityPersister:2756 - Static SQL for entity: com.amoghsweb.footiecal.GameData 17:42:28,587 DEBUG AbstractEntityPersister:2761 - Version select: select GAME_ID from GAME_DATA where GAME_ID =? 17:42:28,587 DEBUG AbstractEntityPersister:2764 - Snapshot select: select gamedata_.GAME_ID, gamedata_.GAME_DATE as GAME2_0_, gamedata_.PLACE as PLACE0_, gamedata_.RESULT as RESULT0_, gamedata_.TEAM1 as TEAM5_0_, gamedata_.TEAM2 as TEAM6_0_ from GAME_DATA gamedata_ where gamedata_.GAME_ID=? 17:42:28,587 DEBUG AbstractEntityPersister:2767 - Insert 0: insert into GAME_DATA (GAME_DATE, PLACE, RESULT, TEAM1, TEAM2, GAME_ID) values (?, ?, ?, ?, ?, ?) 17:42:28,588 DEBUG AbstractEntityPersister:2768 - Update 0: update GAME_DATA set GAME_DATE=?, PLACE=?, RESULT=?, TEAM1=?, TEAM2=? where GAME_ID=? 17:42:28,588 DEBUG AbstractEntityPersister:2769 - Delete 0: delete from GAME_DATA where GAME_ID=? 17:42:28,604 DEBUG EntityLoader:102 - Static select for entity com.amoghsweb.footiecal.GameData: select gamedata0_.GAME_ID as GAME1_0_0_, gamedata0_.GAME_DATE as GAME2_0_0_, gamedata0_.PLACE as PLACE0_0_, gamedata0_.RESULT as RESULT0_0_, gamedata0_.TEAM1 as TEAM5_0_0_, gamedata0_.TEAM2 as TEAM6_0_0_ from GAME_DATA gamedata0_ where gamedata0_.GAME_ID=? 17:42:28,604 DEBUG EntityLoader:102 - Static select for entity com.amoghsweb.footiecal.GameData: select gamedata0_.GAME_ID as GAME1_0_0_, gamedata0_.GAME_DATE as GAME2_0_0_, gamedata0_.PLACE as PLACE0_0_, gamedata0_.RESULT as RESULT0_0_, gamedata0_.TEAM1 as TEAM5_0_0_, gamedata0_.TEAM2 as TEAM6_0_0_ from GAME_DATA gamedata0_ where gamedata0_.GAME_ID=? 17:42:28,605 DEBUG EntityLoader:102 - Static select for entity com.amoghsweb.footiecal.GameData: select gamedata0_.GAME_ID as GAME1_0_0_, gamedata0_.GAME_DATE as GAME2_0_0_, gamedata0_.PLACE as PLACE0_0_, gamedata0_.RESULT as RESULT0_0_, gamedata0_.TEAM1 as TEAM5_0_0_, gamedata0_.TEAM2 as TEAM6_0_0_ from GAME_DATA gamedata0_ where gamedata0_.GAME_ID=? for update 17:42:28,605 DEBUG EntityLoader:102 - Static select for entity com.amoghsweb.footiecal.GameData: select gamedata0_.GAME_ID as GAME1_0_0_, gamedata0_.GAME_DATE as GAME2_0_0_, gamedata0_.PLACE as PLACE0_0_, gamedata0_.RESULT as RESULT0_0_, gamedata0_.TEAM1 as TEAM5_0_0_, gamedata0_.TEAM2 as TEAM6_0_0_ from GAME_DATA gamedata0_ where gamedata0_.GAME_ID=? for update nowait 17:42:28,605 DEBUG EntityLoader:102 - Static select for entity com.amoghsweb.footiecal.GameData: select gamedata0_.GAME_ID as GAME1_0_0_, gamedata0_.GAME_DATE as GAME2_0_0_, gamedata0_.PLACE as PLACE0_0_, gamedata0_.RESULT as RESULT0_0_, gamedata0_.TEAM1 as TEAM5_0_0_, gamedata0_.TEAM2 as TEAM6_0_0_ from GAME_DATA gamedata0_ where gamedata0_.GAME_ID=? for update nowait 17:42:28,611 DEBUG EntityLoader:57 - Static select for action ACTION_MERGE on entity com.amoghsweb.footiecal.GameData: select gamedata0_.GAME_ID as GAME1_0_0_, gamedata0_.GAME_DATE as GAME2_0_0_, gamedata0_.PLACE as PLACE0_0_, gamedata0_.RESULT as RESULT0_0_, gamedata0_.TEAM1 as TEAM5_0_0_, gamedata0_.TEAM2 as TEAM6_0_0_ from GAME_DATA gamedata0_ where gamedata0_.GAME_ID=? 17:42:28,611 DEBUG EntityLoader:57 - Static select for action ACTION_REFRESH on entity com.amoghsweb.footiecal.GameData: select gamedata0_.GAME_ID as GAME1_0_0_, gamedata0_.GAME_DATE as GAME2_0_0_, gamedata0_.PLACE as PLACE0_0_, gamedata0_.RESULT as RESULT0_0_, gamedata0_.TEAM1 as TEAM5_0_0_, gamedata0_.TEAM2 as TEAM6_0_0_ from GAME_DATA gamedata0_ where gamedata0_.GAME_ID=? 17:42:28,613 DEBUG SessionFactoryObjectFactory:62 - initializing class SessionFactoryObjectFactory 17:42:28,614 DEBUG SessionFactoryObjectFactory:99 - registered: 402881842ba5817d012ba5817e440000 (unnamed) 17:42:28,614 INFO SessionFactoryObjectFactory:105 - Not binding factory to JNDI, no JNDI name configured 17:42:28,614 DEBUG SessionFactoryImpl:350 - instantiated session factory 17:42:28,619 INFO SchemaUpdate:155 - Running hbm2ddl schema update 17:42:28,619 INFO SchemaUpdate:167 - fetching database metadata 17:42:28,705 INFO SchemaUpdate:179 - updating schema 17:42:28,705 DEBUG AnnotationConfiguration:258 - Execute first pass mapping processing 17:42:28,706 DEBUG AnnotationConfiguration:529 - Process hbm files 17:42:28,706 DEBUG AnnotationConfiguration:537 - Process annotated classes 17:42:28,706 DEBUG AnnotationConfiguration:401 - processing fk mappings (*ToOne and JoinedSubclass) 17:42:28,706 DEBUG Configuration:1167 - processing extends queue 17:42:28,706 DEBUG Configuration:1171 - processing collection mappings 17:42:28,706 DEBUG Configuration:1182 - processing native query and ResultSetMapping mappings 17:42:28,707 DEBUG Configuration:1190 - processing association property references 17:42:28,707 DEBUG Configuration:1212 - processing foreign key constraints 17:42:28,787 INFO TableMetadata:65 - table found: AMOGHSA.GAME_DATA 17:42:28,788 INFO TableMetadata:66 - columns: [result, game_date, game_id, place, team1, team2] 17:42:28,788 INFO TableMetadata:68 - foreign keys: [] 17:42:28,788 INFO TableMetadata:69 - indexes: [pk_gameid] 17:42:28,788 INFO SchemaUpdate:217 - schema update complete 17:42:28,789 DEBUG SessionFactoryImpl:474 - Checking 0 named HQL queries 17:42:28,790 DEBUG SessionFactoryImpl:494 - Checking 0 named SQL queries 17:42:28,815 DEBUG SessionImpl:248 - opened session at timestamp: 12869719487 17:42:28,816 DEBUG JDBCTransaction:82 - begin 17:42:28,817 DEBUG ConnectionManager:444 - opening JDBC connection 17:42:28,817 DEBUG JDBCTransaction:87 - current autocommit status: false 1911-10-01 02:02:02.000000002 17:42:28,851 DEBUG QueryTranslatorImpl:272 - parse() - HQL: from com.amoghsweb.footiecal.GameData as games where games.gameDate > :mindate and games.gameDate < :maxdate 17:42:28,862 DEBUG AST:291 - --- HQL AST --- \-[QUERY] 'query' +-[SELECT_FROM] 'SELECT_FROM' | \-[FROM] 'from' | \-[RANGE] 'RANGE' | +-[DOT] '.' | | +-[DOT] '.' | | | +-[DOT] '.' | | | | +-[IDENT] 'com' | | | | \-[IDENT] 'amoghsweb' | | | \-[IDENT] 'footiecal' | | \-[IDENT] 'GameData' | \-[ALIAS] 'games' \-[WHERE] 'where' \-[AND] 'and' +-[GT] '>' | +-[DOT] '.' | | +-[IDENT] 'games' | | \-[IDENT] 'gameDate' | \-[COLON] ':' | \-[IDENT] 'mindate' \-[LT] '<' +-[DOT] '.' | +-[IDENT] 'games' | \-[IDENT] 'gameDate' \-[COLON] ':' \-[IDENT] 'maxdate'
17:42:28,862 DEBUG ErrorCounter:91 - throwQueryException() : no errors 17:42:28,889 DEBUG HqlSqlBaseWalker:111 - select << begin [level=1, statement=select] 17:42:28,902 DEBUG FromElement:132 - FromClause{level=1} : com.amoghsweb.footiecal.GameData (games) -> gamedata0_ 17:42:28,904 DEBUG FromReferenceNode:74 - Resolved : games -> gamedata0_.GAME_ID 17:42:28,905 DEBUG DotNode:619 - getDataType() : gameDate -> org.hibernate.type.TimestampType@64a7c45e 17:42:28,906 DEBUG FromReferenceNode:74 - Resolved : games.gameDate -> gamedata0_.GAME_DATE 17:42:28,909 DEBUG FromReferenceNode:74 - Resolved : games -> gamedata0_.GAME_ID 17:42:28,909 DEBUG DotNode:619 - getDataType() : gameDate -> org.hibernate.type.TimestampType@64a7c45e 17:42:28,910 DEBUG FromReferenceNode:74 - Resolved : games.gameDate -> gamedata0_.GAME_DATE 17:42:28,910 DEBUG HqlSqlBaseWalker:117 - select : finishing up [level=1, statement=select] 17:42:28,911 DEBUG HqlSqlWalker:599 - processQuery() : ( SELECT ( FromClause{level=1} GAME_DATA gamedata0_ ) ( where ( and ( > ( gamedata0_.GAME_DATE gamedata0_.GAME_ID gameDate ) ? ) ( < ( gamedata0_.GAME_DATE gamedata0_.GAME_ID gameDate ) ? ) ) ) ) 17:42:28,916 DEBUG HqlSqlWalker:842 - Derived SELECT clause created. 17:42:28,919 DEBUG JoinProcessor:176 - Using FROM fragment [GAME_DATA gamedata0_] 17:42:28,919 DEBUG HqlSqlBaseWalker:123 - select >> end [level=1, statement=select] 17:42:28,921 DEBUG AST:258 - --- SQL AST --- \-[SELECT] QueryNode: 'SELECT' querySpaces (GAME_DATA) +-[SELECT_CLAUSE] SelectClause: '{derived select clause}' | +-[SELECT_EXPR] SelectExpressionImpl: 'gamedata0_.GAME_ID as GAME1_0_' | \-[SQL_TOKEN] SqlFragment: 'gamedata0_.GAME_DATE as GAME2_0_, gamedata0_.PLACE as PLACE0_, gamedata0_.RESULT as RESULT0_, gamedata0_.TEAM1 as TEAM5_0_, gamedata0_.TEAM2 as TEAM6_0_' +-[FROM] FromClause: 'from' FromClause{level=1, fromElementCounter=1, fromElements=1, fromElementByClassAlias=[games], fromElementByTableAlias=[gamedata0_], fromElementsByPath=[], collectionJoinFromElementsByPath=[], impliedElements=[]} | \-[FROM_FRAGMENT] FromElement: 'GAME_DATA gamedata0_' FromElement{explicit,not a collection join,not a fetch join,fetch non-lazy properties,classAlias=games,role=null,tableName=GAME_DATA,tableAlias=gamedata0_,origin=null,colums={,className=com.amoghsweb.footiecal.GameData}} \-[WHERE] SqlNode: 'where' \-[AND] SqlNode: 'and' +-[GT] BinaryLogicOperatorNode: '>' | +-[DOT] DotNode: 'gamedata0_.GAME_DATE' | | +-[ALIAS_REF] IdentNode: 'gamedata0_.GAME_ID' | | \-[IDENT] IdentNode: 'gameDate' | \-[NAMED_PARAM] ParameterNode: '?' {name=mindate, expectedType=org.hibernate.type.TimestampType@64a7c45e}
\-[LT] BinaryLogicOperatorNode: '<' +-[DOT] DotNode: 'gamedata0_.GAME_DATE' | +-[ALIAS_REF] IdentNode: 'gamedata0_.GAME_ID' | \-[IDENT] IdentNode: 'gameDate' \-[NAMED_PARAM] ParameterNode: '?' {name=maxdate, expectedType=org.hibernate.type.TimestampType@64a7c45e}
17:42:28,921 DEBUG ErrorCounter:91 - throwQueryException() : no errors 17:42:28,932 DEBUG QueryTranslatorImpl:241 - HQL: from com.amoghsweb.footiecal.GameData as games where games.gameDate > :mindate and games.gameDate < :maxdate 17:42:28,932 DEBUG QueryTranslatorImpl:242 - SQL: select gamedata0_.GAME_ID as GAME1_0_, gamedata0_.GAME_DATE as GAME2_0_, gamedata0_.PLACE as PLACE0_, gamedata0_.RESULT as RESULT0_, gamedata0_.TEAM1 as TEAM5_0_, gamedata0_.TEAM2 as TEAM6_0_ from GAME_DATA gamedata0_ where gamedata0_.GAME_DATE>? and gamedata0_.GAME_DATE<? 17:42:28,932 DEBUG ErrorCounter:91 - throwQueryException() : no errors 17:42:28,943 DEBUG AbstractBatcher:410 - about to open PreparedStatement (open PreparedStatements: 0, globally: 0) 17:42:28,943 DEBUG SQL:111 - select gamedata0_.GAME_ID as GAME1_0_, gamedata0_.GAME_DATE as GAME2_0_, gamedata0_.PLACE as PLACE0_, gamedata0_.RESULT as RESULT0_, gamedata0_.TEAM1 as TEAM5_0_, gamedata0_.TEAM2 as TEAM6_0_ from GAME_DATA gamedata0_ where gamedata0_.GAME_DATE>? and gamedata0_.GAME_DATE<? Hibernate: select gamedata0_.GAME_ID as GAME1_0_, gamedata0_.GAME_DATE as GAME2_0_, gamedata0_.PLACE as PLACE0_, gamedata0_.RESULT as RESULT0_, gamedata0_.TEAM1 as TEAM5_0_, gamedata0_.TEAM2 as TEAM6_0_ from GAME_DATA gamedata0_ where gamedata0_.GAME_DATE>? and gamedata0_.GAME_DATE<? 17:42:28,948 DEBUG AbstractBatcher:426 - about to open ResultSet (open ResultSets: 0, globally: 0) 17:42:28,948 DEBUG AbstractBatcher:433 - about to close ResultSet (open ResultSets: 1, globally: 1) 17:42:28,949 DEBUG AbstractBatcher:418 - about to close PreparedStatement (open PreparedStatements: 1, globally: 1) 17:42:28,950 DEBUG StatefulPersistenceContext:860 - initializing non-lazy collections [] 17:42:28,950 DEBUG JDBCTransaction:134 - commit 17:42:28,951 DEBUG JDBCTransaction:147 - committed JDBC Connection 17:42:28,951 DEBUG ConnectionManager:427 - aggressively releasing JDBC connection 17:42:28,951 DEBUG ConnectionManager:464 - releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)]
|