| | |
| | | import org.forgerock.opendj.io.ASN1; |
| | | import org.forgerock.opendj.io.ASN1Reader; |
| | | import org.forgerock.opendj.io.ASN1Writer; |
| | | import org.forgerock.opendj.ldap.ByteString; |
| | | import org.forgerock.opendj.ldap.ByteStringBuilder; |
| | | import org.opends.server.api.CompressedSchema; |
| | | import org.opends.server.backends.pluggable.BackendImpl.Cursor; |
| | |
| | | import org.opends.server.types.InitializationException; |
| | | import org.opends.server.util.StaticUtils; |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | import static com.sleepycat.je.LockMode.*; |
| | | import static com.sleepycat.je.OperationStatus.*; |
| | | |
| | | import static org.opends.messages.JebMessages.*; |
| | | |
| | | /** |
| | |
| | | private boolean putNoOverwrite(final Database database, final byte[] key, final ByteStringBuilder value) |
| | | throws DirectoryException |
| | | { |
| | | final ByteString keyEntry = new ByteString(key); |
| | | final ByteString valueEntry = new ByteString(value.getBackingArray(), 0, value.length()); |
| | | final ByteString keyEntry = ByteString.wrap(key); |
| | | final ByteString valueEntry = ByteString.wrap(value.getBackingArray(), 0, value.length()); |
| | | for (int i = 0; i < 3; i++) |
| | | { |
| | | try |