ObjectDB ObjectDB

Internal Website Search

141-150 of 162 resultsRefresh
5

@ElementCollection query returning extra result per element in collection

: When the selection includes also a branch. When Branch is defined as entity rather than as embeddable. It may help
5

ClassCastException on closing PersistenceManager

embeddable detachment feature. Since this feature was requested by you recently and requires enabling
5

Object explorer cannot open odb file. ObjectDB many-to-many relationship

= false)     private Project project;         @Embeddable     public static class PK
5

Eager Fetch is not stable for collection or map types?

)     private List<Player> members = new ArrayList<Player>();     ....... } @Embeddable
5

object creation during pmf.getPersistenceManager()

(entity class / embeddable class / persistence capable class) using the no arg constructor
5

Nested Collection Query

collection in a user defined entity or embeddable class. support Support
5

embedded objects marked final not persisted.

Discovered that embedded objects marked final are not persisted. I'm not exactly sure why that should the case. Is this a bug? dmoshal David Moshal Final fields are treated as transient regardless of their type. If you mean that declaring the embeddable class as transient causes problems
1

Exception upon index definition change

Hello, I have the following types: @Embeddable public class ChangeSetRef {     private long   index;     private String role; } @Index (members = {"refs.role", "refs.index"}) @Entity public class ChangeSet {     @ElementCollection     private Collection<ChangeSetRef> refs
1

Lazy retrieval by access not working correctly

LocalizedValues names; ... } @Embeddable public class LocalizedValues implements Serializable
1

Bean Validation (JPA 2.0)

JPA 2 adds support for integration with the Bean Validation API. Constraints that are defined for entity and embeddable classes by using annotations can be checked automatically on PrePersist, PreUpdate and PreRemove JPA lifecycle events. Integration with the Validation API is not supported yet by

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