sorry , i didn't know table and fields could have aliases before , could you please advise how to disable prepared statement caching? i cannot find it in the document and forum .
the bellow is the full error tomcat log
09:03:38,066 INFO Environment:432 - Hibernate 2.1.1
09:03:38,089 INFO Environment:466 - loaded properties from resource hibernate.properties: {hibernate.default_schema=PUB, hibernate.cglib.use_reflection_optimizer=true, hibernate.dialect=net.sf.hibernate.dialect.ProgressDialect, hibernate.show_sql=true, hibernate.connection.datasource=java:comp/env/jdbc/progress}
09:03:38,094 INFO Environment:481 - using CGLIB reflection optimizer
09:03:38,096 INFO Environment:504 - JVM does not support LinkedHasMap, LinkedHashSet - ordered maps and sets disabled
09:03:38,097 INFO Environment:507 - using workaround for JVM bug in java.sql.Timestamp
09:03:38,105 INFO Configuration:318 - Mapping resource: opsetup/Ywod.hbm.xml
09:03:38,433 INFO Binder:225 - Mapping class: opsetup.Ywod -> ywod_det
09:03:38,609 INFO Configuration:584 - processing one-to-many association mappings
09:03:38,610 INFO Configuration:593 - processing one-to-one association property references
09:03:38,611 INFO Configuration:618 - processing foreign key constraints
09:03:38,660 INFO Dialect:82 - Using dialect: net.sf.hibernate.dialect.ProgressDialect
09:03:38,662 INFO SettingsFactory:62 - Use outer join fetching: false
09:03:38,675 INFO NamingHelper:26 - JNDI InitialContext properties:{}
09:03:38,712 INFO DatasourceConnectionProvider:51 - Using datasource: java:comp/env/jdbc/progress
09:03:38,730 INFO TransactionManagerLookupFactory:33 - No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommended)
09:03:41,384 INFO SettingsFactory:89 - Use scrollable result sets: true
09:03:41,385 INFO SettingsFactory:93 - Default schema set to: PUB
09:03:41,387 INFO SettingsFactory:96 - echoing all SQL to stdout
09:03:41,388 INFO SettingsFactory:99 - Query language substitutions: {}
09:03:41,389 INFO SettingsFactory:110 - cache provider: net.sf.ehcache.hibernate.Provider
09:03:41,397 INFO Configuration:1057 - instantiating and configuring caches
09:03:42,170 INFO SessionFactoryImpl:119 - building session factory
09:03:42,555 INFO SessionFactoryObjectFactory:82 - no JNDI name configured
1234567
09:03:42,737 DEBUG SQL:223 - select ywod0_.ywod_lot as ywod_lot, ywod0_.ywod_model as ywod_model, ywod0_.ywod_prodline as ywod_pro3_ from PUB.ywod_det ywod0_ where (ywod0_.ywod_lot=? )
Hibernate: select ywod0_.ywod_lot as ywod_lot, ywod0_.ywod_model as ywod_model, ywod0_.ywod_prodline as ywod_pro3_ from PUB.ywod_det ywod0_ where (ywod0_.ywod_lot=? )
09:03:43,063 DEBUG StringType:46 - binding '1234567' to parameter: 1
09:03:43,089 WARN BatcherImpl:143 - exception clearing maxRows/queryTimeout
java.sql.SQLException: [JDBC Progress Driver]:Optional feature not implemented.
at com.progress.sql.jdbc.JdbcProgress.createSQLException(JdbcProgress.java:6562)
at com.progress.sql.jdbc.JdbcProgress.standardError(JdbcProgress.java:6736)
at com.progress.sql.jdbc.JdbcProgress.SQLGetStmtOption(JdbcProgress.java:4121)
at com.progress.sql.jdbc.JdbcProgressStatement.getStmtOption(JdbcProgressStatement.java:1261)
at com.progress.sql.jdbc.JdbcProgressStatement.getQueryTimeout(JdbcProgressStatement.java:740)
at org.apache.commons.dbcp.DelegatingPreparedStatement.getQueryTimeout(DelegatingPreparedStatement.java:214)
at net.sf.hibernate.impl.BatcherImpl.closeQueryStatement(BatcherImpl.java:140)
at net.sf.hibernate.impl.BatcherImpl.closeQueryStatement(BatcherImpl.java:99)
at net.sf.hibernate.loader.Loader.doQuery(Loader.java:233)
at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:132)
at net.sf.hibernate.loader.Loader.doList(Loader.java:949)
at net.sf.hibernate.loader.Loader.list(Loader.java:940)
at net.sf.hibernate.hql.QueryTranslator.list(QueryTranslator.java:833)
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1475)
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1454)
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1450)
at opsetup.ValidYwod.getYwodWithLot(ValidYwod.java:52)
at java.lang.reflect.Method.invoke(Native Method)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:230)
at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1244)
at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:1105)
at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:190)
at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:138)
at org.mozilla.javascript.continuations.InterpretedFunctionImpl.call(InterpretedFunctionImpl.java:121)
at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1244)
at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.callFunction(FOM_JavaScriptInterpreter.java:558)
at org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:181)
at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84)
at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164)
at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)
at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:163)
at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)
at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:161)
at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:351)
at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:304)
at org.apache.cocoon.Cocoon.process(Cocoon.java:640)
at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1104)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:601)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
at java.lang.Thread.run(Thread.java:479)
09:03:43,134 WARN SessionImpl:3241 - afterTransactionCompletion() was never called
thanks a lot.
best regards.
j.j.zheng
|