java.sql.BatchUpdateException: Duplicate entry '135-16448' for key 1

Ads

 
 

Share on Google+Share on Google+

m_12345
java.sql.BatchUpdateException: Duplicate entry '135-16448' for key 1
2 Answer(s)      9 years ago
Posted in : Hibernate
Ads
View Answers

June 21, 2008 at 8:53 AM


hi,

please check the Query that u have written

ServerPreparedStatement.java:647

there is duplicate key in your Query
or it should be primary key that it should be already in the database


June 21, 2008 at 9:02 AM


hi,

please check the Query that u have written

ServerPreparedStatement.java:647

there is duplicate key in your Query
or it should be primary key that it should be already in the database

Ads









Related Tutorials/Questions & Answers:
java.sql.BatchUpdateException: Duplicate entry '135-16448' for key 1 - Hibernate
java.sql.BatchUpdateException: Duplicate entry '135-16448' for key 1  .... java.sql.BatchUpdateException: Duplicate entry '135-16448' for key 1...: 1062] java.sql.BatchUpdateException: Duplicate entry '135-16448' for key 1
primary key and unique key
entry of duplicate values but entry of null values is allowed. Primary key: columns entry of duplicate as well as null values are restricted...primary key and unique key  hello, What's the difference between
Advertisements
delete an entry using JavaScript
delete an entry using JavaScript  How to delete an entry using JavaScript
Java entry prog.
) Primary key (no duplicate key allowed) Dept_name Char(25) **Entry screen** **Department entry** Dept Code...Java entry prog.  Dear sir I will enter the dept code, dept name
Order Entry System
Order Entry System  Create a new order entry system using netbeans and microsoft access.can anyone help me
primary key and unique key
primary key and unique key  Whats is mean by primary key and unique key
Define candidate key, alternate key, composite key.
Define candidate key, alternate key, composite key.  Define candidate key, alternate key, composite key
Edit cron entry
Edit cron entry   Hi, What is the command to Edit cron entry in linux? Regards Deepak Kumar   Hi, You can use the following command to open cron configuration in vi editor: crontab -e After editing just save
database entry using jdbc
database entry using jdbc  Give me a program to enter records in table using jdbc in java.   Hi Friend, Please visit the following link: Insert data into database Thanks
Version of com.talobin>card-entry dependency
List of Version of com.talobin>card-entry dependency
How to search entry in ZipFile.
How to search entry in ZipFile. In this tutorial, We will discuss the use... will search given entry in a zip file. The getEntry method search specific  entry in a zip file, and returns specified entry or null if it not available
select maximum time entry row - JDBC
select maximum time entry row  Hi fried you given ans... : Status : 3 4 6 8 3 5 7 5 5 7 5 3 4 5 2 5 1 my output will be 5 means 5 is maximum time entry in column Status please if you have any other query
How to design key, design key, key
How to design key       It has been made easy now to design a key by this example, just...: Take "cccccc" color and choose Pen tool (P key), Make points. Select
Maven Dependency card-entry >> 0.1.0
You should include the dependency code given in this page to add Maven Dependency of com.talobin >> card-entry version0.1.0 in your project
Maven Dependency card-entry >> 0.1.1
You should include the dependency code given in this page to add Maven Dependency of com.talobin >> card-entry version0.1.1 in your project
Maven Dependency card-entry >> 0.1.3
You should include the dependency code given in this page to add Maven Dependency of com.talobin >> card-entry version0.1.3 in your project
Maven Dependency card-entry >> 0.1.4
You should include the dependency code given in this page to add Maven Dependency of com.talobin >> card-entry version0.1.4 in your project
Maven Dependency card-entry >> 0.1.2
You should include the dependency code given in this page to add Maven Dependency of com.talobin >> card-entry version0.1.2 in your project
Maven Dependency card-entry >> 0.1.5
You should include the dependency code given in this page to add Maven Dependency of com.talobin >> card-entry version0.1.5 in your project
difference between a primary key and a unique key?
difference between a primary key and a unique key?  What's the difference between a primary key and a unique key?   Hi, The column holding the primary key constraint cannot accept null values.whereas column holding
Inserting a New Entry in a List
Inserting a New Entry in a List       This Example shows you how to Insert a new Entry... in code given below for Inserting a new Entry in List:- Element person
Version of com.nlocketz>entry-point-maven-plugin dependency
List of Version of com.nlocketz>entry-point-maven-plugin dependency
Version of com.nlocketz>entry-point-maven-plugin dependency
List of Version of com.nlocketz>entry-point-maven-plugin dependency
Automatic key press
Automatic key press  Hi Please any one help me is it possible automatic key press in j2me
Create a deque linked list of Entry Objects - Java Beginners
Create a deque linked list of Entry Objects  I need to know if I have successfully created a Square Matrix List of Entry Objects. The detail desciption and my java code solution follows: A) Description 1) The List ADT
php array sort by key
php array sort by key  php script to sort array by key
uikeyboard disable return key
uikeyboard disable return key  uikeyboard - hot to disable return key
KEY EVENT HANDLING
KEY EVENT HANDLING  I am trying to write a program that receives every key stroke even when the window is not active or it's minimized. Is there anyway to do
What is a "primary key"?
What is a "primary key"?  What is a "primary key"?   Hi, Here is the answer, A primary key is used to uniquely identify each row... be an artificial field (one that has nothing to do with the actual record). A primary key can
Validating Duplicate Entry To Database - Java Beginners
Validating Duplicate Entry To Database  I have a servlet that adds data to the table called foodtype in (Ms Access). i already have Chinese, vegetarian entered in table. what am trying to do is to validate when entering foodtypes

Ads

 
Advertisement null

Ads