ObjectDB ObjectDB

Internal Website Search

71-80 of 200 resultsRefresh
9

Multiple Collection Fields not update correctly

and they both reciprocally do: EntityB: @OneToOne(cascade = CascadeType.ALL) EntityA entityA; EntityA: @OneToOne(cascade = CascadeType.ALL) EntityB entityB; If I make only one of the cascade, then this bug does not occur
9

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<DeviceT> children; You may also specify cascading persist globally as explained in the manual. support Support
9

Performance in large transactions

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

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
9

significant performance decrease

="false" /> <cascade-persist always="auto" on-persist="false" on-commit="true" /> <dirty ... ArrayList<ObjectNode>(); @OneToMany(fetch=FetchType.LAZY,cascade=CascadeType.REMOVE) public List ... =FetchType.LAZY,cascade=CascadeType.REMOVE) public List<ObjectProperty> supportingData = new
9

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
9

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
9

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
9

Fields in objects not populated in query result.

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

NullPointerException when using multithreading

; @Id private String secondId; @OneToOne(cascade=CascadeType.ALL) private HashMap<String, EmbeddableA> myMap; } @Embeddable public class EmbeddableA { @OneToOne(cascade ... EmbeddableB { @OneToOne(cascade=CascadeType.ALL) private HashMap<String, Object> myMap; } I'm

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