ObjectDB Database Search

101-150 of 178 results

Activation Issue

install mvn exec:java -Dexec.mainClass="test. metamodel .App" or fire it up in your favorite Maven capable ... .java:84) at test. metamodel .App.main(App.java:15) ... 6 more Caused by: com.objectdb.o.UserException ... the Retrieving Metamodel without Connection feature (which was implemented following your request two years ago

disabling JDO in objectdb embedded mode

made to load class or resource [ metamodel /PrimitiveValue.jdo] on an ASURLClassLoader instance ... : file:/usr/local/glassfish/glassfish/domains/dex/applications/ metamodel -ear-1.0-SNAPSHOT/lib/commons ... / metamodel -ear-1.0-SNAPSHOT/lib/commons-logging-1.2.jar, URLEntry : file:/usr/local/glassfish/glassfish

mapping file is not being loaded

, the Metamodel is empty - none of the entities referenced in the mapping file are present in the Metamodel ... -classes to false. The Metamodel API still returns the empty set when 'getEntities()' is invoked ... the Metamodel API (storing objects, etc)? Does it work? support Support So I changed the persistence

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

code fails     EntityType type = metamodel .entity(domainClass);     ... ;  "The given domain class can not be found in the given Metamodel !");      ... Metamodel API is fully supported by ObjectDB, but it seems that the getTypeId method was implemented

