ObjectDB Database Search

1-50 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

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

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

JPA Entity Fields

accessed . Version Field ObjectDB maintains a version number for every entity. The initial version ... ) or a version field is explicitly defined. Property access When an entity is stored in ... , its persistent fields are initialized with data from the database. By default, ObjectDB accesses fields directly

Privacy Policy

For the purposes of this Privacy Policy: Account  means a unique account created for You to access ... that can access the Service such as a computer, a cellphone or a digital tablet. Personal Data ... visit and user actions during page views). Website  refers to ObjectDB Website, accessible from

Retrieving JPA Entities

are initialized lazily when the entity is first accessed . If the requested object does not exist in the database, JPA throws an EntityNotFoundException when the object is first accessed . The getReference ... until they are accessed . Conversely, the default fetch policy for persistent collection and map fields

JPA Core Types

. Use its static methods to create an EntityManagerFactory as the first step for accessing ... back transactions. Utilities and Caching Access metadata, manage schema, and interact with the second-level ... attributes, and access entity content not yet fetched due to lazy loading. Provides an API for programmatic

JPA Class Enhancer

. However, there is one case where enhancement is required. Non-persistable classes that directly access persistent fields ... directly accessing persistent fields of other classes. This practice is required by the JPA specification ... this technique, persistent fields can only be accessed directly from annotated, persistable user classes

JPA Lifecycle Events

and take no arguments. They can have any name and any access level ( public , protected , package , or ... or access other entities. If a callback method throws an exception during a transaction

Database Replication and Clustering

this case, you can access the master database as follows: EntityManagerFactory emf = Persistence.createEntityManagerFactory( "objectdb://localhost:6000/my.odb;user=a;password=a"); Accessing the slave

SELECT clause (JPQL / Criteria API)

for accessing the result data. CriteriaBuilder.construct JPQL user-defined result objects

Server Configuration

server. Every database file in the data directory and its subdirectories can be accessed by the server

JPA Named Queries Annotations

of the ObjectDB Manual. Query references Access named queries in the application by name or by using

Detached JPA Entities

navigation from detached objects is not supported. You can only access persistent fields

JPA Persistable Types

. It can contain constructors, methods, fields, and nested types with any access modifier ( public , protected

JPA Metamodel Attributes

access . Represents an attribute typed as a java.util.Map , managing both keys and values

JPA Metamodel Types

superclasses. Represents an  @Entity class in the domain model, providing access to the entity's name

What is the Java Persistence API (JPA)?

The Java Persistence API (JPA) is a standard API for accessing databases from within Java applications. The main advantage of JPA over JDBC (the older Java API for interacting with databases) is that in JPA data is represented by classes and objects rather than by tables and records as in

JPA Named Queries

that is still unknown to ObjectDB. As a workaround, you can introduce classes to ObjectDB before accessing

ObjectDB License

databases are managed, but using ObjectDB on client computers merely to access remote ObjectDB databases

JPA Container Injection Annotations

a dependency on an EntityManagerFactory , useful for creating EntityManagers manually or accessing factory

Is ObjectDB better than Object Relational Mapping (ORM)?

performance and use a JPA ORM provider (Hibernate, TopLink, EclipseLink or DataNucleus) to access relational

JPA Metamodel and Graphs

The Jakarta Persistence (JPA) Metamodel API provides a type-safe way to introspect the persistent object model at runtime. It allows developers to programmatically examine entities, embeddables, and their attributes to build dynamic queries and validate persistence structures. The Metamodel Access

jakarta.persistence.EntityManager

an instance of the Metamodel interface which provides access to metamodel objects describing the managed ... 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 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 ... 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

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.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.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

Step 5: Add a JSP Page

name. The Folder should be WEB-INF (to prevent accessing the JSP directly not through Spring). Click

Step 3: Define a Spring DAO Component

Operations on the database will be performed by an instance of a Data Access Object (DAO) that we will define in this step as a Spring MVC component: Open the [New Java Class] dialog box by right clicking the guest package node (in the [Projects] window under Source Packages) and selecting New

Step 3: Define a Spring DAO Component

Operations on the database will be performed by an instance of a Data Access Object (DAO) that we will define in this step as a Spring MVC component: Open the [New Java Class] dialog box by right clicking the guest package node (in the [Package Explorer] window) and selecting  New Class

What is the Java Data Objects (JDO)?

The Java Data Objects (JDO) is another standard for accessing persistent data in databases, using plain old Java objects (POJO) to represent the object model. Unlike Java Persistence API (JPA), which is designated to be used with relational databases, JDO is designated to be used