Home » Search

About type

81-90 of 200Refresh
Issue
14

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
14

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
Issue
14

Unlimited JPA Persistable Types

you can persist any Serializable type by setting the configuration. There is no point in persisting most of the non serializable types such as Thread, because when retrieved from the database it will not ... any collections either. If this feature was in place it wouldn't matter what the object type is, surely? ThreaT
Forum
14

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 ... type if you enable this ability in the configuration. But using this feature is not recommended. ObjectDB provides better support (i.e. more efficient and portable) for specific types (including collections and maps), based on the JPA specification. EKK
Manual
14

JPA Primary Key

the database is uniquely identified (and can be retrieved from the database) by the combination of its type ... of other persistable types are always stored as part of their containing entity objects and do not ... : } A primary key field that is set by the application can have one of the following types: Primitive types
Manual
14

Query Parameters in JPA

are defined implicitly by appearing in the query string. The parameter type is inferred by the context. In the above example, a comparison of :name to a field whose type is String indicates that the type ... (as other query elements) are represented by objects (of type ParameterExpression or its super
JPA Doc
14

javax.persistence.criteria.Join

, PluralJoin, SetJoin A join to an entity, embeddable, or basic type. Since: JPA 2.0 Learn how to use ... : selection item Since: JPA 2.0 Expression as(Class type) Perform a typecast upon the expression ... expression object. This method does not cause type conversion: the runtime type is not changed. Warning
JPA Doc
14

javax.persistence.criteria.PluralJoin

to all collection types. It is not intended to be used directly in query construction. Since: JPA 2.0 ... . Parameters: name - alias Returns: selection item Since: JPA 2.0 Expression as(Class type ... upon the expression, returning a new expression object. This method does not cause type conversion
JPA Doc
14

javax.persistence.criteria.From

, PluralJoin, Root, SetJoin Represents a bound type, usually an entity that appears in the from clause ... of associations, embeddables, and collections belonging to the type, and for Paths of attributes belonging to the type. Since: JPA 2.0 Selection alias(String name) Assigns an alias to the selection
Forum
14

Attempt to store an instance of a non persistable type java.net.URL

persisting serializable types, so it should also support URL. This ability is disabled by default ... versions of ObjectDB for .NET and for other platforms. It is less efficient than simple types