Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Does JDBC insert a value into the Primary Key?

843854Jun 16 2002 — edited Jun 17 2002
Hi,
I'm using a servlet to input data froma n html form ,into an ACCESS Database.I'm using SQL statements i t he servlet ,and i'm confronted with the question:
ALL database records are indexed with B_ID as the "Primary Key".

I want to know: If I add the fields without a B_ID ..will SQL/JDBC/Access automatically add one for me?

Or must I create the system that will count the records before adding a new B_ID?

Hope you can help me.Thanks!
Aesh83
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 15 2002
Added on Jun 16 2002
2 comments
103 views