ObjectDB Database Search

51-100 of 200 results

How to access database object to my application.

Hi, I want to access a object which contains some value like id,name,college and address ... . 1: GetterSetter method  2: Creating object for insert data  3: For Access data. Here object created and value inserted successfully but when i am trying to access that object it only access

multiple different applications access one odb file

Hi, is it possible to access one odb file from different applications? What we would like ... server you should be able to use ObjectDB in embedded mode to access the same database file (because there is only one process). If your applications run in separate processes and need to access

Recommendation - concurrent access multiple class v

that it might get corrupted because the manual says that we must not access ObjectDB with different versions ... , then finally all of them get the new version? So...basically...concurrent access with version x ... with the new schema. ObjectDB servers usually do not have a direct access to your classes, so this is not

Multi-thread access to single EM's entities

to access a single EM's managed entities, as long as only the thread that created the EM interacts ... This is an interesting question. Apparently it should work fine if you access persistent fields only from ... themselves. Notice that enhancement of your classes will replace every access of a persistent field (outside

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

jakarta.persistence.EntityManager

an instance of the Metamodel interface which provides access to metamodel objects describing ... accessed . (The persistence provider runtime is permitted but not required to throw ... the instance state to be available upon detachment, unless it was accessed by the application

NullPointer when accessing entity field

) It is very strange that the problem occurs when accessing field of enhanced class but not during reading ... of this exception is unclear. It happened during an access operation that required reloading ... during the operation. This could happen when an object is accessed in one thread

NullPointer when accessing persistent field

you a snapshot of some of the utility dependencies )   The code being called is accessing a map declared ... on accessing an inverse collection in an entity that has been garbage collected. Build 2.3.2_01 fixes ... .RemoteTestRunner.main(RemoteTestRunner.java:197)   As before a Map structure was being accessed . @OneToMany

Lazy retrieval by access not working correctly

I have a problem loading lazy associations by access /navigation with an @Embedded attribute containing an @ElementCollection which is lazy loaded.  I'm not sure if the same problem exists ... if you view the map in the debugger, or if your application accesses keys and values in the map. support Support

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 ... . Since: Jakarta Persistence (JPA) 2.1 Cache getCache () Access the cache that is associated ... getMetamodel () Return an instance of the Metamodel interface for access to the metamodel

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

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

jakarta.persistence.Cache

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

jakarta.persistence.Query

access to a provider-specific API. If the provider implementation of Query does not support the given

jakarta.persistence.StoredProcedureQuery

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

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