ObjectDB Database Search

1-50 of 200 results

JPA ORM Mapping Annotations

for an entity, allowing data for a single entity to be split across multiple database tables. A container annotation for defining multiple @SecondaryTable entries. Specifies a unique constraint ... for defining multiple @JoinColumn entries for composite keys. Specifies a link table for a many-to-many

multiple connection using share folder

objectdb database from multiple system  prateek Prateek gupta In embedded mode the database file ... database access from multiple processes.   support Support ok i got it but can you plz send ... multiple system it shows failed to connect to server       prateek Prateek gupta

Recommendation - concurrent access multiple class v

Hi! I've just started to architect a new system, stateless JSON API, which is expected to have very high load and to require more servers for parallel deployments (same app across multiple servers). I am considering using ObjectDB, because of its advantages and easy usage, but I'm afraid

Multiple inputs not supported on WHERE ?

); seems like objectdb doesnt support multiple where clauses ? "UPDATE LoginEntity u SET u.enabled = ?1

How can allow multiple null value in a Unique column.

, so indeed, for a unique field you cannot have more than one  null value. If you need multiple null values then 

Acces the same DB with multiple users

; not supporting multiple system prateek Prateek gupta

CriteriaQuery .where() for multiple conditions

CriteriaQuery .where() for multiple conditions

JPA Relationships Annotations

relationships. Relationship annotations Use the following annotations to define the multiplicity and ownership of entity associations: Defines a single-valued association with one-to-one multiplicity between two entities. Defines a many-valued association with one-to-many multiplicity , representing

JPA Lifecycle Events

. However, the same method can handle multiple callback events if it is marked with more than one callback ... MyEntityWithListener { } You can attach multiple listener classes to a single entity: @Entity ... NoDefaultListenersForThisEntityEither extends NoDefaultListenersForThisEntity { } Callback invocation order When multiple callback

Index Definition

multiple fields in the members attribute of the @Index or @Unique annotation: @Entity @Index ( members ... annotation to either the class or any persistent field in the class. You can wrap multiple @Index ... { String firstName; String lastName; } Similarly, the @Uniques annotation can wrap multiple @Unique

Database Management Settings

multiple elements in the same configuration. This allows the same configuration file, with multiple activation codes, to be used on multiple computers. Note: If you are using an ObjectDB OEM license

SELECT clause (JPQL / Criteria API)

propagated to the database. Multiple SELECT expressions The SELECT clause may also define composite ... for queries with multiple SELECT expressions, where custom result objects can provide an object ... multiple selections and builds a CompoundSelection instance based on the expected query results

FROM clause (JPQL / Criteria API)

explicitly in the name element of the @Entity annotation. Multiple range variables are allowed ... , c2 FROM Country c1, Country c2 WHERE c2 MEMBER OF c1.neighbors Multiple variables are equivalent ... countries. Caution is required when using multiple range variables. Iteration over about 1,000,000

What are the main benefits of using ObjectDB?

that ability and require multiple tables, multiple records and join operations in order to support multiple values (even for a simple data structure such as a collection of strings). In addition

JPA Container Injection Annotations

of the persistence context: TRANSACTION (default) or EXTENDED (spanning multiple transactions). A container annotation for declaring multiple @PersistenceContext definitions on a single class ... metadata. A container annotation for declaring multiple @PersistenceUnit definitions on a single class

Query Parameters in JPA

with different parameter values to retrieve different results. Executing the same query multiple times ... indicates that the type of :name is also String . Queries can include multiple parameters, and each parameter can appear multiple times in the query string. A query can be executed only after you set values

Storing JPA Entities

cannot be shared by multiple entities. Each containing entity must have its own embedded objects ... can reference multiple entities. @Entity class Employee { : @OneToOne ( cascade = CascadeType . PERSIST

JPA Persistable Types

only once, even if they are referenced multiple times. Referencing instances of other persistable types from multiple persistent fields causes data duplication in the database. Entity classes An entity class

Numbers in JPQL and Criteria Queries

: + (addition), - (subtraction), * ( multiplication ), and / (division). ObjectDB also supports the modulo ... // Multiplication (*) Expression prod1 = cb. prod (path, param); // 2 expressions Expression prod2 = cb. prod

SQL Queries Annotations

dialect. Groups multiple @NamedNativeQuery definitions on a single class. Result set mapping Map ... multiple @SqlResultSetMapping definitions. Mapping details Refine the mapping of specific columns

JPA Connections and Transactions

for performing database operations. Many applications require multiple database connections ... ) and provides an efficient way to create multiple EntityManager instances for that database. The instantiation

Running JPA Queries

to run this query, as it can return multiple objects: TypedQuery query = em. createQuery ("SELECT c FROM ... multiple Country objects with the name 'Canada', a NonUniqueResultException is thrown. If no matching

UPDATE SET Queries in JPA/JPQL

without an explicit variable name) for iteration. Multiple variables and JOIN operations are not supported ... if one is defined. You can update multiple fields by providing a comma-separated list of expressions. For example

ObjectDB Object Database Features

;field. Composite primary key - multiple @Id fields or a @EmbeddedId field. Primary Key Data ... for efficient reuse of one query in multiple executions. Result range settings (first, max) - for paging

JPA Primary Key

A composite primary key consists of multiple primary key fields. Each primary key field ... departmentId; @Id long projectId; : } When an entity has multiple primary key fields, JPA requires

JPA Criteria Query Expressions

WHERE and HAVING clauses. An enum defining the logical operators ( AND , OR ) used to combine multiple

Setting and Tuning of JPA Queries

) ObjectDB uses automatic optimistic locking to prevent concurrent changes to entities by multiple users

