About types

81-90 of 200Refresh
Forum
16

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 ... .class) has no effect. The type of a sum expression depends on the type of the field on which it works ... types. I am attaching sample code which reproduces the problem. Thank you for this report
Issue
16

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
Forum
16

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

_03] javax.jdo.JDODataStoreException Too many persistable types (>10) - exceeds evaluation limit ... HAS been performed. [ObjectDB 2.7.2_04] javax.jdo.JDODataStoreException Too many persistable types ... " is from the test computer that throws the "too many persistable types" error.   This is a new error
Forum
16

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

fails     EntityType 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  (id=57) m_attrMap
Forum
16

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"> com.objectdb.jdo.Provider ... > type="RESOURCE_LOCAL
Forum
16

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 ... that all the relevant types for ObjectDB are available only in one Eclipse bundle.     Hello, I think ... it Exception in thread "main" [ObjectDB 2.6.4_07] javax.jdo.JDOUserException Type java.util.ArrayList
Issue
16

Enhancer option to enhance all persitable types

Hello, can you add an option to the Class Enhancer to enhance all persistable types and ignore the NON persistable types. Like the Load Time Enhancement. A new argument (undocumented yet) was added ... ... It should exclude enhancing non persistable types (i.e. persistence aware classes) as in using Enhancer
Forum
16

Failed to enhance dynamic type

to generate dynamic type com.quasado.galaxy.foundation.api.language.LanguageContext I am curious why he does even try to generate dynamic type?? Can he simply ignore such things and enhance ... generating a dynamic synthetic type. Usually it succeed but in some cases it fails
Issue
16

Feature Request: Subclassed PersistenceException for Type Not Found in DB Schema

without parsing the exception text.  It would be very nice if this particular exception were a type ... .summaryframework.entities.daos.SummaryArchiveDAO:206 -> Query failed due to TEX: Type ... could be different.   Thank you very much for your help!  This issue is resolved. Introducing the type
Forum
16

"Unsupported auto value type java.lang.String" when persisting new instance

"main" [ObjectDB 2.3.2] javax.persistence.PersistenceException Unsupported auto value type java.lang ... (NetworkInformationDatabase.java:71) Caused by: com.objectdb.o.UserException: Unsupported auto value type java.lang.String ... ; You cannot use @GeneratedValue for string Id only for numeric Ids. Id fields whose type is string have to be assigned a value by the application. kiki