ObjectDB Database Search

51-100 of 200 results

Using the wrong class to access a database

created another program, just to test if I can access the database from here. This program ... to use the wrong class to access the db (which is perfectly ok), then - why is no exception thrown in

Access entity version before commit transaction

containing the new version of the entity So I need to access the version of an updated entity inside ... need to access the new version, but I get still 1         

Access ClassTransformer

Hello, As in our OSGI Environment, we do need to manually weave classes. To be able to do so, we'd need access to the ClassTransformer from ObjectDB. However, there's only the global enhancer api which is not of any help. There's the JEhancerAgent which seems to implement a ClassTransformer as

Exception while accessing the Persistence unit ...?

eclipse is deploying the application and I can access the web page but I am unable to do any

Many clients access same database

Hi, I have a program to manage clients of my tennis club. But we have several different computer programs open that access the database. How can I implement this topology so that there is one Persistence context for all the client programs on the different computers. For example: When I change

Accessing archived SDK

Hi,   My team currently uses an older version of objectdb, 2.4.6_10. We have services running in production so upgrading the version is not an option at the moment.  Is there a way to access the ObjectDB development kit that has been archived? andpaga Andrei Paga The archived file

EntityManager.find(entityClass, primaryKey) is slow when accessing non-existent IDs

* * EntityManager.find(entityClass, primaryKey) is slow when accessing * non-existent IDs. * * Select queries

Access objectdb.conf as class loader resource

Access objectdb.conf as class loader resource

dual access

dual access

Retrieval by Access bug?

Retrieval by Access bug?

Access to client/server database from multiple applications

Access to client/server database from multiple applications

Accessing objects to make them available after EntityManager close?!

Accessing objects to make them available after EntityManager close?!

java.lang.NullPointerException during access a field, only if the classes enhanced

