ObjectDB ObjectDB

Internal Website Search

61-70 of 165 resultsRefresh
17

Field not persisted in abstract class with two level of nesting

();         em.clear();     } } TZ1 package BUG2; import javax.persistence.Embeddable; @Embeddable public class TZ1  extends AS<TZ1>{     TZ1() {     }         public TZ1(String v ... package BUG2; import javax.persistence.Embeddable; @Embeddable abstract class AS<Type2
15

Schema update: package, class and field

for entities classes but not for embeddable classes. Do you have a solution for embeddable classes? btc_es BTC EmbeddedSystems There should not be a difference between entity and embeddable classes regarding schema changes. Maybe you are trying an embeddable class which is also an inner class
3

ElementCollection.targetClass

Annotation Element javax.persistence.ElementCollection Class targetClass (Optional) The basic or embeddable class that is the element type of the collection. This element is optional only if the collection field or property is defined using Java generics, and must be specified
3

javax.persistence.OrderColumn

visible as part of the state of the entity or embeddable class. The OrderBy annotation should be used
3

JoinColumn.table

key mapping strategy, the name of the table of the source entity or embeddable. If the join
3

javax.persistence.metamodel.EmbeddableType

javax.persistence.metamodel Interface EmbeddableType<X> Superinterfaces: ManagedType<X>, Type<X> Instances of the type EmbeddableType represent embeddable types. Since: JPA 2.0 Attribute<?,?> getAttribute(String name) Return the attribute of the managed type that corresponds to the specified name
3

javax.persistence.AccessType

, mapped superclass, or embeddable class, or to a specific attribute of such a class. Since: JPA 2.0
3

javax.persistence.MapsId

; ... } // dependent entity uses EmbeddedId for composite key @Embeddable
3

Issues with JDO Casting & Full Qualified Names

.persistence.Embeddable; import javax.persistence.Entity; import javax.persistence.EntityManager ... HashMap<String, EmbeddedBase>(); } @Embeddable public static class EmbeddedBase {   String base = "TEST"; } @Embeddable public static class EmbeddedA extends EmbeddedBase {   String name
3

ArrayIndexOutOfBoundsException with enhanced Entity

Hi! We have an two entities, the first one is something like: @Embeddable class TestEmbed ... etc etc.). However It seems to happen only with an embeddable entity embedded within another embeddable entity like: @Embeddable class Embed_A {} @Embeddable class Embed_B { private Embed_A embedA; .. } @Entity class MyEntity

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