how to implement insert ignore in objectdb?

#1

I want to implement Insert ignore in Objectdb. means if a column is declared as Unique but in case of duplicate it just ignore that row and should not throw exception.

Thanks 

#2

Ignoring duplicates is the default when unique is not specified, so the question is unclear.

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)
#3

But he said the column is specified as unique, right?

#4
ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)
#5

Oh I see, got it. I was just browsing the forum and came across this, so thought I'd chime in :) Hopefully the OP can clarify!


Post Reply

To post a reply and/or subscribe to update notifications - please login