File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes problem with duplicate records Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "problem with duplicate records" Watch "problem with duplicate records" New topic

problem with duplicate records

Harish dp

Joined: Aug 23, 2007
Posts: 3
Hi ,
I have a problem with my code. Im getting duplicate records in DB when i refreshed the page after submitting records.
[ September 12, 2007: Message edited by: Bear Bibeault ]
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63865

Welcome to the Ranch, but there are anumber of things we need to attend to.

Foremost, please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Next, please use a meaninful subject line, and avoid phrases like ASAP. Please read this and read this for more information.

Lastly, please use real words when posting to the forums. Abbreviations such as "plz" in place of "please" only serve to make your posts more difficult to read and less likely to generate useful responses. Please read this for more information.

JavaRanch sheriff

P.S. I have adjusted the subject of this post for you.
[ September 12, 2007: Message edited by: Bear Bibeault ]

[Asking smart questions] [About Bear] [Books by Bear]
Krithika Srinath
Ranch Hand

Joined: Apr 11, 2006
Posts: 52
can you please elaborate more by providing relevant code snippets..?
I agree. Here's the link:
subject: problem with duplicate records
It's not a secret anymore!