Duplicate Entity class names causes Exception in Query

  I tried adding an explicit inspection of the EntityType using the metamodel public IMapItem getMapItem(Integer cachedKey, EntityManager em) { Metamodel metamodel = em.getMetamodel(); EntityType type2 = metamodel .entity(NoIdQueryMapItem.class); if(type2 == null) { System.err.println("CRASH

Retrieve data of all entity classes in a single query

etc) This is the code I use to retrieve all Managed Types and data for the Athlete class Metamodel metamodel = em.getMetamodel(); Set allManagedTypes = metamodel .getManagedTypes(); for(ManagedType o ... parse the data? ezazop Akis Zazopoulos Using Java Reflection API. The JPA Metamodel API may also help. support Support

Database Inconsistency or corruption

_01") @javax.persistence.NamedQueries({ /* queries */ }) public class ObjectValue implements metamodel ... ; queries */}) public class Attribute implements metamodel .IAttribute {   @javax.persistence.Id   ... (name="value")   private metamodel .Value value;  public Attribute() {    

Getting a list of all the entity class names

I was wondering if there is any way to get a list of the entity names in the database? dmoshal David Moshal You can use the Metamodel API as explained by the JPA Metamodel API  page in ... (PersistenceManager.class)); This method remained from ObjectDB 1.x, but in JPA 2 applications the JPA Metamodel API

ODB IndexActivation NullPointerException

A. This thread update the Metamodel , and then close the entityManager. (UpdateMetamodel: call for each ... ; So it seems to be a link between the Metamodel and the IndexActivation. btc_es BTC EmbeddedSystems Thank ... -thread-3] is our thread to update the metamodel . - (We call for each EntityClass: entityManager

IdentifiableType.getIdClassAttributes() - JPA Method

JPA Method in javax.persistence. metamodel .IdentifiableType Set getIdClassAttributes () Return the attributes corresponding to the id class of the identifiable type. Return: id attributes Throws: IllegalArgumentException - if the identifiable type does not have an id class Since: JPA 2.0

IdentifiableType.getIdType() - JPA Method

JPA Method in javax.persistence. metamodel .IdentifiableType Type getIdType () Return the type that represents the type of the id. Return: type of id Since: JPA 2.0

ManagedType.getAttributes() - JPA Method

JPA Method in javax.persistence. metamodel .ManagedType Set getAttributes () Return the attributes of the managed type. Return: attributes of the managed type Since: JPA 2.0

ManagedType.getDeclaredAttributes() - JPA Method

JPA Method in javax.persistence. metamodel .ManagedType Set getDeclaredAttributes () Return the attributes declared by the managed type. Returns empty set if the managed type has no declared attributes. Return: declared attributes of the managed type Since: JPA 2.0

ManagedType.getSingularAttribute(name,type) - JPA Method

JPA Method in javax.persistence. metamodel .ManagedType SingularAttribute getSingularAttribute (   String name,    Class  type ) Return the single-valued attribute of the managed type that corresponds to the specified name and Java type. Parameters: name - the name

ManagedType.getDeclaredSingularAttribute(name,type) - JPA Method

JPA Method in javax.persistence. metamodel .ManagedType SingularAttribute getDeclaredSingularAttribute (   String name,    Class  type ) Return the single-valued attribute declared by the managed type that corresponds to the specified name and Java type. Parameters

ManagedType.getSingularAttributes() - JPA Method

JPA Method in javax.persistence. metamodel .ManagedType Set getSingularAttributes () Return the single-valued attributes of the managed type. Returns empty set if the managed type has no single-valued attributes. Return: single-valued attributes Since: JPA 2.0

ManagedType.getDeclaredSingularAttributes() - JPA Method

JPA Method in javax.persistence. metamodel .ManagedType Set getDeclaredSingularAttributes () Return the single-valued attributes declared by the managed type. Returns empty set if the managed type has no declared single-valued attributes. Return: declared single-valued attributes Since: JPA 2.0

ManagedType.getCollection(name,elementType) - JPA Method

JPA Method in javax.persistence. metamodel .ManagedType CollectionAttribute getCollection (   String name,    Class  elementType ) Return the Collection-valued attribute of the managed type that corresponds to the specified name and Java element type. Parameters

ManagedType.getDeclaredCollection(name,elementType) - JPA Method

JPA Method in javax.persistence. metamodel .ManagedType CollectionAttribute getDeclaredCollection (   String name,    Class  elementType ) Return the Collection-valued attribute declared by the managed type that corresponds to the specified name and Java element

ManagedType.getSet(name,elementType) - JPA Method

JPA Method in javax.persistence. metamodel .ManagedType SetAttribute getSet (   String name,    Class  elementType ) Return the Set-valued attribute of the managed type that corresponds to the specified name and Java element type. Parameters: name - the name

ManagedType.getDeclaredSet(name,elementType) - JPA Method

JPA Method in javax.persistence. metamodel .ManagedType SetAttribute getDeclaredSet (   String name,    Class  elementType ) Return the Set-valued attribute declared by the managed type that corresponds to the specified name and Java element type. Parameters: name

ManagedType.getList(name,elementType) - JPA Method

JPA Method in javax.persistence. metamodel .ManagedType ListAttribute getList (   String name,    Class  elementType ) Return the List-valued attribute of the managed type that corresponds to the specified name and Java element type. Parameters: name - the name

ManagedType.getDeclaredList(name,elementType) - JPA Method

JPA Method in javax.persistence. metamodel .ManagedType ListAttribute getDeclaredList (   String name,    Class  elementType ) Return the List-valued attribute declared by the managed type that corresponds to the specified name and Java element type. Parameters

ManagedType.getMap(name,keyType,valueType) - JPA Method

JPA Method in javax.persistence. metamodel .ManagedType MapAttribute getMap (   String name,    Class  keyType,    Class  valueType ) Return the Map-valued attribute of the managed type that corresponds to the specified name and Java key

ManagedType.getDeclaredMap(name,keyType,valueType) - JPA Method

JPA Method in javax.persistence. metamodel .ManagedType MapAttribute getDeclaredMap (   String name,    Class  keyType,    Class  valueType ) Return the Map-valued attribute declared by the managed type that corresponds to the specified name

ManagedType.getPluralAttributes() - JPA Method

JPA Method in javax.persistence. metamodel .ManagedType Set getPluralAttributes () Return all multi-valued attributes (Collection-, Set-, List-, and Map-valued attributes) of the managed type. Returns empty set if the managed type has no multi-valued attributes. Return: Collection-, Set-, List-, and Map-valued attributes Since: JPA 2.0

ManagedType.getDeclaredPluralAttributes() - JPA Method

JPA Method in javax.persistence. metamodel .ManagedType Set getDeclaredPluralAttributes () Return all multi-valued attributes (Collection-, Set-, List-, and Map-valued attributes) declared by the managed type. Returns empty set if the managed type has no declared multi-valued attributes. Return

ManagedType.getAttribute(name) - JPA Method

JPA Method in javax.persistence. metamodel .ManagedType Attribute getAttribute (   String name ) Return the attribute of the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute Return: attribute with given name Throws

ManagedType.getDeclaredAttribute(name) - JPA Method

JPA Method in javax.persistence. metamodel .ManagedType Attribute getDeclaredAttribute (   String name ) Return the attribute declared by the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute Return: attribute with given name

ManagedType.getSingularAttribute(name) - JPA Method

JPA Method in javax.persistence. metamodel .ManagedType SingularAttribute getSingularAttribute (   String name ) Return the single-valued attribute of the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute Return: single

ManagedType.getDeclaredSingularAttribute(name) - JPA Method

JPA Method in javax.persistence. metamodel .ManagedType SingularAttribute getDeclaredSingularAttribute (   String name ) Return the single-valued attribute declared by the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute

ManagedType.getCollection(name) - JPA Method

JPA Method in javax.persistence. metamodel .ManagedType CollectionAttribute getCollection (   String name ) Return the Collection-valued attribute of the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute Return

ManagedType.getDeclaredCollection(name) - JPA Method

JPA Method in javax.persistence. metamodel .ManagedType CollectionAttribute getDeclaredCollection (   String name ) Return the Collection-valued attribute declared by the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute

ManagedType.getSet(name) - JPA Method

JPA Method in javax.persistence. metamodel .ManagedType SetAttribute getSet (   String name ) Return the Set-valued attribute of the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute Return: SetAttribute of the given name

ManagedType.getDeclaredSet(name) - JPA Method

JPA Method in javax.persistence. metamodel .ManagedType SetAttribute getDeclaredSet (   String name ) Return the Set-valued attribute declared by the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute Return: declared

ManagedType.getList(name) - JPA Method

JPA Method in javax.persistence. metamodel .ManagedType ListAttribute getList (   String name ) Return the List-valued attribute of the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute Return: ListAttribute of the given name

ManagedType.getDeclaredList(name) - JPA Method

JPA Method in javax.persistence. metamodel .ManagedType ListAttribute getDeclaredList (   String name ) Return the List-valued attribute declared by the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute Return: declared

ManagedType.getMap(name) - JPA Method

JPA Method in javax.persistence. metamodel .ManagedType MapAttribute getMap (   String name ) Return the Map-valued attribute of the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute Return: MapAttribute of the given name

ManagedType.getDeclaredMap(name) - JPA Method

JPA Method in javax.persistence. metamodel .ManagedType MapAttribute getDeclaredMap (   String name ) Return the Map-valued attribute declared by the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute Return: declared

MapAttribute.getKeyJavaType() - JPA Method

JPA Method in javax.persistence. metamodel .MapAttribute Class getKeyJavaType () Return the Java type of the map key. Return: Java key type Since: JPA 2.0

MapAttribute.getKeyType() - JPA Method

JPA Method in javax.persistence. metamodel .MapAttribute Type getKeyType () Return the type representing the key type of the map. Return: type representing key type Since: JPA 2.0

PluralAttribute.getCollectionType() - JPA Method

JPA Method in javax.persistence. metamodel .PluralAttribute PluralAttribute .CollectionType getCollectionType () Return the collection type. Return: collection type Since: JPA 2.0

PluralAttribute.getElementType() - JPA Method

JPA Method in javax.persistence. metamodel .PluralAttribute Type getElementType () Return the type representing the element type of the collection. Return: element type Since: JPA 2.0

SingularAttribute.isId() - JPA Method

JPA Method in javax.persistence. metamodel .SingularAttribute boolean isId () Is the attribute an id attribute. This method will return true if the attribute is an attribute that corresponds to a simple id, an embedded id, or an attribute of an id class. Return: boolean indicating whether the attribute is an id Since: JPA 2.0

SingularAttribute.isVersion() - JPA Method

JPA Method in javax.persistence. metamodel .SingularAttribute boolean isVersion () Is the attribute a version attribute. Return: boolean indicating whether the attribute is a version attribute Since: JPA 2.0

SingularAttribute.isOptional() - JPA Method

JPA Method in javax.persistence. metamodel .SingularAttribute boolean isOptional () Can the attribute be null. Return: boolean indicating whether the attribute can be null Since: JPA 2.0

SingularAttribute.getType() - JPA Method

JPA Method in javax.persistence. metamodel .SingularAttribute Type getType () Return the type that represents the type of the attribute. Return: type of attribute Since: JPA 2.0

Type.getPersistenceType() - JPA Method

JPA Method in javax.persistence. metamodel .Type Type .PersistenceType getPersistenceType () Return the persistence type. Return: persistence type Since: JPA 2.0

Type.getJavaType() - JPA Method

JPA Method in javax.persistence. metamodel .Type Class getJavaType () Return the represented Java type. Return: Java type Since: JPA 2.0

StaticMetamodel throws NPE with Spring-Data in PathImpl.get()

From my Entities a StaticMetamodel is generated through Hibernate JPA 2 Metamodel Generator ... and a failing test case BigMichi1 Michael Cramer Currently ObjectDB doesn't support the static metamodel ... ). Support of the static metamodel classes should be added to ObjectDB soon.   support Support