![]() # enable the following line if you want to track down connection # # set log levels - for more verbose logging change 'info' to 'debug' # Need help with Hibernate? Read this first: I'm using hibernate 3.1 with latest version of oracle jdbc driver for oracle ![]() ![]() : could not execute queryĪt .convert(SQLStateConverter.java:77)Īt .convert(JDBCExceptionHelper.java:43)Īt .doList(Loader.java:2148)Īt .listIgnoreQuer圜ache(Loader.java:2029)Īt .list(Loader.java:2024)Īt .QueryLoader.list(QueryLoader.java:375)Īt .QueryTranslatorImpl.list(QueryTranslatorImpl.java:308)Īt .HQLQueryPlan.performList(HQLQueryPlan.java:153)Īt .list(SessionImpl.java:1106)Īt .list(QueryImpl.java:79)Īt .uniqueResult(AbstractQueryImpl.java:749)Īt com.be.countRecords(MessageReportingDAOHibernateImpl.java:105)Īt com.be.findEnterpriseMessages(MessageReportingDAOHibernateImpl.java:33)Īt com.be.archMessages(MessageReportingBOImpl.java:37)Īt com.be.archMessages(MessageReportingBODelegate.java:34)Īt com.be.SearchEnterpriseAction.execute(SearchEnterpriseAction.java:50)Īt .RequestProcessor.processActionPerform(RequestProcessor.java:419)Īt .RequestProcessor.process(RequestProcessor.java:224)Īt .ActionServlet.process(ActionServlet.java:1194)Īt .ActionServlet.doPost(ActionServlet.java:432)Īt .service(HttpServlet.java:716)Īt .service(HttpServlet.java:809)Īt .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:198)Īt .ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)Īt .StandardWrapperValve.invoke(StandardWrapperValve.java:209)Īt .StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:595)Īt .StandardPipeline.invoke(StandardPipeline.java:432)Īt .ContainerBase.invoke(ContainerBase.java:954)Īt .StandardContextValve.invoke(StandardContextValve.java:138)Īt .StandardContext.invoke(StandardContext.java:2459)Īt .StandardHostValve.invoke(StandardHostValve.java:132)Īt .ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)Īt .StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:593)Īt .ErrorReportValve.invoke(ErrorReportValve.java:116)Īt .StandardEngineValve.invoke(StandardEngineValve.java:126)Īt 4.rvice(CoyoteAdapter.java:152)Īt 11.Http11Processor.process(Http11Processor.java:869)Īt 11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)Īt .(PoolTcpEndpoint.java:527)Īt .(LeaderFollowerWorkerThread.java:80)Īt .threads.ThreadPool$n(ThreadPool.java:684)Ĭaused by: : ORA-01861: literal does not match format stringĪll i've found about this, refers to issues with date format for date type colums, but i don't understand why this problem occurs for a varchar column mapped as string. This code works perfectly with MySQL 5.X, but now that i'm running my app in Oracle 10G, it gives me the following error: Query query = hibernateSession.createQuery("from ELTLDetail as d where d.timeStamp >=?") I'm creating a simpe query using this column: I have a varchar column in Oracle 10g, which stores datetime values, this column is mapped as a string in my mapping file. Hi, can you please share any thoughts or guidelines regarding the following issue:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |