ObjectDB Database Search

51-68 of 68 results

NOT NULL not working

I added a OneToOne Realtionship to one of my entity classes. To  give this field a value in my existing datasets i wrote an upgrade method. The cool thing is that SELECT u FROM Unit u WHERE u.lastPosition IS NOT NULL returns no datasets. Is this a bug or am i missing something? mosi0815 Ralph

LAZY @ManyToOne field functions as EAGER

loading in these cases. Regarding your example, ObjectDB can use lazy loading in OneToOne

Failing to read entities under load in multithreaded tests

= 6249921651146397564L; @ OneToOne (cascade=CascadeType.REFRESH, fetch=FetchType.EAGER) private TestEntity

Global way to set Lazy-loading fetch functionality for all the fields

Hi, for cascading persist, I have 3 choices: - Either locally (@ OneToOne (cascade=CascadeType.PERSIST)) - Either at objectdb level ( ) - Either at JPA global level (orm.xml).   For defining fetch policy, I know the local way to do it (@ManyToOne(fetch=FetchType.LAZY)). Is there any way

Trouble bug on explorer

allowIdWaitMe; @ OneToOne (fetch = FetchType.EAGER) private Language mainLanguage; @OneToMany(fetch

Help understanding Entity behavior with JPA

Hi Support,   We have a entity with an @Id entity which we then put into a list and store in an different entity inside a field defined as:   @ OneToOne (orphanRemoval=true, cascade=CascadeType.ALL, fetch=FetchType.EAGER) private Object payload; the list that we put in the 'payload

openejb jpa jaas module

String mailAddress; @ OneToOne private Settings settings; private String phoneNumber; @OneToMany

@Column( name = "columnName") doesn't work

, cascade = CascadeType.ALL) @Column( name = "DATA_ITEMS" ) private List dataItems; @ OneToOne (fetch

"Unexpected query expression" using CriteriaQuery FetchParent Interface

.class);   root.fetch("PersonData"); //@ OneToOne relationship   criteriaQuery.select(root

Accessiblity of attributes in entities in several OSGi-Bundles

() { return name; } } @Entity class MessageImpl { @ OneToOne private ModelElementImpl e; @Basic private

Using of Second Level Cache

MyEntity1 {        @ OneToOne     private MyEntity2

Database Inconsistency or corruption

.persistence. OneToOne (      cascade=javax.persistence.CascadeType.ALL,  

Database(*.odb) file size on disk

; import javax.persistence.Id; import javax.persistence. OneToOne ; import javax.persistence.Persistence

Multi-tenant capability with hierarchies

.hibernate.AnnotationException: @ OneToOne or @ManyToOne", even if I don't use the bean because I

EM.find() is suddenly slower

.FIELD) @Column (name = "uid") private String uid; @ OneToOne (fetch = FetchType.EAGER, cascade

Embedded Entity in EmbeddedId not persisted. Error 631 at select.

class AId {     @ OneToOne (cascade = CascadeType.PERSIST)     

com.objectdb.o.InternalException: null

extends PersistableObject {     @ OneToOne (mappedBy = "spouse")     private

com.objectdb.o.InternalException: java.lang.ArrayIndexOutOfBoundsException: null

;       @ OneToOne     public NewsDetails details; //not used