Internal Website Search
51-68 of 68 resultsopenejb jpa jaas module String mailAddress; @ OneToOne private Settings settings; private String phoneNumber; @OneToMany | |
Accessiblity of attributes in entities in several OSGi-Bundles() { return name; } } @Entity class MessageImpl { @ OneToOne private ModelElementImpl e; @Basic private | |
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 | |
EM.find() is suddenly slower.FIELD) @Column (name = "uid") private String uid; @ OneToOne (fetch = FetchType.EAGER, cascade | |
@Column( name = "columnName") doesn't work, cascade = CascadeType.ALL) @Column( name = "DATA_ITEMS" ) private List dataItems; @ OneToOne (fetch | |
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 | |
Embedded Entity in EmbeddedId not persisted. Error 631 at select. class AId { @ OneToOne (cascade = CascadeType.PERSIST)   | |
Failing to read entities under load in multithreaded tests = 6249921651146397564L; @ OneToOne (cascade=CascadeType.REFRESH, fetch=FetchType.EAGER) private TestEntity | |
Multi-tenant capability with hierarchies.hibernate.AnnotationException: @ OneToOne or @ManyToOne", even if I don't use the bean because I | |
Removing an entity throws exception; @ OneToOne (cascade=CascadeType.ALL, fetch=FetchType.EAGER,   | |
Database Inconsistency or corruption.persistence. OneToOne ( cascade=javax.persistence.CascadeType.ALL,   | |
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 | |
@JoinColumn(nullable=false). But you can use the optional element of the @ManyToOne and @ OneToOne annotations. Similarly | |
Error 363 - Failed to read value of inverse relationship(TemporalType.TIMESTAMP) private Date signUpDate = new Date(), signInDate; @Embedded @ OneToOne private | |
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 |