I am not getting how to resolve below issue:
Please help. Reply to
biradar.shiv88@gmail.comInside ActionEvent method
Update_Customer
00:35:08,903 INFO Version:15 - Hibernate Annotations 3.4.0.GA
00:35:08,926 INFO Environment:560 - Hibernate 3.3.2.GA
00:35:08,929 INFO Environment:593 - hibernate.properties not found
00:35:08,935 INFO Environment:771 - Bytecode provider name : javassist
00:35:08,941 INFO Environment:652 - using JDK 1.4 java.sql.Timestamp handling
00:35:09,051 INFO Version:14 - Hibernate Commons Annotations 3.1.0.GA
00:35:09,062 INFO Configuration:1474 - configuring from resource: hibernate.cfg.xml
00:35:09,063 INFO Configuration:1451 - Configuration resource: hibernate.cfg.xml
00:35:09,169 INFO Configuration:1589 - Configured SessionFactory: null
00:35:09,180 INFO HibernateSearchEventListenerRegister:53 - Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.
00:35:09,250 INFO AnnotationBinder:419 - Binding entity from annotated class: com.shiv.otherscreensclass.CustomerClass
00:35:09,301 INFO EntityBinder:422 - Bind entity com.shiv.otherscreensclass.CustomerClass on table CustomerTable
00:35:09,366 INFO AnnotationConfiguration:369 - Hibernate Validator not found: ignoring
00:35:09,439 INFO DriverManagerConnectionProvider:64 - Using Hibernate built-in connection pool (not for production use!)
00:35:09,440 INFO DriverManagerConnectionProvider:65 - Hibernate connection pool size: 2
00:35:09,440 INFO DriverManagerConnectionProvider:68 - autocommit mode: false
00:35:09,452 INFO DriverManagerConnectionProvider:103 - using driver: oracle.jdbc.driver.OracleDriver at URL: jdbc:oracle:thin:@localhost:1521:XE
00:35:09,452 INFO DriverManagerConnectionProvider:109 - connection properties: {user=billing, password=****}
00:35:09,698 INFO SettingsFactory:114 - RDBMS: Oracle, version: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Beta
00:35:09,698 INFO SettingsFactory:115 - JDBC driver: Oracle JDBC driver, version: 10.2.0.1.0XE
00:35:09,735 INFO Dialect:175 - Using dialect: org.hibernate.dialect.Oracle10gDialect
00:35:09,742 INFO TransactionFactoryFactory:59 - Using default transaction strategy (direct JDBC transactions)
00:35:09,745 INFO TransactionManagerLookupFactory:80 - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
00:35:09,745 INFO SettingsFactory:161 - Automatic flush during beforeCompletion(): disabled
00:35:09,746 INFO SettingsFactory:165 - Automatic session close at end of transaction: disabled
00:35:09,746 INFO SettingsFactory:172 - JDBC batch size: 15
00:35:09,747 INFO SettingsFactory:175 - JDBC batch updates for versioned data: disabled
00:35:09,748 INFO SettingsFactory:180 - Scrollable result sets: enabled
00:35:09,749 INFO SettingsFactory:188 - JDBC3 getGeneratedKeys(): disabled
00:35:09,749 INFO SettingsFactory:196 - Connection release mode: auto
00:35:09,751 INFO SettingsFactory:223 - Default batch fetch size: 1
00:35:09,752 INFO SettingsFactory:227 - Generate SQL with comments: disabled
00:35:09,752 INFO SettingsFactory:231 - Order SQL updates by primary key: disabled
00:35:09,753 INFO SettingsFactory:235 - Order SQL inserts for batching: disabled
00:35:09,753 INFO SettingsFactory:397 - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
00:35:09,757 INFO ASTQueryTranslatorFactory:47 - Using ASTQueryTranslatorFactory
00:35:09,757 INFO SettingsFactory:243 - Query language substitutions: {}
00:35:09,757 INFO SettingsFactory:248 - JPA-QL strict compliance: disabled
00:35:09,758 INFO SettingsFactory:253 - Second-level cache: enabled
00:35:09,758 INFO SettingsFactory:257 - Query cache: disabled
00:35:09,765 INFO SettingsFactory:382 - Cache region factory : org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge
00:35:09,765 INFO RegionFactoryCacheProviderBridge:61 - Cache provider: org.hibernate.cache.NoCacheProvider
00:35:09,766 INFO SettingsFactory:267 - Optimize cache for minimal puts: disabled
00:35:09,766 INFO SettingsFactory:276 - Structured second-level cache entries: disabled
00:35:09,772 INFO SettingsFactory:296 - Echoing all SQL to stdout
00:35:09,773 INFO SettingsFactory:305 - Statistics: disabled
00:35:09,773 INFO SettingsFactory:309 - Deleted entity synthetic identifier rollback: disabled
00:35:09,773 INFO SettingsFactory:324 - Default entity-mode: pojo
00:35:09,774 INFO SettingsFactory:328 - Named query checking : enabled
00:35:09,819 INFO SessionFactoryImpl:193 - building session factory
00:35:10,055 INFO SessionFactoryObjectFactory:105 - Not binding factory to JNDI, no JNDI name configured
In Updt After beginTransaction
Exception in thread "AWT-EventQueue-0" org.hibernate.hql.ast.QuerySyntaxException: CustomerTable is not mapped [from CustomerTable where customer_code = :customer_code ]
at org.hibernate.hql.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:181)
at org.hibernate.hql.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:110)
at org.hibernate.hql.ast.tree.FromClause.addFromElement(FromClause.java:94)
at org.hibernate.hql.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:316)
at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3228)
at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:3112)
at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:720)
at org.hibernate.hql.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:571)
at org.hibernate.hql.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:288)
at org.hibernate.hql.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:231)
at org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:254)
at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:185)
at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:136)
at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:101)
at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:80)
at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:94)
at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:156)
at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:135)
at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1651)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.hibernate.context.ThreadLocalSessionContext$TransactionProtectionWrapper.invoke(ThreadLocalSessionContext.java:342)
at $Proxy8.createQuery(Unknown Source)
at com.shiv.otherscreensdb.CustomerDb.CustomerUpdate(CustomerDb.java:60)
at com.shiv.otherscreens.LOVScreens.actionPerformed(LOVScreens.java:458)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)