ObjectDB Database Search

1-50 of 200 results

jakarta.persistence.Table.check

Jakarta Persistence (JPA) Method in jakarta.persistence.Table CheckConstraint[] check (Optional) Check constraints to be applied to the table. These are only used if table generation is in effect. Default: {} Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.JoinColumn.check

Jakarta Persistence (JPA) Method in jakarta.persistence.JoinColumn CheckConstraint[] check (Optional) Check constraints to be applied to the column. These are only used if table generation is in effect. Default: {} Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.JoinTable.check

Jakarta Persistence (JPA) Method in jakarta.persistence.JoinTable CheckConstraint[] check (Optional) Check constraints to be applied to the table. These are only used if table generation is in effect. Default: {} Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.SecondaryTable.check

Jakarta Persistence (JPA) Method in jakarta.persistence.SecondaryTable CheckConstraint[] check (Optional) Check constraints to be applied to the table. These are only used if table generation is in effect. Default: {} Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.Column.check

Jakarta Persistence (JPA) Method in jakarta.persistence.Column CheckConstraint[] check (Optional) Check constraints to be applied to the column. These are only used if table generation is in effect. Default: {} Since: Jakarta Persistence (JPA) 3.2

objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc-check") vs. generic classes with interfaces: detailed investigation

objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc- check " system property ... : I discovered to my horror (using Java decompilers and .class file time stamp checks ... works fine). - I have used Java decompilers to check the ObjectDB enhancement carefully. I recommend

Enhancement Check

Hello, is there any possibility for a check whether all entities are already enhanced within a jar ... .SignedType. So you can check if an entity classes is OEM enhanced by: MyEntityClass instanceof com ... checks . support Support Hello again, build 2.7.6_03 fixes the issue. Thank you very much for your help

Option or strategy to disable/skip runtime enhancement checks (to improve load time)?

On startup of a Maven-based web app there is verbose logging of object checking ... layer. For example, it is checking whether PrimeFaces JSF toolkit classes are enhanced. I am using Maven-based compile-time enhancement applied to entity modules (only), so I know these checks

Check for index existence ?

Hello, Is there a simple way to check if indexes specified in entities are well taken into account ... ? If you do, set the server configuration and check the server logs (queries are executed on the server ... that specific configuration file. Check the location of the objectdb.conf file, the location

License Activation Change and Checking Activation

with either the WIFI adapter enabled or disabled. You can check whether ObjectDB is activated or not ... You are right. This hidden (and undocumented) feature was implemented for a specific check in embedded mode. In client server mode it didn't work well, because it checks activation on the client

Dirty checking

) so you can check if an entity object is dirty using the static JDOHelper.isDeleted method. support Support  You may also use JDO methods (even if your application uses JPA) so you can check if an entity ... of this forum thread ("Dirty checking "). support Support ok, thanks, there are 'embedded' objects

UserException: Invalid configuration in 'internal' - Check permissions

.UserException: Invalid configuration in 'internal' - Check permissions. : Is there any way to change ... : Invalid configuration in 'internal' - Check permissions. at com.objectdb.o.MSG.d(MSG.java:74 ... in 'internal' - Check permissions. at com.objectdb.o.MSG.d(MSG.java:74) at com.objectdb.o.CFG. (CFG

Memory Leaks after COMMIT operation (checked on versions 2.6.5 & 2.6.6.b01)

above (write a 10-15 Mbytes) need to check remaining memory in any available profiler. Stack trace ... they can be released by the GC. Since all the persisted objects are in one large collection, aDataKeys , please check

How to check if an entity exists in a Database without loading it?

Hi, I am trying to speed up some code - where i check if an entity exists in order to make a decision. In Java - It looks like this (pk - is the primary key of the entity): MyClass find = em.find(MyClass.class, pk); boolean exists = find != null; Is there a way to check the existence

How to check if the classes were enhanced correctly with valid OEM license?

Hello, is there a way/tool how to check whether build classes were enhanced with valid OEM license? Scenario: 1) Build and enhance Java application with some Object DB license key. 2) Pick ... , etc.) Thank you. Maruta M Sedlakova To check if class MyEntity is enhanced using the OEM Enhancer use

How to check that ObjectDb licenses are activated?

Hi Support, I have added license keys to objectDb.conf file and according to https://www.objectdb.com/forum/1384 I tried to check the activation status using following code EntityManagerFactory emf ... could be checked license status? Harman Alexander Golyshkin Are you sure version 2.8.4 is different from

Collections in JPQL and Criteria Queries

] EMPTY The IS [NOT] EMPTY operator checks whether a specified collection is empty. For example: c ... OF operator checks whether a specified element is a member of a specified persistent collection field ... provides an additional method for checking if a specified element is contained in a collection. JPA

Retrieving JPA Entities

that has already been fetched from the database is available in detached objects. JPA provides methods to check ... instance from the static getPersistenceUtil method. It provides two isLoaded methods: one for checking an entity and another for checking a persistent field of an entity. Retrieval by query The Query

JPA Optimistic and Pessimistic Locking

