ObjectDB ObjectDB

Internal Website Search

71-80 of 165 resultsRefresh

How to apply Unique constraints on embedded fields?

; } @Embeddable public class B { private C c; } @Embeddable public class C ... ) { this.b2 = b2; } } @Embeddable public class B1 { private C c; public B1 ... ) { this.c = c; } @Embeddable public static class C

Clarification on free license restrictions

unrestricted numbers of embeddable classes? Do embeddable classes count as part of the ten? I assume not ... am very impressed with what I’m seeing, great work guys. Thanks Craig pricecap72 Craig A Price Embeddable classes ... . Therefore, even though embeddable classes are preferred - you may use your own serializable classes as a replacement to avoid

TemporalType injection with Calendar using JPA

here that I am failing to see? @Embeddable @Access(AccessType.PROPERTY) public class TimePeriod ... too much time on it) The following documentation is misleading Embeddable Classes (and Simple Java Data ... a Embeddable class. Perhaps you should add "except when the embeddable class is a primary key!" And why not

com.objectdb.o.UserException: Ambiguous entity name

I get the com.objectdb.o.UserException: Ambiguous entity name A former embeddable class seems to be similar to a new entity class. However, I removed the embeddable class from all of my classes. Still I get this error and in the explorer I can find an entry for this embeddable class. How can I

Should derived fields of an EmbeddedId be manually maintained by app code?

.Serializable; import javax.persistence.Basic; import javax.persistence.Embeddable; import javax ... ; import javax.persistence.Version; @Entity public class ECompoundKeyMapItem { @Embeddable ... javax.persistence.Basic; import javax.persistence.Embeddable; import javax.persistence.EmbeddedId

Explorer in 2.3

the value of a field of type 'A' where A is an @Entity or @Embeddable. I could do this using a Java ... to set a value of an @Entity or @Embeddable field. ie. I want to set the value of a field of type 'A' where A is an @Entity or @Embeddable. So I enter a JPQL query which returns a single object. Or I

How do I achieve a Deep Fetch using JOIN FETCH?

I have an Entity type which is contains a collection of Embeddable objects, which in turn themselves contain a collection of Embeddable objects: @Embeddable class A { String val; }; @Embeddable class B { List<A> aList; }; @Entity class C { @Id long id; List bList

Dirty checking

://github.com/ractivejs/ractive/issues/366 dmoshal David Moshal surprisingly, it looks like embeddable classes can't register change listeners? ie: @Embeddable @EntityListeners (Listener.class) So, having to go and make all @Embeddables into @Entities. and, having to manually save each one. Question

Query to find object from element of a contained collection

= null;     ... } lo Hoel Although serializable objects that are not entity or embeddable classes ... due to their limitations. Try to define OrderItemData as en embeddable class. In addition, replace the ordinary array ... Support Thank you for the fast support, indeed the few classes that were not entity nor embeddable

Best practise loading big data

of table rows which is a list of embeddable entities holding the final (String) value together with just ... MyStep { @ElementCollection (fetch=LAZY) ArrayList<MyValue> values; } @Embeddable class ... { @ElementCollection (fetch=LAZY) ArrayList<MyValue> values; } @Embeddable class MyValue

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