Fast Object Database for Java - with JPA/JDO support

Internal Website Search

71-80 of 200 resultsRefresh
1

Mapped (Inverse) LAZY @OneToMany vs. Unmapped LAZY @OneToMany

() + "}" + "[" + id + "]\"" + name + "\"";         }         @ManyToOne(fetch = FetchType.LAZY, cascade ... = "a", cascade = CascadeType.ALL)         List listA_mapped;         @OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL)         List listB_unmapped;     }     @Entity
1

Updating Entities

... How do I ensure that any changes done to paygradeDB cascade into employeeDB? DragonRulerX Jared Hinze ... to cascade throughout the entire application. I don't want to tell my users "If you make a modification ... and paygradeDB, are actually to different objects entirely - which explains why the changes weren't cascading
1

Dirty checking

: What's the best way to cascade persistence of Entities contained by other Entities (i.e ... one atomic unit regarding change detection. Please use a new forum thread to discuss cascading, as ... them Entities instead. will move cascading discussion to a new thread. thanks dmoshal David Moshal
1

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
1

objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc-check") vs. generic classes with interfaces: detailed investigation

.objectdb.o.TVS.j(TVS.java:169) at com.objectdb.o.TVS.cascade(TVS.java:156) at com.objectdb.o.STA ... .CLT.visitRefs(CLT.java:161) at com.objectdb.o.TVS.j(TVS.java:169) at com.objectdb.o.TVS.cascade ... ); //rely on Cascade all on ownedElements. The reported error with EnumValue::setOldValue occurs
1

objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active'

, which using a serious of cascading lazy builder methods (with complex entity building and wiring ... // of entities using cascading lazy creation methods. } return project ... ]"); // Would normally do other builder stuff here for project .. // before using in other cascading lazy
1

Error 613 - i cant put a list<Athlete> into a Squad object

explicitly before commit. Annotate the athletes collection using @OneToMany(cascade=CascadeType.PERSIST). Annotate the athletes collection using @OneToMany(cascade=CascadeType.ALL). Set global automatic cascading persist. See the Storing JPA Entity Objects page in the ObjectDB manual for more details. support Support
1

Performance in large transactions

));   }   return floats; } @Entity public static class MyEntity {   @OneToMany(cascade ... (cascade = CascadeType.ALL, mappedBy = "ownerEntity")         private List list ... floats;     }     @Entity     public static class MyEntity {         @OneToMany(cascade
1

Fields in objects not populated in query result.

; @OneToMany(cascade=CascadeType.ALL) private Map children = new TreeMap ... ; private String name; private String description; @ManyToOne(cascade=CascadeType.PERSIST) private Folder parent; private boolean listable; @ManyToMany(cascade=CascadeType
1

Storing objects problem

Your code persists only the root object. If you want to cascade the persist operation to referenced ... :   @OneToMany(cascade=CascadeType.PERSIST)   private List children; You may also specify cascading persist globally as explained in the manual. support Support

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