db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitri Pissarenko" <dmitri.pissare...@gmail.com>
Subject Re: Problem with UNIQUE constraint
Date Thu, 14 Aug 2008 11:16:17 GMT
Hello!

>> {
>>  statement = aConnection.prepareStatement(
>>       MyTable.INSERT_STATEMENT);
>>
>>
>
> What is MyTable.INSERT_STATEMENT?

public static final String INSERT_STATEMENT =
"INSERT INTO MyTable (field01, "
         + "field02, field03, field04, field05, field06,"
         + "field07, field08, field09, field10, field11, field12,"
         + "field13, field14, field15, field16, field17, field18,"
         + "field19, field20, field21, field22, field24, "
         + "field25, field26, field27, field28, field29, field30)"
         + " VALUES (?, ?,"
         + "?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?)";

Best regards

Dmitri Pissarenko
-- 
http://www.xing.com/profile/Dmitri_Pissarenko

Mime
View raw message