ObjectDB Database Search

51-100 of 200 results

auto-generated uuid fields

auto-generated uuid fields

NullPointer when accessing persistent field

NullPointer when accessing persistent field

auto-generated uuid fields

auto-generated uuid fields

jakarta.persistence.Id

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.Id Implemented Interfaces: Annotation Target: Method, Field Identifies the primary key of an entity. The field or property ... or field . Example: @Id public Long getId() { return id; } See Also: Column GeneratedValue

jakarta.persistence.Lob

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.Lob Implemented Interfaces: Annotation Target: Method, Field Specifies that the annotated persistent property or field ... ) is inferred from the type of the persistent field or property. For string and character-based types

jakarta.persistence.MapKeyColumn

: Annotation Target: Method, Field Specifies the mapping for the key column of a map whose map key ... of the following: the name of the referencing relationship field or property; " _ "; " KEY ". Example: @Entity ... relationship field or property; " _ "; " KEY ". Default: "" Since: Jakarta Persistence (JPA) 1.0 boolean

jakarta.persistence.MapKeyJoinColumn

Interfaces: Annotation Target: Method, Field Specifies a mapping to an entity that is a map key. The map ... of the referencing relationship property or field of the referencing entity or embeddable class ... annotation at the table level and is useful for when the unique key constraint is only a single field

jakarta.persistence.FieldResult

