equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
49 * <code>SerialBlob</code> object as an array of bytes or as a stream. |
49 * <code>SerialBlob</code> object as an array of bytes or as a stream. |
50 * They also make it possible to locate a given pattern of bytes or a |
50 * They also make it possible to locate a given pattern of bytes or a |
51 * <code>Blob</code> object within a <code>SerialBlob</code> object |
51 * <code>Blob</code> object within a <code>SerialBlob</code> object |
52 * and to update or truncate a <code>Blob</code> object. |
52 * and to update or truncate a <code>Blob</code> object. |
53 * |
53 * |
54 * <h3> Thread safety </h3> |
54 * <h2> Thread safety </h2> |
55 * |
55 * |
56 * <p> A SerialBlob is not safe for use by multiple concurrent threads. If a |
56 * <p> A SerialBlob is not safe for use by multiple concurrent threads. If a |
57 * SerialBlob is to be used by more than one thread then access to the SerialBlob |
57 * SerialBlob is to be used by more than one thread then access to the SerialBlob |
58 * should be controlled by appropriate synchronization. |
58 * should be controlled by appropriate synchronization. |
59 * |
59 * |