ObjectDB ObjectDB

Internal Website Search

1-10 of 113 resultsRefresh
171

Problem with byte arrays in JDO - ClassCastException

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

Non Embedded byte[]

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

Problem with byte arrays in JDO - internal exception

(); 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

Can not have unique index on Byte Array

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

Page #9 entry 0 (key 'bjjl') has 75 extra bytes / Unexpected last index ID: -119 (expected -116)

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

ObjectDB Object Database Features

(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

JPA Persistable Types

: 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

Index Definition

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

[ODB1] Chapter 7 - JDOQL Queries

(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

[ODB1] Chapter 3 - Persistent Classes

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

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support