程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 編程語言 >> 更多編程語言 >> 編程解疑 >> postgresql-ssh不能存入數據庫,報錯信息如下

postgresql-ssh不能存入數據庫,報錯信息如下

編輯:編程解疑
ssh不能存入數據庫,報錯信息如下

這是控制台信息,sql語句已經生成,但是不能存入數據

INFO: Building new Hibernate SessionFactory
Hibernate: 
    insert 
    into
        customer
        (customer_name, customer_sex, customer_age, customer_type, customer_enterprise_name, customer_card_id, customer_phone, customer_office_phone, customer_qq, customer_email, customer_contact_wish, customer_login_name, customer_login_password, customer_login_repassword, customer_picture, customer_attention_number, customer_ip, customer_state, customer_visit_number, customer_level, customer_create_date) 
    values
        (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
三月 18, 2016 2:46:41 下午 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml]
三月 18, 2016 2:46:41 下午 org.springframework.jdbc.support.SQLErrorCodesFactory <init>
INFO: SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase]
存入失敗 

最佳回答:


對照你的表名、字段仔細檢查,特別是字段的類型。

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved