ObjectDB Database Search

1-50 of 146 results

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

CriteriaQuery .where() for multiple conditions

CriteriaQuery .where() for multiple conditions

Multiple Collection Fields not update correctly

Multiple Collection Fields not update correctly

multiple different applications access one odb file

multiple different applications access one odb file

Get multiple entities by Id

Get multiple entities by Id

multiple LEFT JOINs do not work as expected

multiple LEFT JOINs do not work as expected

100% CPU when using multiple BETWEEN

100% CPU when using multiple BETWEEN

Multiple @ID

Multiple @ID

Access to client/server database from multiple applications

Access to client/server database from multiple applications

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

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

Slow query due to scanning multiple indexes

]) / '826268'*:notNull]) / Is there a way to stop ObjectDB from doing multiple index scans, and only pick ... ObjectDB from doing multiple index scans, and only pick the best single index with highest selectivity ... that scan multiple indexes. In our data design, where every entity has an indexed deleted flag

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

to inherited fields or properties, and so the state of an entity instance might be stored across multiple table

jakarta.persistence.ManyToMany

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.ManyToMany Implemented Interfaces: Annotation Target: Method, Field Specifies a many-valued association with many-to-many multiplicity , mapping to an intermediate table called the join table . Every many-to-many association

jakarta.persistence.ManyToOne

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.ManyToOne Implemented Interfaces: Annotation Target: Method, Field Specifies a single-valued association to another entity class that has many-to-one multiplicity . It is not usually necessary to specify the target entity explicitly

jakarta.persistence.NamedNativeQueries

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.NamedNativeQueries Implemented Interfaces: Annotation Target: Type Declares multiple native SQL named queries. Query names are scoped to the persistence unit. The NamedNativeQueries annotation can be applied to an entity or mapped

jakarta.persistence.Converts

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.Converts Implemented Interfaces: Annotation Target: Method, Field, Type Used to group Convert annotations. Multiple converters must not be applied to the same basic attribute. See Also: Convert Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.Embeddable

of multiple persistent fields or properties, across several entities, and so distinct instances

jakarta.persistence.Entity

of embeddable type has nested mappings to multiple columns in one of the tables mapped by the entity

jakarta.persistence.EntityManager

serially to begin and commit multiple transactions. Returns: EntityTransaction instance. Throws

jakarta.persistence.PersistenceConfiguration.properties(Map)

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceConfiguration PersistenceConfiguration properties (    Map properties ) Set multiple properties of this persistence unit. Parameters: properties - the properties Returns: this configuration. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Graph.addSubgraph(String,Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.Graph Subgraph addSubgraph (    String attributeName ,    Class type ) Add a node to the graph that corresponds to a managed type with inheritance. This allows for multiple subclass subgraphs to be defined for this node

jakarta.persistence.Graph.addTreatedSubgraph(Attribute,Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.Graph Subgraph addTreatedSubgraph (    Attribute attribute ,    Class type ) Add a node to the graph that corresponds to a managed type with inheritance. This allows for multiple subclass subgraphs to be defined

jakarta.persistence.Graph.addSubgraph(Attribute,Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.Graph Subgraph addSubgraph (    Attribute attribute ,    Class type ) Add a node to the graph that corresponds to a managed type with inheritance. This allows for multiple subclass subgraphs to be defined for this node