Fast Object Database for Java - with JPA/JDO support

Internal Website Search

61-70 of 200 resultsRefresh
15

Cast in typed query

the generic list type: @ElementCollection(fetch = FetchType.EAGER) private List types = null; Now I can use "instanceof" within a query in order to select only elements of the specific type: SELECT o FROM OtherType o JOIN o.types t WHERE t instanceof MySpecificType But how can I cast
15

Removing of an entity removes also another entity type

some new ResolverMappings DELETE FROM ToleranceDefinition SELECT rm from ResolverMapping WHERE rm.type = 'interfaces' // there are also other types like 'scopes' em.remove(toleranceDefinition ... ', but it works without exception SELECT rm from ResolverMapping WHERE rm.type = 'interfaces' // now
15

DB Doctor sets type to "unknown" for new fields

Hi, we are using ObjectDB 2.5.4_04 on Linux. We added two new Boolean fields to a persistable type ... to the schema as expected, however their type is set to unknown - we were expecting Boolean. The attached ... in DB Explorer select r.emergency from RecordingMetaData as r you will notice that the type (RSL
15

@AttributeOverrides , and postgresql + own TYPE

even if i wanted to. In structure of DB is this. -- -- Name: address; Type: TYPE; Schema: artio; Owner: facman -- CREATE TYPE address AS ( street character varying, city character varying, state ... ); ALTER TYPE artio.address OWNER TO facman; AS you notice, in my project i have more schemats let say
15

Wrong @Id type

that have already changed their types you will have to 'touch' the objects and store them again, or use an ObjectDB version before the fix, with an UPDATE queries that change the IDs to the correct type ... explorer the type of the id column is displayed as long, as it shold be, but selecting only id column from
15

delete of a collection in explorer changes type

accidently we used the option delete on a collection of type ArrayList. On doing so the type changed to List. we are using explorer version 2.7.1_02 How can we change that back again ? hgzwicker Hans-Georg Zwicker Is it only an issue with the type of the field as shown by
15

Custom collection types

, nevertheless it causes some questions. I checked that i can easily change the type of collection between ... this for collections which are not in java.util package? if this collection type will be used in first app release to allow data to be imported to db, can we next changed this type to standard
15

Failed to generate dynamic type

Hi I was trying to enhance some of my classes and I got an error : Failed to generate dynamic type ... persistable types have been enhanced: test.MyEntity1 test.MyEntity2 test.MyEmbeddable 2 NON persistable types have been enhanced: Main test.Manager what does it means : "2 NON persistable types
15

Inconsistent return types from JDO query

I'm running a JDO query which returns the sum of an int field. The return type of the Object ... ) has no effect. sjzlondon Steve Zara The type of a sum expression depends on the type of the field ... and specify the relevant types. support Support I am attaching sample code which reproduces the problem
15

OEM: Too many persistable types (>10) - exceeds evaluation limit (error 1011)

_03] javax.jdo.JDODataStoreException Too many persistable types (>10) - exceeds evaluation limit ... persistable types (>10) - exceeds evaluation limit (error 1011) at com.objectdb/com.objectdb.jdo ... types" error. This is a new error on the test computer. There have been many changes from the previously

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