JPA Named Queries Annotations

. A container annotation that groups multiple @NamedQuery definitions on a single class. Supplies parameters

Database Replication and Clustering

ObjectDB supports master-slave replication, also known as clustering. With replication, the same database is managed on multiple computers, or nodes, which can be in different geographic locations. This configuration helps achieve high availability, fault tolerance, and prompt disaster recovery

JPA Query Expressions (JPQL / Criteria)

: * ( multiplication ), / (division), + (addition), and - (subtraction) Comparison operators

Auto Generated Values

is global to the application and can be used by multiple fields across different classes. Specify

Retrieving JPA Entities

that are referenced by that field. Multiple entities can be referenced by a collection field. @Entity class

JPA Named Queries

{ ... } To attach multiple named queries to the same entity class, wrap them in a @NamedQueries annotation

DELETE Queries in JPA/JPQL

cannot include multiple variables, JOIN clauses, or the GROUP BY , HAVING , and ORDER BY clauses

WHERE clause (JPQL / Criteria API)

. get ("population"), p)); Multiple restrictions The second where method takes a variable number of Predicate

JPA Metamodel API

an ID class when you use multiple ID fields or properties. Finally, the EntityType interface adds

JPA Criteria Query Selection and Results

composed of multiple items, commonly used for projections. It supports three types: arrays

JPA Fetch Graphs Annotations

plan. A container annotation used to group multiple @NamedEntityGraph definitions on a single entity

Paths and Types in JPQL and Criteria API

through a null reference. In JPQL, the current FROM variable (or FROM tuple, when there are multiple

JPA Components Annotations

: Specifies a composite primary key class mapped to multiple fields or properties of the entity

Server User List

) restricts the user to the computer on which the server is running. You can specify multiple IP

ORDER BY clause (JPQL / Criteria API)

expressions is vendor-dependent. Query results can also be sorted by multiple expressions. The first

jakarta.persistence.NamedAttributeNode

has inheritance, multiple subgraphs can be specified. These additional subgraphs are intended to add subclass ... NamedSubgraph element. If multiple subgraphs are specified due to inheritance, they are referenced by ... also being specified. If the target type has inheritance, multiple subgraphs can be specified. These additional

Multiple files support for search and persist

to seperate files ( Each file is binded to different disk ) How can i configure objectdb for multiple ... so you cannot split a database to multiple disks unless you split the database itself to multiple ... .g. temporary files, recovery file) to other disks. using replication with multiple servers

jakarta.persistence.Graph

) Add a node to the graph that corresponds to a managed type with inheritance. This allows for multiple ... with inheritance. This allows for multiple subclass subgraphs to be defined for this node of the entity ... that corresponds to a managed type with inheritance. This allows for multiple subclass subgraphs to be defined

jakarta.persistence.Convert

specify the converter class, except to disambiguate cases where multiple converters ... . To override conversion mappings at multiple levels of embedding, a dot ( . ) notation form must be used ... Specifies the converter to be applied. This element must be explicitly specified if multiple

jakarta.persistence.EntityGraph

that corresponds to a managed type with inheritance. This allows for multiple subclass subgraphs to be defined ... to a managed type with inheritance. This allows for multiple subclass subgraphs to be defined for this node ... to a managed type with inheritance. This allows for multiple subclass subgraphs to be defined

jakarta.persistence.SecondaryTables

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.SecondaryTables Implemented Interfaces: Annotation Target: Type Specifies multiple secondary tables for an entity. Example 1: Multiple ... _HIST")}) public class Employee { ... } Example 2: Multiple secondary tables with differently named

jakarta.persistence.Subgraph

to the graph that corresponds to a managed type with inheritance. This allows for multiple subclass ... that corresponds to a managed type with inheritance. This allows for multiple subclass subgraphs ... that corresponds to a managed type with inheritance. This allows for multiple subclass subgraphs to be defined

NullPointer running multiple client against server

Hi, I'm running objectdb in server mode, config as it comes out of the box. In this case the database is being used as a queue with multiple seperate processes, each with multiple threads, writing messages. The message is split into a lightweight metadata message to allow fast searching