ObjectDB Database Search

151-200 of 200 results

Will ObjectDB support JPA 2.1 CriteriaDelete?

Will ObjectDB support JPA 2.1 CriteriaDelete?

Object DB vs EclipseLink/TopLink: Unloaded relationships in detached entities

descriptor element. By default, a transaction-scoped persistence context is used. Sections 7.6. 1 and 7.6.2 ... manager factory". 7.6. 1 Container-managed Transaction-scoped Persistence Context The application ... forum material. On running a large existing web application on Glassfish3.0. 1 for the first time

Problem to use find method on an abstract Class: AbstractMethodError is thrown

:17:23,452 INFO [org.jboss.web] (MSC service thread 1 -14) JBAS018210: Registering web context : /Guestbook 08:17:23,452 INFO [org.jboss.web] (MSC service thread 1 -11) JBAS018210: Registering web context ... :   08:17:21,359 INFO [org.jboss.modules] JBoss Modules version 1 . 1 . 1 .GA 08:17:21,544 INFO [org

ObjectDB 2.9.1

ObjectDB 2.9.1

ObjectDB 2.6.1

ObjectDB 2.6.1

ObjectDB 2.3.1

ObjectDB 2.3.1

ObjectDB 2.0.1

ObjectDB 2.0.1

ObjectDB 2.8.1

ObjectDB 2.8.1

version 2.4.5+ with GlassFish 3.1.2, errors when runs application. Version 2.4.4 worked but not 2.4.5 or later

version 2.4.5+ with GlassFish 3.1.2, errors when runs application. Version 2.4.4 worked but not 2.4.5 or later

ObjectDB 2.4.1

ObjectDB 2.4.1

ObjectDB 2.7.1

ObjectDB 2.7.1

ObjectDB 2.1.0

ObjectDB 2.1.0

JPQL Update & Delete (JPA 1.0)

JPQL Update & Delete (JPA 1.0)

Integration with Java EE (JPA 1.0)

Integration with Java EE (JPA 1.0)

jakarta.persistence.metamodel.EntityType

of the given name is not present in the managed type. Since: Jakarta Persistence (JPA) 1 .0 Set ... of the managed type. Since: Jakarta Persistence (JPA) 1 .0 Class getBindableJavaType () Return the Java ... . Since: Jakarta Persistence (JPA) 1 .0 BindableType getBindableType () Return the bindable type

jakarta.persistence.PersistenceConfiguration

of this PersistenceConfiguration class should use sharedCacheMode . Since: Jakarta Persistence (JPA) 1 .0 JDBC_DATASOURCE An instance of javax.sql.DataSource . Since: Jakarta Persistence (JPA) 1 .0 JDBC_DRIVER Fully qualified name of the JDBC driver class. Since: Jakarta Persistence (JPA) 1 .0 JDBC_PASSWORD Password for JDBC

jakarta.persistence.criteria.Subquery

Parameters: name - alias Returns: selection item. Since: Jakarta Persistence (JPA) 1 .0 Expression ... Persistence (JPA) 1 .0 Expression cast ( Class type ) Cast this expression to the specified type, returning ... of the containing query Returns: subquery root. Since: Jakarta Persistence (JPA) 1 .0 Join correlate ( Join

jakarta.persistence.metamodel.IdentifiableType

Persistence (JPA) 1 .0 Set getAttributes () Return the attributes of the managed type. Inherited from ManagedType Returns: attributes of the managed type. Since: Jakarta Persistence (JPA) 1 .0 ... . Since: Jakarta Persistence (JPA) 1 .0 CollectionAttribute getCollection ( String name ) Return

jakarta.persistence.metamodel.MappedSuperclassType

. Since: Jakarta Persistence (JPA) 1 .0 Set getAttributes () Return the attributes of the managed type. Inherited from ManagedType Returns: attributes of the managed type. Since: Jakarta Persistence (JPA) 1 .0 ... type. Since: Jakarta Persistence (JPA) 1 .0 CollectionAttribute getCollection ( String name ) Return

SELECT clause (JPQL / Criteria API)

(); for (Object[] result : results) { System.out.println( "Country: " + result[0] + ", Capital: " + result[ 1 ... ) { System.out.println( "Country: " + result[0] + ", Capital: " + result[ 1 ]); } CriteriaBuilder.tuple ... ("Country: " + t.get(0) + ", Capital: " + t.get( 1 )); } The Tuple interface defines several other methods

Auto Generated Values

. It takes a name, an initial value (default is 1 ), and an allocation size (default is 50). A sequence ... ="seq", initialValue = 1 , allocationSize =100) public class EntityWithSequenceId { // Use ... . This means that if you want sequence numbers to start with 1 when using the TABLE strategy, you must specify initialValue=0 in the @TableGenerator  annotation.

Server User List

to connect to the server only from the specified IP addresses. For example, "127.0.0. 1 " (the local computer ... of "192.18.0.0-192.18.194.255,127.0.0. 1 " allows connections from any IP address in the range 192.18.0.0 - 192.18.194.255 and from 127.0.0. 1 . The admin attribute, with a value of true or false , specifies

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

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

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

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

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

jakarta.persistence.EntityManager.detach(Object)

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager void detach (    Object entity ) Evict the given managed or removed entity from the persistence context , causing ... associated with this persistence context , it is ignored. Parameters: entity - a managed or removed

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

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

is contained in the persistence context , it is returned from there, and the effect of this method ... within the persistence context and the lock mode type is pessimistic and the entity has a version

jakarta.persistence.EntityManager.find(Class,Object,LockModeType,Map)

. 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 and the entity

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

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

jakarta.persistence.PersistenceUnitUtil.getClass(T)

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

jakarta.persistence.metamodel.ManagedType

the managed type. Since: Jakarta Persistence (JPA) 1 .0 Set getAttributes () Return the attributes of the managed type. Returns: attributes of the managed type. Since: Jakarta Persistence (JPA) 1 .0 ... Persistence (JPA) 1 .0 CollectionAttribute getCollection ( String name ) Return the Collection-valued

jakarta.persistence.metamodel.EmbeddableType

is not present in the managed type. Since: Jakarta Persistence (JPA) 1 .0 Set getAttributes () Return ... type. Since: Jakarta Persistence (JPA) 1 .0 CollectionAttribute getCollection ( String name , Class ... of the given name and type is not present in the managed type. Since: Jakarta Persistence (JPA) 1 .0

jakarta.persistence.criteria.CriteriaQuery

.. Since: Jakarta Persistence (JPA) 1 .0 Root from ( Class entityClass ) Create and add a query root ... to the given entity. Since: Jakarta Persistence (JPA) 1 .0 Root from ( EntityType entity ) Create and add ... Returns: query root corresponding to the given entity. Since: Jakarta Persistence (JPA) 1 .0 List

Apache License, Version 2.0, January 2004

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1 . Definitions . "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright

Literals in JPQL and Criteria Queries

both Java and SQL syntax for numeric literals. Numeric suffixes (for example, 1 .5F ) are also supported ... . literal ( 1 ); Expression i2 = cb. literal (Integer.ValueOf(2)); Expression d = cb. literal (3.4

Updating JPA Entities

, 1 ); em. getTransaction (). begin (); employee.setNickname("Joe the Plumber"); em. getTransaction ... when entity classes are enhanced: Employee employee = em. find (Employee.class, 1 ); em. getTransaction

jakarta.persistence.criteria.CriteriaBuilder.In

, TupleElement Interface used to build in predicates. Since: Jakarta Persistence (JPA) 1 .0 Public Instance ... : name - alias Returns: selection item. Since: Jakarta Persistence (JPA) 1 .0 Expression as ( Class ... ) 1 .0 Expression cast ( Class type ) Cast this expression to the specified type, returning a new

jakarta.persistence.criteria.CriteriaBuilder.SimpleCase

which they are specified. Since: Jakarta Persistence (JPA) 1 .0 Public Instance Methods Selection alias ... : selection item. Since: Jakarta Persistence (JPA) 1 .0 Expression as ( Class type ) Perform ... expression of the given type. See Also: .cast(Class) Since: Jakarta Persistence (JPA) 1 .0 Expression cast

jakarta.persistence.EntityGraph

Persistence (JPA) 2. 1 Public Instance Methods AttributeNode addAttributeNode ( String attributeName ... . IllegalArgumentException - if the attribute is not an attribute of this managed type.. Since: Jakarta Persistence (JPA) 1 ... ) 1 .0 Subgraph addElementSubgraph ( PluralAttribute attribute ) Add a node to the graph

jakarta.persistence.criteria.Path

(JPA) 1 .0 Expression as ( Class type ) Perform a typecast upon the expression, returning a new ... ) Since: Jakarta Persistence (JPA) 1 .0 Expression cast ( Class type ) Cast this expression ... to the referenced attribute. Since: Jakarta Persistence (JPA) 1 .0 Expression get ( PluralAttribute

jakarta.persistence.criteria.AbstractQuery

Persistence (JPA) 1 .0 Root from ( Class entityClass ) Create and add a query root corresponding ... class Returns: query root corresponding to the given entity. Since: Jakarta Persistence (JPA) 1 .0 ... (JPA) 1 .0 List getGroupList () Return a list of the grouping expressions. Returns empty list

jakarta.persistence.criteria.CriteriaBuilder.Case

which they are specified. Since: Jakarta Persistence (JPA) 1 .0 Public Instance Methods Selection alias ( String ... : selection item. Since: Jakarta Persistence (JPA) 1 .0 Expression as ( Class type ) Perform a typecast ... of the given type. See Also: .cast(Class) Since: Jakarta Persistence (JPA) 1 .0 Expression cast ( Class

jakarta.persistence.Subgraph

within an EntityGraph . See Also: EntityGraph AttributeNode NamedSubgraph Since: Jakarta Persistence (JPA) 2. 1 Public ... is not an attribute of this managed type.. Since: Jakarta Persistence (JPA) 1 .0 void addAttributeNodes ... - if this EntityGraph has been statically defined. Since: Jakarta Persistence (JPA) 1 .0 Subgraph

jakarta.persistence.TypedQuery.getResultStream()

other than NONE has been set and there is no transaction or the persistence context has not been joined

Eclipse/JPA Java EE Tutorial

for Java EE Developers. GlassFish Server 3.0. 1 (or above). The last version of ObjectDB (just download and extract). The tutorial was written for Eclipse 3.6. 1 but it should work with other Eclipse versions ... : 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:

Report Generation with BIRT and JPA

= x :     (0, 0), ( 1 , 1 ), (2, 2), ..., (999, 999) The BIRT report

NetBeans/JPA Java EE Tutorial

was written for NetBeans 6.9. 1 but it should work with other NetBeans versions as well (dialog boxes ... later is required if Glassfish 3. 1 .2 (or later) is used. The Tutorial Steps This tutorial consists of the following steps:

[ODB1] Chapter 7 - JDOQL Queries

a specified order. 7. 1   Introduction to JDOQL A basic JDOQL query has the following ... . One of the useful string methods that is not supported by JDO 1 .0 but supported in ObjectDB ... : Calendar calendar = Calendar.getInstance(); calendar.clear(); calendar.set(2000, 0, 1 ); Date date