ObjectDB Database Search

51-100 of 200 results

Explorer in 2.3

servers, it may be faster for local files. 3 . On the Query page, please add a checkbox to request ... evaluation. For me, #1, #2 and # 3 would be the most important. Also, I've found some small bugs: 1 ... a very large array in the debugger). This will limit retrieval to open branches in the tree. 3

ObectDb 2.3.6 in OSGi environment

use a persistence.xml! The stacktrace looks like this: [ObjectDB 2. 3 .6] javax.persistence ... (BlockJUnit4ClassRunner.java:47) at org.junit.runners.ParentRunner$ 3 .run(ParentRunner.java:231) at org.junit ... ) at org.junit.runners.ParentRunner$ 3 .run(ParentRunner.java:231) at org.junit.runners.ParentRunner$1

Configure ObjectDB in spring context

is to configure entire ObjectDB (optionally objectdb.conf too) in springs context .xml file so that I'd ... creating persistance.xml file. My previous database.xml (which is included in application- context .xml

Puzzler: Not getting cascades on read from Spring context

. My best guess is that perhaps I have something misconfigured in my persistence.xml or my context . 

JPA Entity Fields

are explained in Chapter 3 . You can mark a persistent field of an embeddable type with the @Embedded ... with optimistic locking , as explained in the Locking in JPA section in Chapter 3 . You can expose entity ... for detached entities (explained in Chapter 3 ) unless the entity class is enhanced (explained in Chapter 5

Literals in JPQL and Criteria Queries

, -127L, 0L, 07777L float : 3 .14F, 0f, 1e2f, -2.f, 5.04e+17f double : 3 .14, 0d, 1e2D, -2., 5.04e+17 ... . literal (1); Expression i2 = cb. literal (Integer.ValueOf(2)); Expression d = cb. literal ( 3 .4

jakarta.persistence.PersistenceUnitUtil.load(Object,String)

with an open persistence context or cannot be loaded from the database. Since: Jakarta Persistence (JPA) 3 .2 ... persistent attribute of an entity belonging to the persistence unit and to an open persistence context

jakarta.persistence.PersistenceUnitUtil.load(E,Attribute)

persistence context or cannot be loaded from the database. Since: Jakarta Persistence (JPA) 3 .2 ... attribute of an entity belonging to the persistence unit and to an open persistence context

jakarta.persistence.PersistenceUnitUtil.load(Object)

and to an open persistence context . After this method returns, PersistenceUnitUtil.isLoaded must return true ... to the persistence unit. PersistenceException - if the entity is not associated with an open persistence context or cannot be loaded from the database. Since: Jakarta Persistence (JPA) 3 .2

jakarta.persistence.EntityManager.find(EntityGraph,Object,FindOption...)

type. If the entity instance is contained in the persistence context , it is returned from there. If the entity is found within the persistence context and the lock mode type is pessimistic ... transaction and a lock mode other than NONE is specified. Since: Jakarta Persistence (JPA) 3 .2

jakarta.persistence.EntityManager.find(Class,Object,FindOption...)

it with respect to the specified lock type. If the entity instance is contained in the persistence context , it is returned from there. If the entity is found within the persistence context and the lock mode type ... transaction and a lock mode other than NONE is specified. Since: Jakarta Persistence (JPA) 3 .2

jakarta.persistence.PersistenceUnitUtil.isInstance(Object,Class)

belonging to the persistence unit and to an open persistence context is an instance of the given entity ... to the persistence unit. PersistenceException - if the entity is not associated with an open persistence context or cannot be loaded from the database. Since: Jakarta Persistence (JPA) 3 .2

jakarta.persistence.PersistenceUnitUtil.getClass(T)

with an open persistence context or cannot be loaded from the database. Since: Jakarta Persistence (JPA) 3 .2 ... unit and to an open persistence context . This method may, but is not required to, load the given

jakarta.persistence.PersistenceContext

EntityManager and its associated persistence context . Since: Jakarta Persistence (JPA) 1.0 Annotation ... referencing context ; not needed when dependency injection is used. Default: "" Since: Jakarta ... PersistenceContextType type (Optional) Specifies whether a transaction-scoped persistence context or

Numbers in JPQL and Criteria Queries

. For example: MOD(11, 3 ) evaluates to 2 . MOD(8, 4) evaluates to 0 . The MOD function takes two integer ... function returns the square root of a specified argument. For example: SQRT(9) is evaluated to 3 SQRT(2

JPA Class Enhancer

explained in Chapter 3 ). Special code is added to enhanced classes that automatically notifies ObjectDB ... lists the classes that have been enhanced: [ObjectDB 2.9.4] 3 persistable types have been enhanced

jakarta.persistence.TypedQuery.getSingleResultOrNull()

and there is no transaction or the persistence context has not been joined to the transaction. Since: Jakarta Persistence (JPA) 3 .2

jakarta.persistence.EntityManager.runWithConnection(ConnectionConsumer)

with a transaction, the action is executed in the context of the transaction. The given action should close ... Exception thrown by ConnectionConsumer.accept , if any. Since: Jakarta Persistence (JPA) 3 .2

jakarta.persistence.EntityManager.callWithConnection(ConnectionFunction)

is executed in the context of the transaction. The given function should close any resources it creates ... : PersistenceException - wrapping the checked Exception thrown by ConnectionFunction.apply , if any. Since: Jakarta Persistence (JPA) 3 .2

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

an entity instance belonging to the persistence context , obtaining the specified lock mode , using ... - if there is no transaction or if invoked on an entity manager which has not been joined to the current transaction. Since: Jakarta Persistence (JPA) 3 .2

jakarta.persistence.EntityManager.setCacheRetrieveMode(CacheRetrieveMode)

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager void setCacheRetrieveMode (    CacheRetrieveMode cacheRetrieveMode ) Set the default cache retrieval mode for this persistence context . Parameters: cacheRetrieveMode - cache retrieval mode Since: Jakarta Persistence (JPA) 3 .2

jakarta.persistence.EntityManager.setCacheStoreMode(CacheStoreMode)

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager void setCacheStoreMode (    CacheStoreMode cacheStoreMode ) Set the default cache storage mode for this persistence context . Parameters: cacheStoreMode - cache storage mode Since: Jakarta Persistence (JPA) 3 .2

jakarta.persistence.EntityManager.getCacheRetrieveMode()

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager CacheRetrieveMode getCacheRetrieveMode() The cache retrieval mode for this persistence context . Since: Jakarta Persistence (JPA) 3 .2

jakarta.persistence.EntityManager.getCacheStoreMode()

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager CacheStoreMode getCacheStoreMode() The cache storage mode for this persistence context . Since: Jakarta Persistence (JPA) 3 .2

jakarta.persistence.Query.getSingleResultOrNull()

the persistence context has not been joined to the transaction. Since: Jakarta Persistence (JPA) 3 .2

jakarta.persistence.FlushModeType

for the persistence context is AUTO (the default) and a flush mode setting has not been specified for the Query or ... of all entities in the persistence context which could potentially affect the result of the query ... , if COMMIT is set, the effect of updates made to entities in the persistence context on queries

jakarta.persistence.SynchronizationType

, Serializable Specifies whether the persistence context is always automatically synchronized with the current transaction or whether the persistence context must be explicitly joined to the current ... Enum Constants SYNCHRONIZED Persistence context is automatically synchronized with the current

jakarta.persistence.PersistenceContextType

, Comparable , Serializable Specifies whether a transaction-scoped or extended persistence context is to be used in PersistenceContext . If not specified, a transaction-scoped persistence context is used. Since: Jakarta Persistence (JPA) 1.0 Enum Constants EXTENDED Extended persistence context Since: Jakarta

ObjectDB 2.3.3

ObjectDB 2.3.3

jakarta.persistence.Graph

to EntityGraph and Subgraph . See Also: EntityGraph Subgraph Since: Jakarta Persistence (JPA) 3 .2 Public ... is not an attribute of this entity.. Since: Jakarta Persistence (JPA) 3 .2 AttributeNode ... Persistence (JPA) 3 .2 void addAttributeNodes ( String... attributeName ) Add one or more attribute

jakarta.persistence.criteria.CriteriaBuilder

more restriction predicates Returns: and predicate. Since: Jakarta Persistence (JPA) 3 .2 Expression ... . Since: Jakarta Persistence (JPA) 3 .2 Order asc ( Expression expression ) Create an ordering by ... . Since: Jakarta Persistence (JPA) 3 .2 Expression avg ( Expression x ) Create an aggregate expression applying

jakarta.persistence.EntityGraph

.. Since: Jakarta Persistence (JPA) 3 .2 AttributeNode addAttributeNode ( Attribute attribute ) Get an existing ... : IllegalStateException - if the EntityGraph has been statically defined. Since: Jakarta Persistence (JPA) 3 .2 void ... . Since: Jakarta Persistence (JPA) 3 .2 Subgraph addElementSubgraph ( String attributeName ) Add

jakarta.persistence.Subgraph

. IllegalArgumentException - if the attribute is not an attribute of this entity.. Since: Jakarta Persistence (JPA) 3 .2 ... has been statically defined. Since: Jakarta Persistence (JPA) 3 .2 void addAttributeNodes ( String ... Persistence (JPA) 3 .2 Subgraph addElementSubgraph ( String attributeName ) Add a node to the graph

Apache License, Version 2.0, January 2004

Works in Source or Object form. 3 . Grant of Patent License . Subject to the terms and conditions

ObjectDB License Agreement [ver. 2.0.4]

by this agreement. 3 . The free edition of the Software includes restrictions on the number of classes

JPA Metamodel Attributes

The Jakarta Persistence (JPA) Metamodel API defines a structured hierarchy of interfaces and enumerations to represent the attributes of managed persistent types (entities, embeddable and superclasses). Metamodel Attributes Hierarchy in Jakarta Persistence (JPA) 3 . Base attribute definitions

JPA Metamodel Types

The Jakarta Persistence (JPA) Metamodel API defines a structured hierarchy of interfaces and enumerations to represent the persistent types within a domain model. Metamodel Types Hierarchy in Jakarta Persistence (JPA) 3 .2 Base type definitions The core abstractions of model types

JPA Extended API Reference Guide

Jakarta Persistence API (JPA) 3 .2 documentation, generated from the official JavaDoc and enriched with practical notes. It groups the API types into logical sections to help you locate core concepts, query facilities, metamodel details, configuration options, annotations, and exception information

Step 1: Create a Maven Web Project

.springframework spring-webmvc 3 .0.5.RELEASE org.springframework spring-tx 3 .0.5.RELEASE org.springframework spring-orm 3 .0.5.RELEASE aopalliance aopalliance 1.0 cglib cglib 2.2 org.aspectj aspectjweaver

Step 1: Create a Maven Web Project

       org.springframework    spring-webmvc    3 .0.5.RELEASE        org.springframework    spring-tx    3 .0.5.RELEASE        org.springframework    spring-orm    3 .0.5.RELEASE

Step 1: Create a Java EE 6 Web Project

a Project Name (e.g. Guestbook ). Select GlassFish Server Open Source Edition 3 (Java EE 6) as the Target runtime. Note: You may have to add GlassFish 3 as a new server by clicking the New Runtime... button ... to GlassFish 3 (which has to be downloaded separately) . Click the Finish button to create the Java EE 6

JPA Tutorials

, such as GlassFish 3 .0.1 or JBoss AS 6. Another tutorial shows how to use JPA in a Spring MVC Framework 3 web application: Spring MVC and JPA Maven Projects for Download The tutorials provide step

NetBeans/JPA Java EE Tutorial

and menus might look slightly different but the code would be the same). Note: ObjectDB 2. 3 .7_04 or later is required if Glassfish 3 .1.2 (or later) is used. The Tutorial Steps This tutorial consists of the following steps:

Eclipse/JPA Spring MVC Web Tutorial

) including  Maven Integration for WTP (in m2eclipse extras). The tutorial was written for Eclipse 3

Getting Started with JPA and Eclipse

). This tutorial was written for Eclipse 3 .6.1 but it should work with other Eclipse versions as

Step 7: Run the Spring Web App

/. This Spring web application can also run with GlassFish 3 .0.1, with a small change in the 

Java EE JPA Tutorial - Maven Project

The  Java EE Web Application tutorial provides step by step instructions on how to build a simple Java/JPA database driven web application (for GlassFish 3 / JBoss 6) in  Eclipse or  NetBeans . Building a new application step by step is an effective way to learn - but 

Java EE Web Tutorial

This tutorial demonstrates how to create and run a full Java EE 6 MVC (Model View Controller) web application using GlassFish, ObjectDB and JPA. Since this web application uses Java EE 6 EJB (session beans) it requires a full Java EE 6 application server, such as GlassFish 3 .0.1 or JBoss AS 6

[ODB1] Chapter 4 - JDO Metadata

database, ObjectDB always uses datastore identity with its own object-id class). 4. 3    ... for determining if a field is persistent are explained in section 3 .2 . The persistence-modifier

ObjectDB 1.0 Manual

on programming with ObjectDB and JDO: Chapter 3 - Persistent Classes Explains what a persistence capable