This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
[ BUILD # : 200809271401 ] [ JDK VERSION : other ] When creating index on database tables for javadb, we can add index with the same name multiple number of times. Netbeans should not allow multiple indexes to have the same name. When deleting one of the indexes, all the indexes with the same names are also deleted
d49129f16c9a
Verified with build 081030.
Integrated into 'main-golden', will be available in build *200810310201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/d49129f16c9a User: David Van Couvering <davidvc@netbeans.org> Log: #148682: [65cat] Adding multiple INDEX of same name
Since this issue is P3 priority, in accord with rules "How to include issues into patch" (http://wiki.netbeans.org/NetBeansPatches) it must include an explanation as to why its backport is necessary and how safe it is. Could you please provide such explanation?
This issue is better to have in Patch 1 because when deleting one of the indexes, all the indexes with the same names are also deleted. So the problem is more about consequences (and they can be quite bad) than about issue itself. But if anybody think that it is rare case, then I can remove status whiteboard. David, could you tell how the fix is safe?
I've transplanted the changeset http://hg.netbeans.org/main/rev/d49129f16c9a into release65_fixes repository as http://hg.netbeans.org/release65_fixes/rev/0f726c5ceeec