Re: Meeting trouble when inserting a record into dababase using JDBC.
Sunday, March 23, 2003 10:29 AM
As you pointed out, the first solution is cleaner. Most databases create indexes on the primary key automaticaly. So there shouldn't be a big performance impact by checking first.