171 | A bizarre ClassCastException is thrown if I attempt to obtain a byte array field as the result ... byte[1]); example1.getData()[0] = 123; Example example2 = new Example(); example2.setId(2); example2.setName("name2"); example2.setData(new byte[2 |
171 | I am trying to understand the "embedded=false" for JDO byte[] as described in ObjectDB 1.0 Manual, sections 4.3 and 4.4. I desire to store an image as a byte[] but I don't want the byte[] to be loaded on the loading of the persistent object that has my image's attributes. The byte |
166 | (); example1.setId(1); example1.setName("name1"); example1.setData(new byte[1 ... (2); example2.setName("name2"); example2.setData(new byte[2]); example2 ... String name; private byte[] data; /** * @return the id */ public long getId |
33 | I found that it is impossible to insert a record with @Unique byte[] var; after initial insertion ... on a collection or array (including byte[]) treats every element in the collection or the array as ... that are identical. For example if obj1 has [0, 1, 2] and obj2 has [2, 3, 4] in the unique byte |
32 | bytes Both errors are not fixable. When creating a new db file with the Doctor, this file yields ... object format [2] Page #3 entry 0 (key 'guest') has 11 extra bytes lorenz2304 Benjamin Lorenz ... and there was a false alarm of the Doctor in checking byte arrays. Build 2.4.1 fixes this problem. support Support |
28 | (for persistent fields) Primitive types (boolean, byte, short, char, int, long, float, double). Wrapper types (Boolean, Byte, Short, Character, Integer, Long, Float, Double). java.lang.String Date types: java ... - multiple @Id fields or a @EmbeddedId field. Primary Key Data Types Primitives (boolean, byte, short |
20 | : boolean, byte, short, char, int, long, float and double. Equivalent wrapper classes from package java.lang: Boolean, Byte, Short, Character, Integer, Long, Float and Double. java.math.BigInteger |
20 | a value of one of the following persistable types: Primitive types: boolean, byte, short, char, int, long, float, double. Equivalent wrapper classes from package java.lang: Byte, Short, Character, Integer |
3 | (Byte, Short, Character, Integer, Long, Float, Double), as well as BigInteger and BigDecimal can participate in comparisons as if they were primitive numeric types (byte, short, char, int, long, float ... (Byte, Character, Short, Integer, Long, Float, Double, and also BigInteger and BigDecimal |
3 | are also persistent types: All the primitive types - boolean, byte, short, char, int, long, float and double. Selected classes in package java.lang: Boolean, Byte, Short, Character, Integer, Long, Float, Double, Number ... . For example, the class java.awt.Image is not supported by JDO. You can store images in byte[] fields |