Java error MySql Jersey -
this question has answer here:
- java resultset sql array failing 1 answer
i getting exeption when trying run sql command: select * duplic dup_vencto < now()
on java dynamic web application:
jun 02, 2015 3:25:22 pm com.sun.jersey.server.impl.application.webapplicationimpl _initiate informações: initiating jersey application, version 'jersey: 1.18.1 02/19/2014 03:28 am' java.sql.sqlfeaturenotsupportedexception @ sun.reflect.nativeconstructoraccessorimpl.newinstance0(native method) @ sun.reflect.nativeconstructoraccessorimpl.newinstance(nativeconstructoraccessorimpl.java:57) @ sun.reflect.delegatingconstructoraccessorimpl.newinstance(delegatingconstructoraccessorimpl.java:45) @ java.lang.reflect.constructor.newinstance(constructor.java:526) @ java.lang.class.newinstance(class.java:374) @ com.mysql.jdbc.sqlerror.notimplemented(sqlerror.java:1314) @ com.mysql.jdbc.resultsetimpl.getarray(resultsetimpl.java:1229) @ com.mysql.jdbc.resultsetimpl.getarray(resultsetimpl.java:1246) @ weblogic.jdbc.wrapper.resultset.getarray(resultset.java:285) @ com.henrique.util.tojson.tojsonarray(tojson.java:33) @ com.henrique.dao.schemakiron.gettitulosvencer(schemakiron.java:113) @ com.henrique.rest.status.v1_status.titulosvencer(v1_status.java:147) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:606) @ com.sun.jersey.spi.container.javamethodinvokerfactory$1.invoke(javamethodinvokerfactory.java:60) @ com.sun.jersey.server.impl.model.method.dispatch.abstractresourcemethoddispatchprovider$responseoutinvoker._dispatch(abstractresourcemethoddispatchprovider.java:205) @ com.sun.jersey.server.impl.model.method.dispatch.resourcejavamethoddispatcher.dispatch(resourcejavamethoddispatcher.java:75) @ com.sun.jersey.server.impl.uri.rules.httpmethodrule.accept(httpmethodrule.java:302) @ com.sun.jersey.server.impl.uri.rules.righthandpathrule.accept(righthandpathrule.java:147) @ com.sun.jersey.server.impl.uri.rules.resourceclassrule.accept(resourceclassrule.java:108) @ com.sun.jersey.server.impl.uri.rules.righthandpathrule.accept(righthandpathrule.java:147) @ com.sun.jersey.server.impl.uri.rules.rootresourceclassesrule.accept(rootresourceclassesrule.java:84) @ com.sun.jersey.server.impl.application.webapplicationimpl._handlerequest(webapplicationimpl.java:1542) @ com.sun.jersey.server.impl.application.webapplicationimpl._handlerequest(webapplicationimpl.java:1473) @ com.sun.jersey.server.impl.application.webapplicationimpl.handlerequest(webapplicationimpl.java:1419) @ com.sun.jersey.server.impl.application.webapplicationimpl.handlerequest(webapplicationimpl.java:1409) @ com.sun.jersey.spi.container.servlet.webcomponent.service(webcomponent.java:409) @ com.sun.jersey.spi.container.servlet.servletcontainer.service(servletcontainer.java:540) @ com.sun.jersey.spi.container.servlet.servletcontainer.service(servletcontainer.java:715) @ javax.servlet.http.httpservlet.service(httpservlet.java:844) @ weblogic.servlet.internal.stubsecurityhelper$servletserviceaction.run(stubsecurityhelper.java:280) @ weblogic.servlet.internal.stubsecurityhelper$servletserviceaction.run(stubsecurityhelper.java:254) @ weblogic.servlet.internal.stubsecurityhelper.invokeservlet(stubsecurityhelper.java:136) @ weblogic.servlet.internal.servletstubimpl.execute(servletstubimpl.java:346) @ weblogic.servlet.internal.servletstubimpl.execute(servletstubimpl.java:243) @ weblogic.servlet.internal.webappservletcontext$servletinvocationaction.wraprun(webappservletcontext.java:3432) @ weblogic.servlet.internal.webappservletcontext$servletinvocationaction.run(webappservletcontext.java:3402) @ weblogic.security.acl.internal.authenticatedsubject.doas(authenticatedsubject.java:321) @ weblogic.security.service.securitymanager.runas(securitymanager.java:120) @ weblogic.servlet.provider.wlssubjecthandle.run(wlssubjecthandle.java:57) @ weblogic.servlet.internal.webappservletcontext.dosecuredexecute(webappservletcontext.java:2285) @ weblogic.servlet.internal.webappservletcontext.securedexecute(webappservletcontext.java:2201) @ weblogic.servlet.internal.webappservletcontext.execute(webappservletcontext.java:2179) @ weblogic.servlet.internal.servletrequestimpl.run(servletrequestimpl.java:1572) @ weblogic.servlet.provider.containersupportproviderimpl$wlsrequestexecutor.run(containersupportproviderimpl.java:255) @ weblogic.work.executethread.execute(executethread.java:311) @ weblogic.work.executethread.run(executethread.java:263)
is driver?
if is, how can fix that?
i'am using web logic 12c jersey framework
the error lies sql driver, see javadoc error. whoever made driver decided did not want add support whatever optional feature using.
you can fix finding better/different driver use.
see similar questions:
Comments
Post a Comment