ObjectDB ObjectDB

Internal Website Search

71-80 of 200 resultsRefresh
70

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
69

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
69

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
69

Enhancer failure: Failed to process class file of type

Stack trace below: [ObjectDB 2.7.1_02] Failed to process class file of type 'app.model.ClientSession' (error 422) com.objectdb.o.UserException: Failed to process class file of type 'app.model ... .java:33) Caused by: com.objectdb.o.UserException: Failed to generate dynamic type jdk.internal
69

c.o.jpa.type.EntityTypeImpl.getIdType() returns null

fails     EntityType<T> type = metamodel.entity(domainClass);     if (type == null ... the given Metamodel!");     }     this.attribute = type.getId(type.getIdType().getJavaType()); in the debugger is i can see this member m_idType is null type EntityTypeImpl<X> (id=57) m_attrMap
69

Type ... is not defined as an entity (@Entity is missing) (error 302)

the CultureRqst leads to the following exceptions: [ObjectDB 2.2.8_08] javax.jdo.JDOUserException Type com ... loaders). Please verify that all the relevant types for ObjectDB are available only in one Eclipse ... " [ObjectDB 2.6.4_07] javax.jdo.JDOUserException Type java.util.ArrayList<java.lang.Object> is not defined
69

Too many persistable types (>10) - exceeds evaluation limit

for this and get a JdoDataStoreException: Too many persistable types (>10) - exceeds evaluation limit ... ObjectDBWriting Join Tables" transaction-type="RESOURCE_LOCAL"> <provider>com.objectdb.jdo.Provider ... > <persistence-unit name="JDO ObjectDB ObjectDBReading Join Tables" transaction-type="RESOURCE_LOCAL
68

Type xxx is not found (error 301)

The error: Type User is not found (error 301) occurs when I query the db for a type before any instances of that type have been persisted, e.g.: return em.createQuery ("SELECT a FROM User a").getResultList (); What I was expecting was an empty list, not an error. Is there some enhancement
68

Why can't we persist an object with a field of type EnumMap in ObjectDB?

Hi, Is there a reason why we can't persist an object with a field of type EnumMap in ObjectDB ... You can persist any Serializable type if you enable this ability in the configuration. But using this feature ... types (including collections and maps), based on the JPA specification. support Support
13

Issue with TYPE expression in Criteria API

.virtual.model.MyCustomer $1 WHERE TYPE($1)=class com.test.model.Customer Exception in thread "main ... persistable type java.lang.Class (error 303) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java ... by: com.objectdb.o.UserException: Attempt to store an instance of a non persistable type java.lang

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