ObjectDB ObjectDB

Internal Website Search

51-60 of 69 resultsRefresh

"Unexpected query expression" using CriteriaQuery FetchParent Interface

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

openejb jpa jaas module

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

Accessiblity of attributes in entities in several OSGi-Bundles

MessageImpl { @OneToOne private ModelElementImpl e; @Basic private String

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 (<cascade-persist always="auto" on-persist="false" on-commit="true" />) - Either at JPA global level (orm.xml). For defining fetch policy, I know the local way

EM.find() is suddenly slower

(AccessType.FIELD) @Column (name = "uid") private String uid; @OneToOne (fetch

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

" ) private List<AfwDataKeyItem> dataItems; @OneToOne(fetch = FetchType.LAZY, cascade

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

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

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

CascadeType.PERSIST: @Embeddable public static class AId {     @OneToOne(cascade

com.objectdb.o.InternalException: null

PersistableObject {     @OneToOne(mappedBy = "spouse")     private Customer spouse = null;     private

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support