postgresql insert statment引发错误

时间:2015-06-29 08:07:39

标签: postgresql

ERROR:  INSERT has more target columns than expressions LINE 3:
        ... stdreason_code ,  remark ,  geom,  kushet_code , collector_
        ... but the number of columns and their value are equal.

insert into "ISIMS".wlke_mesno(owner, gender, code, wdabe_code,  leadmember, site_name,
    source_type_code, scheme_type_code, year, constructed_by, funded_by, dev_round,
    pump_type_code, func_code, reason_code, x, y, z, potential_area, stdreason_code,
    remark, geom, kushet_code, collector_code)
  select "owner character varying,", "gender character varying", "code numeric",
         "wdabe_code integer", "leadmember numeric", "site_name character varying",
         "source_type_code integer", "scheme_type_code integer" "year numeric",
         "constructed_by character varying/funded_by", "constructed_by character varying/funded_by_1",
         "dev_round numeric", "pump_type_code integer", "func_code integer",
         "reason_code integer", "x numeric", "y numeric", "z numeric",
         "potential_area double", "stdreason_code integer", "remark character varying",
         geom, "kushet_code integer", "collector_code integer"
  from holder."dump (6)";

1 个答案:

答案 0 :(得分:1)

您在这里遗漏了[23/06/15 15:33:12:985 BST] 000002d3 servlet E com.ibm.ws.webcontainer.servlet.ServletWrapper service Uncaught service() exception thrown by servlet cxf: java.lang.VerifyError: JVMVRFY013 class loading constraint violated; class=org/apache/cxf/jaxb/attachment/JAXBAttachmentUnmarshaller, method=getAttachmentAsDataHandler(Ljava/lang/String;)Ljavax/activation/DataHandler;, pc=0 at java.lang.J9VMInternals.verifyImpl(Native Method) at java.lang.J9VMInternals.verify(J9VMInternals.java:85) at java.lang.J9VMInternals.initialize(J9VMInternals.java:162) activation-1.1.jar antisamy-1.4.3.jar aopalliance-1.0.jar asm-3.3.1.jar batik-css-1.7.jar batik-ext-1.7.jar batik-util-1.7.jar bcprov-jdk15-1.46.jar bsh-core-2.0b4.jar commons-beanutils-1.7.0.jar commons-beanutils-core-1.7.0.jar commons-codec-1.3.jar commons-collections-3.2.jar commons-configuration-1.5.jar commons-dbutils-1.6.jar commons-digester-1.8.jar commons-fileupload-1.3.1.jar commons-httpclient-3.1.jar commons-io-2.4.jar commons-jexl-2.1.1.jar commons-lang-2.4.jar commons-logging-1.1.1.jar cxf-api-2.7.11.jar cxf-rt-bindings-soap-2.7.11.jar cxf-rt-bindings-xml-2.7.11.jar cxf-rt-core-2.7.11.jar cxf-rt-databinding-jaxb-2.7.11.jar cxf-rt-frontend-jaxws-2.7.11.jar cxf-rt-frontend-simple-2.7.11.jar cxf-rt-transports-http-2.7.11.jar cxf-rt-ws-addr-2.7.11.jar cxf-rt-ws-policy-2.7.11.jar dom4j-1.6.1.jar esapi-2.0.1.jar FastInfoset-1.0.2.jar geronimo-javamail_1.4_spec-1.7.1.ja hamcrest-all-1.3.jar hsqldb-1.8.0.10.jar httpclient-4.3.6.jar httpcore-4.3.3.jar jaxen-1.1-beta-8.jar jaxrpc-api-1.1.jar jaxrpc-impl-1.1.3_01.jar jaxrpc-spi-1.1.3_01.jar joda-time-2.2.jar js-1.7R2.jar log4j-1.2.16.jar logback-classic-0.9.21.jar logback-core-0.9.21.jar mail-1.4.7.jar mailapi-1.4.3.jar nekohtml-1.9.12.jar not-yet-commons-ssl-0.3.9.jar opensaml-2.6.1.jar openws-1.5.1.jar quartz-1.8.6.jar saaj-api-1.3.5.jar saaj-impl-1.3.jar serializer-2.7.1.jar slf4j-api-1.6.0.jar slf4j-log4j12-1.6.0.jar spring-aop-3.2.6.RELEASE.jar spring-beans-3.2.6.RELEASE.jar spring-context-3.2.6.RELEASE.jar spring-core-3.2.6.RELEASE.jar spring-expression-3.2.6.RELEASE.jar spring-web-3.2.6.RELEASE.jar stax2-api-3.1.4.jar velocity-1.7.jar vuelinkcore-20.2.3.jar vueservlet-20.2.3.jar woodstox-core-asl-4.2.1.jar wsdl4j-1.6.3.jar xml-apis-ext-1.3.04.jar xml-resolver-1.2.jar xmlsec-1.5.6.jar xmltooling-1.4.1.jar xom-1.1.jar