Hi Dmitri,

It would help if you would show your DDL to define the table and a short program segment that would demonstrate the problem.

I've not heard of such a problem.

Craig

On Aug 13, 2008, at 1:07 PM, Dmitri Pissarenko wrote:

Hello!

I have a database table with a UNIQUE constraint.

However, when I try to insert duplicate records, this happens without
an exception (I'm using prepared statements).

How can fix this problem, i. e. how can I achive that an exception is
thrown, when my program attempts to insert a duplicate record in this
table?

Thanks in advance

Dmitri Pissarenko

Craig L Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:[EMAIL PROTECTED]
P.S. A good JDO? O, Gasp!

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to