ObjectDB Database Search
51-100 of 200 resultsjavax.jdo.JDOUserException Failed to locate field field exampleField using reflection (error 363) to locate field field com.example.db.BDO.testField using reflection (error 363)   ... (ConsoleLoggingServerLauncher.java:12) Caused by: com.objectdb.o._JdoUserException: Failed to locate field field com ... .objectdb.o._JdoUserException: Failed to locate field field com.example.db.BDO.testField using | |
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 and run DB Doctor on the exiting DB file in order to update the schema. The fields are added ... DB file is what was produced by DB Doctor after adding the emergency and broadcast fields | |
PersistenceException: Failed to locate field._PersistenceException: Failed to locate field in this case, adding a primitive String field to an Entity ... new field , shouldn't the policy be to add a null in that field , or other default for that primitive. Specifically, from: http://www.objectdb.com/java/jpa/entity/schema " Fields in the new schema | |
LAZY @ManyToOne field functions as EAGER to console a lazy @ManyToOne field after the entity manager closes. There is a switch DO_VIEW_BEFORE_CLOSE, and when it is true the fields are accessed and output before the finding entity manager closes and as expected both a LAZY @ManyToOne field and an EAGER @ManyToOne field are viewable: b | |
Unexpected internal exception during set field of an Embeddable to null The ArrayIndexOutOfBoundsException is thrown on an attempt to access a 4th field ([3]) in the array of persistent fields of the SignalValueImpl embedded class, which unexpectedly happens to be smaller. During enhancement of the SignalValueImpl class field originalValue was the 4th | |
Problem persisting a TreeSet field Hello, I am getting a "java.lang.IllegalArgumentException: Can not set java.util.TreeSet field ... lorenz2304 Benjamin Lorenz Your definition of field children is invalid in JPA - Only collection interface types ( Collection , Set , List , Map ) should be used in persistent field definition | |
Class fields selection to store In a class how do I define which are the fields to be stored? (using JDO API) It's using persistence-modifier="persistent" ? If I have a class with 40 fields and I only want to store one of the fields should I do the following? Which are the value used for fields that I do not want to store | |
Should derived fields of an EmbeddedId be manually maintained by app code? @EmbeddedId, am I responsible for maintaining the derived fields of the @EmbeddedId? I could not find ... , contains a field , "cont", that is derived from ECompoundKeyMapItem's container field via the @MapsId ... "ECompoundKeyMapSubItemId" class, which contains a field "prnt" which is derived from ECompoundKeyMapSubItem's | |
JPA Queries that is known only at runtime (e.g. depending on which fields are filled by a user in a form | |
What are the main benefits of using ObjectDB? fields can be stored by ObjectDB simply as part of the containing object. Relational databases lack | |
WHERE clause (JPQL / Criteria API) the above population query, if an index is defined on the population field ObjectDB can use | |
Running JPA Queries. createQuery ("DELETE FROM Country"). executeUpdate (); The following query resets the area field in | |
BIRT/ODA ObjectDB Driver... In the [Work with] field enter the ObjectDB update site URL: http://www.objectdb.com/eclipse | |
JPA Annotations for Relationships Relationships are persistent fields in persistable classes that reference other entity objects. The four relationship modes are represented by the following annotations: Unlike ORM JPA implementations, ObjectDB does not enforce specifying any of the annotations above. Specifying a relationship | |
JPA Annotations JPA defines dozens of annotations that can be divided into the following groups: Annotations for JPA aware classes: Annotations for fields in JPA persistable classes: Annotations for additional JPA configuration: Annotations for JPA lifecycle event callbacks: Java EE container annotations: Many | |
Updating JPA Entity Objects by fields that are marked with CascadeType . PERSIST or CascadeType . ALL are also persisted | |
Chapter 1 - Quick Tour that contains points in the plane. Each point is represented by an object with two int fields , x and y | |
boolean field flips after schema update (in class) of another field We have added a boolean field to a class with default value false. After deployment on several instances the values of other boolean fields in the same class (next to the new one) flip or change. This is a serious issue because the related fields were not touched (no change of name or | |
jakarta.persistence.Entity. An entity class holds state, represented as persistent fields and properties: a field or property of basic type maps to a single column in one of the tables mapped by the entity, a field of property ... class must have at least one field or property annotated Id or EmbeddedId holding the primary key | |
jakarta.persistence.Version: Annotation Target: Method, Field Declares the version field or property of an entity class ... field or property holds a version number or timestamp identifying the revision of the entity data ... . This field declares a version number: @Version @Column(name = "REVISION") protected int version | |
jakarta.persistence.IdClass: Annotation Target: Type Specifies a composite primary key type whose fields or properties map to the identifier fields or properties of the annotated entity class. The specified primary key type ... equality consistently with equality of the mapped primary key of the database table. The primary key fields | |
jakarta.persistence.Convert: Annotation Target: Method, Field , Type Specifies how the values of a field or property are converted ... defined autoApply=true , or overriding the use of a converter specified by a field or property ... of each identifier used with the dot notation is the name of the respective embedded field or property | |
jakarta.persistence.AttributeOverride Interfaces: Annotation Target: Type, Method, Field Used to override the mapping of a Basic (whether explicit or default) property or field or Id property or field . May be applied to an entity that extends a mapped superclass or to an embedded field or property to override a basic mapping or id mapping | |
jakarta.persistence.OrderBy: Annotation Target: Method, Field Specifies the ordering of the elements of a collection-valued ... [, orderby_item]* orderby_item ::= [property_or_ field _name] [ASC | DESC] If ASC or DESC is not specified, ASC ... , ordering by the primary key of the associated entity is assumed. The property or field name | |
jakarta.persistence.MappedSuperclass mapped to a database table. The persistent fields and properties of a mapped superclass are declared ... is FTEMPLOYEE table @Entity public class FTEmployee extends Employee { // Inherited empId field mapped to FTEMPLOYEE.EMPID // Inherited version field mapped to FTEMPLOYEE.VERSION // Inherited address field | |
jakarta.persistence.Basic: Annotation Target: Method, Field The simplest type of mapping of a persistent field or property ... annotation is optional for persistent fields and properties of these types. If the Basic annotation is not specified for such a field or property, the default values of the Basic annotation apply | |
jakarta.persistence.AssociationOverride Interfaces: Annotation Target: Type, Method, Field Used to override a mapping for an entity relationship ... embedded within another embeddable class), AssociationOverride is applied to the field or property ... an embeddable class, the name element specifies the referencing relationship field or property | |
jakarta.persistence.ManyToOne: Annotation Target: Method, Field Specifies a single-valued association to another entity class ... the relationship field or property of the entity that is the owner of the relationship. A ManyToOne ... to specify the relationship field or property of the embeddable field or property on the owning | |
jakarta.persistence.Enumerated: Annotation Target: Method, Field Specifies that a persistent property or field should be persisted as an enumerated type. This annotation is optional if the type of a persistent field or property ... the available options. The mapping may be explicitly specified by this annotation. If a persistent field or | |
jakarta.persistence.OneToOne: Annotation Target: Method, Field Specifies a single-valued association to another entity class ... to specify the relationship field or property of the owning side. A OneToOne association usually ... the relationship field or property of the embeddable class. The dot ( . ) notation syntax must be used in | |
Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct), the inability to robustly query relationship fields in a web application renders the ObjectDB ... . For a number of different List fields , a query performed immediately after creating and persisting ... via a querying @EJB gives many fields null (and not even empty, I mean truly null). In | |
Problem using "and" for joined entities and indexed fields Using @Index for fields and filter more than one field with "and" predicate ends in empty result ... ; but if you can't use these fields in logical expressions like "and" is a big problem. Netzverb Andreas Göbel This indeed indicates a bug in using indexes on fields of embedded objects in | |
ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection to set numeric value of field property com.greensoft.objectdb.test.entity.Element.id using reflection ... value of field property com.greensoft.objectdb.test.entity.Element.id using reflection (error 613 ... : com.objectdb.o.UserException: Failed to set numeric value of field property com.greensoft.objectdb | |
jakarta.persistence.ManyToMany: Annotation Target: Method, Field Specifies a many-valued association with many-to-many multiplicity ... the relationship field or property of the owning side. The join table for the relationship, if not defaulted ... the mappedBy element of the ManyToMany annotation to specify the relationship field or property | |
jakarta.persistence.Embeddable of multiple persistent fields or properties, across several entities, and so distinct instances ... in the table or tables mapped by the owning entity. The persistent fields and properties ... its owning entity to another entity. However, an embeddable class may not have a field or property | |
jakarta.persistence.EmbeddedId: Annotation Target: Method, Field Specifies that the annotated persistent field or property ... field or property must be an embeddable type, and must be explicitly annotated Embeddable . If a field or property of an entity class is annotated EmbeddedId , then no other field or property | |
jakarta.persistence.EnumType how a persistent property or field whose type is a Java enum type should be persisted. See Also: Enumerated ... how to use EnumType . Enum Constants ORDINAL Persist enumerated type property or field as an integer. The ordinal value of an enum instance with no EnumeratedValue field is the value of its Enum.java.lang.Enum | |
jakarta.persistence.criteria.CriteriaBuilder: exponential. Since: Jakarta Persistence (JPA) 1.0 Expression extract ( TemporalField field , Expression temporal ) Create an expression that returns the value of a field extracted from a date, time, or datetime. Parameters: field - a temporal field type temporal - a date, time, or datetime Returns | |
jakarta.persistence.CollectionTable Interfaces: Annotation Target: Method, Field Specifies the table that is used for the mapping of collections of basic or embeddable types. Applied to the collection-valued field or property. By default ... of the collection-valued field or property. In the case of an embeddable class, the column names are derived | |
Step 3: Define an EJB Session Bean; next step ). Prepares an EntityManager automatically and injects it into the em field | |
Step 3: Define a Spring DAO Component it into the em field (because it is annotated with the @PersistenceContext annotation | |
Step 2: Entity Class and Persistence Unit { private static final long serialVersionUID = 1L; // Persistent Fields : @Id @GeneratedValue Long id | |
Step 4: Add a Controller Class is automatically constructed and injected by Spring into the guestDao field (because it is annotated | |
Step 5: Design a BIRT Report Chart these fields for content assistant) and click Next . In the [Format Chart] tab you can set the chart title | |
Step 6: Design a BIRT Report Table ) in the third field and click OK . Fill the table with data by dragging the x and y columns from | |
Getting Started with JPA This tutorial demonstrates how to create and run a simple JPA application. The demonstrated application uses JPA to store and retrieve simple Point entity objects, where each Point has two persistent fields - x and y . If you already know JPA - the source code will be straightforward | |
Step 3: Define a Spring DAO Component it into the em field (because it is annotated with the @PersistenceContext annotation | |
Step 3: Define an EJB Session Bean the next step ). Prepares an EntityManager automatically and injects it into the em field | |
Getting Started with JPA and NetBeans This is the NetBeans version of the Quick Start with JPA tutorial. It demonstrates how to create and run a simple JPA application in NetBeans. The demonstrated application uses JPA to store and retrieve simple Point entity objects, where each Point has two persistent fields | |
Step 7: Run the Spring Web App; jetty:run in the Goals field and click OK . Open your browser at http://localhost:8080 |