Re: JDBC persistence

Martin Matula <[email protected]> Wed, 07 Jan 2004 22:36:19 +0100
Newsgroups gmane.comp.java.netbeans.modules.mdr.devel
Message-ID <[email protected]>
Hi John,

John V. Sichi wrote:
>> [MaM] That's strage - bootmof should not create unique-valued indexes. 
>> If it is really the case, it is probably a bug in MDR and we should 
>> investigate it. But currently it is of low priority.
> 
> OK.  It's easy to reproduce by turning off the duplicate suppression 
> code in JdbcMultivaluedIndex.add.  What should the semantics be (outside 
> of bootmof)?  Store duplicates, discard duplicates, or throw an exception?

It should throw an exception.

Martin