Home > Database > Mysql Tutorial > java中JDBC报错(一)

java中JDBC报错(一)

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 15:55:26
Original
1206 people have browsed it

java中JDBC报错(一) 1、具体报错如下 com.mysql.jdbc.MySqlDataTruncation:Data truncation:Data too long for column 'TID' at row 1 2、错误原因 (1)数据库中的数据类型不一致 (2)字段长度不一致 (3)数据库编码式有问题

java中JDBC报错(一)

1、具体报错如下

com.mysql.jdbc.MySqlDataTruncation:Data truncation:Data too long for column 'TID' at row 1

2、错误原因

(1)数据库中的数据类型不一致

(2)字段长度不一致

(3)数据库编码格式有问题

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
Install JAVA
From 1970-01-01 08:00:00
0
0
0
Unable to install java
From 1970-01-01 08:00:00
0
0
0
Can java be used as the backend of the web?
From 1970-01-01 08:00:00
0
0
0
Is this in Java language?
From 1970-01-01 08:00:00
0
0
0
Help: JAVA encrypted data PHP decryption
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template