the SELECT list of a SQL query to the properties or fields of an entity class. Example: Query q = em ... .Order.class, fields = { @FieldResult(name = "id", column = "order_id"), @FieldResult(name = "quantity ... Name of the persistent field or property of the class. Since: Jakarta Persistence (JPA) 1.0 String

Explorer in 2.3

HD), etc... 5. Evaluation of expressions when editing fields - It would be very useful to be able to enter a Java expression into a field . For example, suppose you have a User entity with a password field . I would like to enter SHA1.hash("mypassword");  You might use beanshell for the expression

jakarta.persistence.GeneratedValue

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.GeneratedValue Implemented Interfaces: Annotation Target: Method, Field Specifies a generation strategy for generated primary keys. The GeneratedValue annotation may be applied to a primary key property or field of an entity or mapped

jakarta.persistence.JoinTable

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.JoinTable Implemented Interfaces: Annotation Target: Method, Field Specifies the mapping of an association to an intermediate join table ... ", referencedColumnName = "ID")) This annotation may not be applied to a persistent field or property not annotated

jakarta.persistence.InheritanceType

, with only the columns mapped to persistent fields and properties declared by the entity class. Each ... to inherited fields or properties, and so the state of an entity instance might be stored across multiple table

jakarta.persistence.Embedded

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.Embedded Implemented Interfaces: Annotation Target: Method, Field Declares a persistent field or property of an entity whose value is an instance of an embeddable class. The embeddable class must be annotated as Embeddable

jakarta.persistence.ElementCollection

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.ElementCollection Implemented Interfaces: Annotation Target: Method, Field Declares a collection of instances of a basic type or ... of the collection. This element is optional only if the collection field or property is defined using Java

jakarta.persistence.EntityResult

[] fields Maps the columns specified in the SELECT list of the query to the properties or fields

jakarta.persistence.Persistence.PERSISTENCE_PROVIDER

Jakarta Persistence (JPA) Field in jakarta.persistence.Persistence PERSISTENCE_PROVIDER This final ... Deprecated: TODO: Either change TCK reference to PERSISTENCE_PROVIDER field to expect "jakarta.persistence.spi.PersistenceProvider" or remove PERSISTENCE_PROVIDER field and also update TCK signature tests. Since: Jakarta Persistence (JPA) 1.0

newbie - lots of exeptions

of field field com.prohire.agent.entities.CompanyLocation.locationPKey using reflection - field com ... .UserException: Failed to get reference value of field field com.prohire.agent.entities.CompanyLocation.locationPKey using reflection - field com.prohire.agent.entities.CompanyLocation.locationPKey at com

Cascading makeTransient

Hi! We have a memory leak in our app because of ObjectDBs __odbTracker fields . The situation ... of B contain the field __odbTracker of type com.objectdb.o.EMT, which then holds a reference ... . I supposed that makeTransient() should work somehow cascading even for the fields of the Entity

Database size is much larger than expected (x2)

to commit transaction: Failed to write the value of field field image.URI.baURI using reflection (error ... .objectdb.o.UserException: Failed to write the value of field field image.URI.baURI using reflection ... : Failed to write the value of field field image.URI.baURI using reflection at com.objectdb.o.MSG.d(MSG

jakarta.persistence.AttributeOverride.name

Jakarta Persistence (JPA) Method in jakarta.persistence.AttributeOverride String name (Required) The name of the property whose mapping is being overridden if property-based access is being used, or the name of the field if field -based access is used. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.JoinColumns

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.JoinColumns Implemented Interfaces: Annotation Target: Method, Field Specifies the mapping for composite foreign keys. This annotation groups JoinColumn annotations for the same relationship. Each JoinColumn annotation must explicit

jakarta.persistence.MapKeyClass

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.MapKeyClass Implemented Interfaces: Annotation Target: Method, Field Specifies the type of the map key for associations of type Map . The map key can be a basic type, an embeddable class, or an entity. If the map is specified using Java

jakarta.persistence.MapKeyEnumerated

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.MapKeyEnumerated Implemented Interfaces: Annotation Target: Method, Field Specifies the enum type for a map key whose basic type is an enumerated type. The MapKeyEnumerated annotation can be applied to an element collection or

jakarta.persistence.MapKeyTemporal

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.MapKeyTemporal Implemented Interfaces: Annotation Target: Method, Field This annotation must be specified for persistent map keys of type Date and Calendar . It may only be specified for map keys of these types. The MapKeyTemporal

jakarta.persistence.MapKeyJoinColumns

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.MapKeyJoinColumns Implemented Interfaces: Annotation Target: Method, Field Supports composite map keys that reference entities. The MapKeyJoinColumns annotation groups MapKeyJoinColumn annotations. When the MapKeyJoinColumns annotation

jakarta.persistence.MapsId

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.MapsId Implemented Interfaces: Annotation Target: Method, Field Designates a ManyToOne or OneToOne relationship attribute that provides the mapping for an EmbeddedId primary key, an attribute within an EmbeddedId primary key, or

jakarta.persistence.Converts

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.Converts Implemented Interfaces: Annotation Target: Method, Field , Type Used to group Convert annotations. Multiple converters must not be applied to the same basic attribute. See Also: Convert Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.ColumnResult

= { @EntityResult( entityClass = com.acme.Order.class, fields = { @FieldResult(name = "id", column = "order_id

jakarta.persistence.EntityManager

to its persistent fields and properties are automatically detected, as long as it is associated with an active

StackOverflowError after commit

.UserException: Failed to write the value of field field com.btc.ep.architecture.virtualcomposed.bl.internal.dmos.VirtualChildInterfaceImpl.architecture using reflection - field com.btc.ep.architecture.virtualcomposed.bl.internal.dmos.VirtualChildArchitectureImpl.virtualInterfaces - field com.btc.ep

Database corrupted after schema change

instances normally (all fields on their place). ObjectDB Doctor did not find on them any mistake. Then I ... of the fields are shifted, so in one database TC. tableID contains the value of BDO.modifiedBy, in ... ------------------- [1] Page #19753 entry 0 has unexpected field count (7 instead of 5) 0. oid = '567651' 1. deleted

enumeration table? how to on pure jpa?

? Like this: @Entity @Table(name="enumerations") public class Enumerations { // Field binding possible like below ? @Column( field ="servername") private String serverName; @Column( field ="username") private String username; @Column( field ="serverPort") private Integer serverPort;     

JSON serialization and __odbHidden members

has a clone field with "__odbHidden" suffix, e.g.there's  "id" and "id__odbHidden" is also (unwantenly) present with the same value. In general, we can annotate fields to include/exclude them from JSON serialization, but since these fields are not declared in my classes, I have no idea how to tell

Understanding limitations of schema evolution

update when changing a field’s name Yet, i am confused regarding how to handle the case where one re-factors a class by moving one if it's Fields to a different class. Is this case managable? Thanks yoda yoda If a persistent field is moved to a super class or a sub class (i.e. changes hierarchy

OneToMany and cascade delete problem

database, but all fields in related Product are nullified. Only ID stay the same. There is no exception ... to write the value of field field com.objectdb.test.bug.forum.T501$Store.offers using reflection ... ) Caused by: com.objectdb.error.UserException: Failed to write the value of field field com.objectdb.test

ClassCastException of same object type

(XCCompetitorCount.class.getClassLoader()); I now get an exception on the line em.persist(obj); The field org ... value of field field org.sportscoring.ssv.xc.core.XCCompetitorCount.externalSyncID using enhanced ... by: com.objectdb.o.UserException: Failed to get reference value of field field org.sportscoring.ssv

IDs of Entities suddenly became UUIDs?

the DB are having the field "myId" as type "String" and with an UUID ... change that included @Id fields . This situation of mixed ID types can be easily reproduced by ... ) with a different  @Id type. For example, adding a new @Id field to an entity class can hide

query on calendar class

'}? The only solution is keep time and date i other fields and do that same wiht DAY_OF_WEEK? Solek Henryk ... duplicating this information into an additional persistent field . The comparison failed because of comparing a Calendar to a Date . Using Date or Timestamp as the field type instead of  Calendar

Schema-Update: Rename superclass and remove one subclass

.close(); emf.close(); } Entities: @Entity @Access(AccessType. FIELD ) public class SuperClass { public SuperClass() { } } ChildClassA: @Entity @Access(AccessType. FIELD ) public class ChildClassA extends ... () { } } ChildClassB: @Entity @Access(AccessType. FIELD ) public class ChildClassB extends SuperClass { @Basic

Join performance in Objectdb

the problem. Maybe the id fields in Page and Image are not annotated with @Id or @Index . In that case ... , it is supposed that the count of every field should be the same performance. I have no time to test the field of byte[], you know. TIA gzdillon Lai Yang 1, It is supposed that there is an implicit index

jakarta.persistence.AttributeOverrides.value

Jakarta Persistence (JPA) Method in jakarta.persistence.AttributeOverrides AttributeOverride[] value (Required) One or more field or property mapping overrides. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Basic.fetch

Jakarta Persistence (JPA) Method in jakarta.persistence.Basic FetchType fetch (Optional) Whether the value of the field or property should be lazily loaded or must be eagerly fetched. The EAGER strategy is a requirement on the persistence provider runtime that the associated entity must be eagerly

jakarta.persistence.Persistence.providers

Jakarta Persistence (JPA) Field in jakarta.persistence.Persistence providers Since: Jakarta Persistence (JPA) 1.0

Complex Schema Upgrade not working

"address" - All fields and methods from classes "contact.Contact" and "customer.Customer ... support consists of: Automatic schema evolution - for adding and removing fields and for class hierarchy change. Configuration schema changes - for renaming packages, classes and fields . Changing

Possible cause for "Enhancement of type ... is old and cannot be used"

after enhancement, e.g. adding a persistent field to a super class. support Support Since Feb 2016 I ... am certainly not 'adding a persistent field to a super class' in any of these cases. I have not ... : Failed to set numeric value of field property Element.id using reflection However, in my main real-world

combined index not used

retaining only results that satisfy: (a.endDate=:1). [Step 1c] Retrieve fields in Action (a) instances ... over all the instances (v$1) in a.objectsInCharge. Step 3: Extract field values ---------------------------- Retrieve fields in ObjectNode (v$1) instances. Step 4: Process ObjectNode (v$2) instances

new objects not available in mappedBy associations

, but if the query has already been run and the field already contains a value - it will not be run again unless ... with ordinary queries. Only with automatic queries that are used for inverse fields , after the inverse field ... ? The argument to refresh is the object that contains the inverse field . This way you enforce reloading

queries under 2.7.6_4 significantly slower than under 2.7.6

that satisfy:    (o.classIdentifier='(OP)'). [Step 1b] Retrieve fields in ObjectNode (o) instances ... ) instances that satisfy:    (o.linkedObjects join v$1). [Step 2b] Evaluate fields in ... that satisfy:    (o.properties join v$2). [Step 3b] Evaluate fields in ObjectProperty (v$2

Best practice for history tracking

We would like to add to records start and end timestamp fields . When end field is null ... for null end field ? If using end field , would an index matter? what is the best way to intercept the update operation, clone the object, update the old one (if end field is used) and save the clone

spuriously objectdb objects have null references

only for lazy collection fields ? Could you please check the status of the entity objects and these collection fields when this happens using isLoaded method in PersistenceUtil ?   support Support we checked ...  but why can we have such a behaviour ? The main goal is to make sure that unloaded fields