We get the following exception during access a field (Set of entities) The error occurs only if the entities are enhanced.   Caused by: com.objectdb.o.InternalException: Unexpected internal ... . we found a 'workaround': we first access this Set of entites, before we do some other stuff. (Changed

Database access error , Doctor hanging on trying to repair, production shutdown at our biggest customer

. You may want to block access to it now. support Support After many hours of post mortem analysis ... (and it may be hidden until your application tries to access the corrupted object) then it will not help as it just

ObjectDB tries to create a File in a localtion without write access

: java.io.FileNotFoundException: IndexManager_12.mrg_filter ( Access is denied) at java.io

jakarta.persistence.EntityManagerFactory

with the EntityManagerFactory directly. The EntityManagerFactory provides access to certain ... Persistence (JPA) 2.1 Cache getCache () Access the cache that is associated with the entity manager ... an instance of the Metamodel interface for access to the metamodel of the persistence unit. Returns

jakarta.persistence.AccessType

with the Access annotation to specify an access type to be applied to an entity class, mapped superclass, or embeddable class, or to a specific attribute of such a class. See Also: Access Since: Jakarta Persistence (JPA) 2.0 Enum Constants FIELD Field-based access is used. Since: Jakarta Persistence

Super class' field access fails

Super class' field access fails

jakarta.persistence.Entity

declare any field or property of an entity which is not persistent. The entity access type determines whether the persistence provider accesses the state of the entity using getter and setter methods, or via direct field access . It is almost never necessary to explicitly specify an AccessType

jakarta.persistence.AttributeOverride

of the property whose mapping is being overridden if property-based access is being used, or the name of the field if field-based access is used. Since: Jakarta Persistence (JPA) 1.0 Column column

jakarta.persistence.AssociationOverride

property whose mapping is being overridden if property-based access is being used, or the name of the relationship field if field-based access is used. Since: Jakarta Persistence (JPA) 1.0 JoinColumn

jakarta.persistence.PersistenceUnit

(Optional) The name by which the entity manager factory is to be accessed in the environment ... .xml file. If specified, the persistence unit for the entity manager factory that is accessible in JNDI

jakarta.persistence.PersistenceContext

Elements String name (Optional) The name by which the entity manager is to be accessed in the environment ... that is accessible in JNDI must have the same name. Default: "" Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.EntityManager.getReference(Class,Object)

is first accessed . (The persistence provider runtime is permitted but not required to throw ... expect the instance state to be available upon detachment, unless it was accessed by the application ... cannot be accessed . IllegalArgumentException - if the first argument does not denote an entity type or

jakarta.persistence.EntityManager.getReference(T)

the database, the EntityNotFoundException is thrown when the instance state is first accessed ... to be available upon detachment, unless it was accessed by the application while the entity manager ... to the entity instance. Throws: EntityNotFoundException - if the entity state cannot be accessed

jakarta.persistence.AttributeOverride.name

Jakarta Persistence (JPA) Method in jakarta.persistence.AttributeOverride String name (Required) The name of the property whose mapping is being overridden if property-based access is being used, or the name of the field if field-based access is used. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.AccessType.PROPERTY

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.AccessType PROPERTY Property-based access is used, that is, state is accessed via getter and setter methods. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.AssociationOverride.name

Jakarta Persistence (JPA) Method in jakarta.persistence.AssociationOverride String name (Required) The name of the relationship property whose mapping is being overridden if property-based access is being used, or the name of the relationship field if field-based access is used. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.EntityNotFoundException

is accessed but the entity does not exist. Thrown when EntityManager.refresh is called and the object

jakarta.persistence.FetchType

provider runtime that data should be fetched lazily when it is first accessed . The implementation

jakarta.persistence.metamodel.Metamodel

Jakarta Persistence (JPA) Interface jakarta.persistence.metamodel.Metamodel Provides access to the metamodel of persistent entities in the persistence unit. Since: Jakarta Persistence (JPA) 2.0 Public Instance Methods EmbeddableType embeddable ( Class cls ) Return the metamodel embeddable type

jakarta.persistence.TypedQuery

of the specified type to allow access to a provider-specific API. If the provider implementation

jakarta.persistence.Cache

) Return an object of the specified type to allow access to the provider-specific API

jakarta.persistence.Query

an object of the specified type to allow access to a provider-specific API. If the provider

jakarta.persistence.StoredProcedureQuery

of the specified type to allow access to a provider-specific API. If the provider implementation

jakarta.persistence.PersistenceContext.name

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceContext String name (Optional) The name by which the entity manager is to be accessed in the environment referencing context; not needed when dependency injection is used. Default: "" Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceContext.unitName

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceContext String unitName (Optional) The name of the persistence unit as defined in the persistence.xml file. If the unitName element is specified, the persistence unit for the entity manager that is accessible in JNDI

jakarta.persistence.PersistenceUnit.name

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceUnit String name (Optional) The name by which the entity manager factory is to be accessed in the environment referencing context; not needed when dependency injection is used. Default: "" Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceUnit.unitName

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceUnit String unitName (Optional) The name of the persistence unit as defined in the persistence.xml file. If specified, the persistence unit for the entity manager factory that is accessible in JNDI must have the same name. Default: "" Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.AccessType.FIELD

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.AccessType FIELD Field-based access is used. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.EntityManagerFactory.getSchemaManager()

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManagerFactory SchemaManager getSchemaManager() Return interface providing access to schema management operations for the persistence unit. Returns: an instance of SchemaManager . Throws: IllegalStateException - if the entity manager

jakarta.persistence.EntityManagerFactory.unwrap(Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManagerFactory T unwrap (    Class cls ) Return an object of the specified type to allow access to a provider-specific API. If the provider implementation of EntityManagerFactory does not support the given type

jakarta.persistence.EntityManager.unwrap(Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager T unwrap (    Class cls ) Return an object of the specified type to allow access to a provider-specific API. If the provider implementation of EntityManager does not support the given type, the PersistenceException

jakarta.persistence.EntityManager.getMetamodel()

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager Metamodel getMetamodel() Obtain an instance of the Metamodel interface which provides access to metamodel objects describing the managed types belonging to the persistence unit. Returns: an instance of Metamodel . Throws

jakarta.persistence.EntityManagerFactory.getCache()

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManagerFactory Cache getCache() Access the cache that is associated with the entity manager factory (the "second level cache"). Returns: an instance of Cache , or null if there is no second-level cache in use. Throws

jakarta.persistence.EntityManagerFactory.getPersistenceUnitUtil()

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManagerFactory PersistenceUnitUtil getPersistenceUnitUtil() Return interface providing access to utility methods for the persistence unit. Returns: an instance of PersistenceUnitUtil . Throws: IllegalStateException - if the entity

jakarta.persistence.EntityManagerFactory.getMetamodel()

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManagerFactory Metamodel getMetamodel() Return an instance of the Metamodel interface for access to the metamodel of the persistence unit. Returns: an instance of Metamodel . Throws: IllegalStateException - if the entity manager factory has been closed. Since: Jakarta Persistence (JPA) 2.0

jakarta.persistence.Cache.unwrap(Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.Cache T unwrap (    Class cls ) Return an object of the specified type to allow access to the provider-specific API. If the provider's implementation of the Cache interface does not support the specified class

jakarta.persistence.Query.unwrap(Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.Query T unwrap (    Class cls ) Return an object of the specified type to allow access to a provider-specific API. If the provider implementation of Query does not support the given type, the PersistenceException is thrown

objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active'

() and so other builders can access ExtRequestBean request; /** * Use for multi-shot builder to clear ... .containers.AbstractSingletonContainer. access $000(AbstractSingletonContainer.java:74) at com.sun.ejb ... (CommandRunnerImpl.java:1464) at com.sun.enterprise.v3.admin.CommandRunnerImpl. access $1300(CommandRunnerImpl