wood burning stoves 2.0*
The moose likes JDBC and the fly likes Modifying Auto Increment column using servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Modifying Auto Increment column using servlets" Watch "Modifying Auto Increment column using servlets" New topic
Author

Modifying Auto Increment column using servlets

ford Darcy Jr
Ranch Hand

Joined: Jan 26, 2005
Posts: 76
Hi,

I have an auto increment column in my database. I am planning to modify the column using servlets. I want to know, will modifying the column effect my already existing table data ?

Thanks.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

This would depend on how you're implementing the auto-increment.
No matter how you're doing it, it isn't going to be servlet specific so I'll move this to the JDBC forum where the DB gurus reside.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
jQuery in Action, 2nd edition
 
subject: Modifying Auto Increment column using servlets
 
Similar Threads
can we preset value of auto-increment ?
@Generatedvalue and MySQL
Regarding Jtable row Deletion
SDO and auto increment keys in DB2
Leaving any property unmapped to a column in Hibernate using annotation