Internal Website 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?!

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

Super class' field access fails

Super class' field access fails

javax.persistence.AccessType

Used 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: JPA 2.0 Enum Constants FIELD Field-based access is used. Since: JPA 2.0 PROPERTY Property-based

javax.persistence.EntityManager

Metamodel getMetamodel () Return an instance of Metamodel interface for access to the metamodel ... , the EntityNotFoundException is thrown when the instance state is first accessed . (The persistence provider runtime ... should not expect that the instance state will be available upon detachment, unless it was accessed by

javax.persistence.EntityManagerFactory

-local entity managers or is closed Since: JPA 2.1 Cache getCache () Access the cache that is associated ... () Return an instance of Metamodel interface for access to the metamodel of the persistence unit. Return ... Since: JPA 2.0 PersistenceUnitUtil getPersistenceUnitUtil () Return interface providing access to utility

EntityManager.getReference(entityClass,primaryKey) - JPA Method

when the instance state is first accessed . (The persistence provider runtime is permitted to throw ... that the instance state will be available upon detachment, unless it was accessed by the application ... EntityNotFoundException - if the entity state cannot be accessed Since: JPA 1.0

javax.persistence.PersistenceUnit

factory is to be accessed in the environment referencing context; not needed when dependency injection ... factory that is accessible in JNDI must have the same name. Since: JPA 1.0

javax.persistence.AssociationOverride.name

JPA Annotation Attribute in javax.persistence.AssociationOverride String name default null (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: JPA 1.0

javax.persistence.AssociationOverride

access is being used, or the name of the relationship field if field-based access is used. Since: JPA 1.0

javax.persistence.PersistenceContext

which the entity manager is to be accessed in the environment referencing context; not needed when dependency ... , the persistence unit for the entity manager that is accessible in JNDI must have the same name. Since: JPA 1.0

javax.persistence.AttributeOverride

) 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: JPA 1.0

javax.persistence.AttributeOverride.name

JPA Annotation Attribute in javax.persistence.AttributeOverride String name default null (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: JPA 1.0

javax.persistence.metamodel.Metamodel

JPA Interface Metamodel Provides access to the metamodel of persistent entities in the persistence unit. Since: JPA 2.0 Public Methods EmbeddableType embeddable (Class  cls) Return the metamodel embeddable type representing the embeddable class. Parameters: cls - the type of the represented

javax.persistence.EntityNotFoundException

reference obtained by EntityManager.getReference is accessed but the entity does not exist. Thrown

EntityManagerFactory.unwrap(cls) - JPA Method

JPA Method in javax.persistence.EntityManagerFactory T unwrap (   Class  cls ) Return an object of the specified type to allow access to the provider-specific API. If the provider's EntityManagerFactory implementation does not support the specified class, the PersistenceException

EntityManagerFactory.getMetamodel() - JPA Method

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

javax.persistence.PersistenceUnit.unitName

JPA Annotation Attribute in javax.persistence.PersistenceUnit String unitName default "" (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. Since: JPA 1.0

EntityManagerFactory.getPersistenceUnitUtil() - JPA Method

JPA Method in javax.persistence.EntityManagerFactory PersistenceUnitUtil getPersistenceUnitUtil () Return interface providing access to utility methods for the persistence unit. Return: PersistenceUnitUtil interface Throws: IllegalStateException - if the entity manager factory has been closed Since: JPA 2.0

javax.persistence.PersistenceUnit.name

JPA Annotation Attribute in javax.persistence.PersistenceUnit String name default "" (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. Since: JPA 1.0

EntityManagerFactory.getCache() - JPA Method

JPA Method in javax.persistence.EntityManagerFactory Cache getCache () Access the cache that is associated with the entity manager factory (the "second level cache"). Return: instance of the Cache interface or null if no cache is in use Throws: IllegalStateException - if the entity manager factory has been closed Since: JPA 2.0

javax.persistence.AccessType.PROPERTY

JPA Enum Constant in javax.persistence.AccessType PROPERTY Property-based access is used. Since: JPA 2.0

javax.persistence.Query

an object of the specified type to allow access to the provider-specific API. If the provider's query

javax.persistence.TypedQuery

unwrap (Class  cls) Return an object of the specified type to allow access to the provider

javax.persistence.AccessType.FIELD

JPA Enum Constant in javax.persistence.AccessType FIELD Field-based access is used. Since: JPA 2.0

javax.persistence.PersistenceContext.unitName

JPA Annotation Attribute in javax.persistence.PersistenceContext String unitName default "" (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 must have the same name. Since: JPA 1.0

javax.persistence.PersistenceContext.name

JPA Annotation Attribute in javax.persistence.PersistenceContext String name default "" (Optional) The name by which the entity manager is to be accessed in the environment referencing context; not needed when dependency injection is used. Since: JPA 1.0

Query.unwrap(cls) - JPA Method

JPA Method in javax.persistence.Query T unwrap (   Class  cls ) Return an object of the specified type to allow access to the provider-specific API. If the provider's query implementation does not support the specified class, the PersistenceException is thrown. Parameters: cls

javax.persistence.StoredProcedureQuery

an object of the specified type to allow access to the provider-specific API. If the provider's query

javax.jdo.InstanceCallbacks

which this call is made does not allow access to other persistent JDO instances. Inherited from: LoadCallback Since: JDO 2.0 ... the state transition to persistent-deleted or persistent-new-deleted. Access to field values within this call are valid. Access to field values after this call are disallowed. This method is modified by

javax.jdo.spi.JDOPermission

of PersistenceCapable . The StateManager has unlimited access to get and set persistent and transactional ... ) normally unavailable would be accessible to malicious code. getMetadata This allows getting ... that metadata information (possibly confidential) normally unavailable would be accessible to malicious

javax.jdo.PersistenceManager

. It is an implementation decision whether to access the data store, if required to determine the exact class ... with a JDOObjectNotFoundException . But a subsequent access of the fields of the instance will throw ... to invoke methods or access fields from instances managed by this PersistenceManager must set this flag

javax.jdo.spi.JDOImplHelper

restriction on this access . JDO implementations get access to the functions provided by this class

PersistenceManager.getObjectById(oid,validate) - JDO Method

persistent-clean, at the choice of the implementation. It is an implementation decision whether to access ... access of the fields of the instance will throw a JDOObjectNotFoundException if the instance does not

javax.jdo.listener.DeleteLifecycleListener

after the instance transitions to persistent-deleted. Access to field values is not permitted. Parameters: event ... . Access to field values within this call are permitted. This method is called before the instance

DeleteCallback.jdoPreDelete() - JDO Method

JDO Method in javax.jdo.listener.DeleteCallback void jdoPreDelete () Called before the instance is deleted. This method is called before the state transition to persistent-deleted or persistent-new-deleted. Access to field values within this call are valid. Access to field values

javax.jdo.listener.DeleteCallback

is called before the state transition to persistent-deleted or persistent-new-deleted. Access to field values within this call are valid. Access to field values after this call are disallowed. This method

PersistenceManager.setMultithreaded(flag) - JDO Method

JDO Method in javax.jdo.PersistenceManager void setMultithreaded (   boolean flag ) Set the Multithreaded flag for this PersistenceManager . Applications that use multiple threads to invoke methods or access fields from instances managed by this PersistenceManager must set this flag