ObjectDB ObjectDB

Internal Website Search

11-20 of 20 resultsRefresh
21

EntityManager getMetamodel() causes crash

().getEntities().forEach( (e)->System.out.println(" EntityType: " +e.getName ... .getMetamodel();     EntityType<Point> Point_ = m.entity(Point.class);     Point_.getAttributes ... (" EntityType: " +e.getName())); em.close(); emf.close(); } } package test
17

Duplicate Entity class names causes Exception in Query

/forum/174 I tried adding an explicit inspection of the EntityType using the metamodel public ... (); EntityType<NoIdQueryMapItem> type2 = metamodel.entity(NoIdQueryMapItem.class); if(type2 == null
12

mapping file is not being loaded

empty with ObjectDB Set<EntityType> managedEntities = emf.getMetaModel().getEntities(); I am certain
12

c.o.jpa.type.EntityTypeImpl.getIdType() returns null

hi, i currently try to use objectdb for a new project. i wanted to use it in combination with spring-data-jpa (M2), but i'm not able to use the automatic repository feature because the following code fails     EntityType<T> type = metamodel.entity(domainClass);     if (type == null
7

getEntities()

Method javax.persistence.metamodel.Metamodel Set<EntityType<?>> getEntities() Return the metamodel entity types. Returns: the metamodel entity types Since: JPA 2.0
7

javax.persistence.metamodel.Type

javax.persistence.metamodel Interface Type<X> Subinterfaces: BasicType, EmbeddableType, EntityType, IdentifiableType, ManagedType, MappedSuperclassType Instances of the type Type represent persistent object or attribute types. Since: JPA 2.0 Class<X> getJavaType() Return the represented Java type
7

javax.persistence.criteria.Root

expression. Returns: bindable object corresponding to the path Since: JPA 2.0 EntityType<X> getModel
7

javax.persistence.criteria.CriteriaQuery

Since: JPA 2.0 Root<X> from(EntityType<X> entity) Create and add a query root corresponding
7

javax.persistence.metamodel.IdentifiableType

javax.persistence.metamodel Interface IdentifiableType<X> Superinterfaces: ManagedType<X>, Type<X> Subinterfaces: EntityType, MappedSuperclassType Instances of the type IdentifiableType represent entity or mapped superclass types. Since: JPA 2.0 Attribute<?,?> getAttribute(String name) Return
7

javax.persistence.criteria.AbstractQuery

entity Since: JPA 2.0 Root<X> from( EntityType<X> entity) Create and add a query root corresponding

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