I m a very much beginner !! plz help me with this very small exception :)
SQL Exception: com.microsoft.sqlserver.jdbc.SQLServerException: Violation of PRIMARY KEY constraint 'PK_unpa'. Cannot insert duplicate key in object 'dbo.unpa'.
BUILD SUCCESSFUL (total time: 0 seconds)
y does this apppear when i run the project ???
the values are getting inserted correctly each time i run the program .
Re: I m a very much beginner !! plz help me with this very small exception :)
Without providing more information, that description is about as descriptive as you will get from anyone else - an SQL call is violating a primary key constraint.
sql primary key violated constraint - Google Search
Re: I m a very much beginner !! plz help me with this very small exception :)
I think primary key repeated in some where.provide more information.
thanks...