at transaction commit. ObjectDB checks any database object that is being updated or deleted. An exception is thrown if the check finds that another transaction has already updated the object ... but can be exposed by defining a version field . During commit (and flush ), ObjectDB checks

Database Management Settings

The version- check attribute of the element specifies whether optimistic locking is enabled. Optimistic ... optimistic locking by setting the version- check attribute to false . The element The element specifies

Strings in JPQL and Criteria Queries

. LIKE - string pattern matching with wildcards The [NOT] LIKE operator checks whether a string ... ( _ ), which matches any single character. The left operand is the string to check for a match (usually

JPA Core Types

cache using these utility types: A utility interface obtained from Persistence . Use it to check ... -level cache. Use it to check if specific entities are cached or to evict data to ensure

JPA Metamodel API

type: IdentifiableType superType = entityType. getSupertype (); // Checks if the type has a single ID ... ); // Checks if the type has a version attribute: boolean hasVersion = entityType. hasVersionAttribute

jakarta.persistence.EntityManager

: the value returned by ConnectionFunction.apply .. Throws: PersistenceException - wrapping the checked ... , the persistence provider must perform optimistic version checks when obtaining the database lock. If these checks fail, the OptimisticLockException is thrown. If the lock mode type is pessimistic and the entity

JPA Attributes Annotations

to perform optimistic locking checks . Enum mapping Configure how Java enumerated types are persisted and used

JPA Class Enhancer

with the ObjectDB Enhancer as a Java agent, each loaded class is checked and automatically enhanced

Defining a JPA Entity Class

exceptions are unchecked, whereas Java I/O exceptions are checked . Persistent fields in entity

Database Doctor

The ObjectDB Doctor tool provides two related services: Diagnose and validate an ObjectDB database file : Checks a specified ObjectDB database file to verify its integrity. If the file is corrupted, the tool produces a detailed diagnostic report that lists all errors. Repair a corrupted ObjectDB

Query Parameters in JPA

to check if a specified parameter has a value ( isBound ). These methods are not required to execute queries and are likely used less often.

JPA Shared (L2) Entity Cache

(); The Cache object lets you check if a specified entity is cached: boolean isCached = cache

Comparison in JPQL and Criteria API

value evaluates to NULL (unknown). IS [NOT] NULL To check for NULL values in standard JPQL, use

Paths and Types in JPQL and Criteria API

using the type method of the Path interface. For example, the following criteria expression checks

JPA Criteria API Queries

compile-time error checking . Errors in string-based JPQL queries, however, are found at runtime

Managing JPA Entities

to use strong or soft references instead of weak references . Use the contains method to check

Database Explorer

for the selected query. This is useful, for example, for checking which indexes are used. The Reset

How to check what is taking most space in DB file

How to check what is taking most space in DB file

jakarta.persistence.CheckConstraint

Interfaces: Annotation Used to specify a SQL check constraint on a column or table when schema generation is in effect. See Also: Table. check () Column. check () Since: Jakarta Persistence (JPA) 3.2 Annotation ... expression to be checked . Since: Jakarta Persistence (JPA) 1.0 String options (Optional) A SQL fragment

jakarta.persistence.JoinTable

: {} Since: Jakarta Persistence (JPA) 2.1 CheckConstraint[] check (Optional) Check constraints to be applied

jakarta.persistence.JoinColumn

CheckConstraint[] check (Optional) Check constraints to be applied to the column. These are only used

jakarta.persistence.Column

CheckConstraint[] check (Optional) Check constraints to be applied to the column. These are only used

jakarta.persistence.SecondaryTable

effect. Default: {} Since: Jakarta Persistence (JPA) 2.1 CheckConstraint[] check (Optional) Check

jakarta.persistence.Table

. Default: {} Since: Jakarta Persistence (JPA) 2.1 CheckConstraint[] check (Optional) Check

jakarta.persistence.EntityManager.lock(Object,LockModeType,LockOption...)

attribute, the persistence provider must also perform optimistic version checks when obtaining the database lock. If these checks fail, the OptimisticLockException is thrown. If the lock mode type ... call is made. OptimisticLockException - if the optimistic version check fails. TransactionRequiredException

jakarta.persistence.EntityManager.lock(Object,LockModeType)

checks when obtaining the database lock. If these checks fail, the OptimisticLockException is thrown ... lock call is made. OptimisticLockException - if the optimistic version check fails

Spring MVC JPA Tutorial - IntelliJ Project

+F10 ). If the browser fails to open check the settings at  File Settings Web Browsers .

Step 1: Create a Maven Web Project

the project node and checking that the  Run As Run on Server command is available

Step 7: Run the Spring Web App

. To install a new server check the Manually define a new server radio button (after Run As Run on Server

Step 3: Create an ObjectDB Data Source

the Test Connection button to check the connection url: Click the Finish button to complete the creation

JPA Web App Tutorial - IntelliJ Project

at the toolbar and click the green run icon (or Shift+F10 ). If the browser fails to open check the settings at File Settings Web Browsers .

Java EE 6 JPA Tutorial - IntelliJ Project

and click the green run icon (or  Shift+F10 ). If the browser fails to open check the settings at  File Settings Web Browsers .