ObjectDB Database Search

51-100 of 200 results

GlassFish 3.1.2.2/JBoss 7.1.1

). May be you have some ideas?  When we just try JBoss 7. 1 . 1 nothing works at all. Where I can get a real ... . webel Dr Darren Kelly As discussed in a previous forum thread - JBoss 7. 1 . 1 is expected to be supported ... there are also issues with GlassFish 3. 1 .2 (GlassFish 3. 1 . 1 may work better with ObjectDB

Problem with Criteria Querys

Hi, i am having problems running following code...   import java.util.*; import javax.persistence.*; import javax.persistence. criteria .CriteriaBuilder; import javax.persistence. criteria .CriteriaQuery; import javax.persistence. criteria .ParameterExpression; import javax.persistence. criteria

ObjectDB 2.5.1

(inverse) relationships. Fixed a bug in using IN expression in criteria queries . Fixed processing an IN(:param) expression in JPQL queries.

jakarta.persistence.EntityManagerFactory

, may be obtained by calling getCache , the CriteriaBuilder , used to define criteria queries, may be obtained by ... Since: Jakarta Persistence (JPA) 1 .0 The JPA Connections and Transactions article explains how to use ... graph entityGraph - entity graph Since: Jakarta Persistence (JPA) 2. 1 void addNamedQuery ( String

How to Use a SF with extended Persistence Context?

get this stack: 13:52:01,121 INFO  [org.jboss.modules] JBoss Modules version 1 . 1 . 1 .GA 13:52:01,304 INFO  [org.jboss.msc] JBoss MSC version 1 .0.2.GA 13:52:01,347 INFO  [org.jboss.as] JBAS015899: JBoss AS 7. 1 . 1 .Final "Brontes" starting 13:52:01,959 INFO  [org.xnio] XNIO Version 3.0.3.GA 13

Strange Error with Criteria API and Sorting

criteria in debugger we get the correct expression: SELECT DISTINCT $ 1 FROM MyEntity $ 1 WHERE ((TYPE($ 1 )=class test.MyEntity)) ORDER BY UPPER($ 1 .name) DESC You can see that in the order by there's correctly a "$ 1 " var. Running this (without the type thing before) in the explorer correctly returns

JDOQL Subqueries (JDO 2.1)

Subqueries (nested queries) have been added to JDOQL (JDO Query Language) in JDO 2. 1 . This is the main feature of JDO 2.0-2. 1 -2.2 that is not implemented yet in ObjectDB 2. support Support

JPQL Subqueries (JPA 1.0)

JPQL Subqueries (JPA 1.0)

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

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

(JPA) 1 .0 void addAttributeNodes ( Attribute ... attribute ) Add one or more attribute nodes ... : IllegalStateException - if this EntityGraph has been statically defined. Since: Jakarta Persistence (JPA) 1 .0 Subgraph ... . Since: Jakarta Persistence (JPA) 1 .0 Subgraph addElementSubgraph ( String attributeName , Class type

JPA Entity Fields

of a new entity is 1 when it's stored in the database for the first time. In every transaction

Storing JPA Entities

the clear and flush methods together to save memory during large transactions: em. getTransaction (). begin (); for (int i = 1 ; i

jakarta.persistence.JoinTable

Persistence (JPA) 1 .0 Annotation Elements String name (Optional) The name of the join table. Defaults ... . Default: "" Since: Jakarta Persistence (JPA) 1 .0 String catalog (Optional) The catalog of the table. Defaults to the default catalog. Default: "" Since: Jakarta Persistence (JPA) 1 .0 String schema

jakarta.persistence.JoinColumn

CollectionTable ForeignKey Since: Jakarta Persistence (JPA) 1 .0 Annotation Elements String name (Optional ... Persistence (JPA) 1 .0 String referencedColumnName (Optional) The name of the column referenced by ... of the referenced table. Default: "" Since: Jakarta Persistence (JPA) 1 .0 boolean unique (Optional

jakarta.persistence.MapKeyColumn

relationship field or property; " _ "; " KEY ". Default: "" Since: Jakarta Persistence (JPA) 1 .0 boolean ... and to constraints specified at the table level. Default: false Since: Jakarta Persistence (JPA) 1 .0 ... Persistence (JPA) 1 .0 boolean insertable (Optional) Whether the column is included in SQL INSERT

jakarta.persistence.MapKeyJoinColumn

and the default values apply. Example 1 : @Entity public class Company { @Id int id; ... @OneToMany ... ; " _ "; " KEY ". Default: "" Since: Jakarta Persistence (JPA) 1 .0 String referencedColumnName (Optional ... the primary key column of the referenced table. Default: "" Since: Jakarta Persistence (JPA) 1 .0 boolean

jakarta.persistence.PessimisticLockException

. Since: Jakarta Persistence (JPA) 1 .0 PessimisticLockException ( String message ) Constructs a new ... . Since: Jakarta Persistence (JPA) 1 .0 PessimisticLockException ( String message , Throwable cause ... . Parameters: cause - the cause. message - the detail message. Since: Jakarta Persistence (JPA) 1 .0

jakarta.persistence.LockTimeoutException

exception with null as its detail message. Since: Jakarta Persistence (JPA) 1 .0 LockTimeoutException ... . Parameters: message - the detail message. Since: Jakarta Persistence (JPA) 1 .0 LockTimeoutException ... Persistence (JPA) 1 .0 LockTimeoutException ( Throwable cause ) Constructs a new

jakarta.persistence.EntityTransaction

the EntityTransaction interface. Since: Jakarta Persistence (JPA) 1 .0 The JPA Connections ... (JPA) 1 .0 void commit () Commit the current resource transaction, writing any unflushed changes ... - if the commit fails. Since: Jakarta Persistence (JPA) 1 .0 boolean getRollbackOnly () Determine

jakarta.persistence.GenerationType

Persistence (JPA) 1 .0 The Auto Generated Values article explains how to use GenerationType . Enum ... . Since: Jakarta Persistence (JPA) 1 .0 IDENTITY Indicates that the persistence provider must assign ... Long , Integer , long , or int . Since: Jakarta Persistence (JPA) 1 .0 SEQUENCE Indicates

jakarta.persistence.ManyToMany

notation is the name of the respective embedded field or property. Example 1 : // In Customer class ... ) 1 .0 Annotation Elements Class targetEntity (Optional) The entity class that is the target ... using generics. Default: void/class Since: Jakarta Persistence (JPA) 1 .0 CascadeType[] cascade

jakarta.persistence.ManyToOne

with the dot notation is the name of the respective embedded field or property. Example 1 : @ManyToOne(optional ... = "jobInfo.pm") Collection manages; } Since: Jakarta Persistence (JPA) 1 .0 Annotation Elements Class ... ) 1 .0 CascadeType[] cascade (Optional) The operations that must be cascaded to the target

jakarta.persistence.NamedEntityGraph

, and may be passed to EntityManager.find . Since: Jakarta Persistence (JPA) 2. 1 Annotation Elements String ... Persistence (JPA) 1 .0 NamedAttributeNode[] attributeNodes (Optional) A list of attributes of the entity that are included in this graph. Default: {} Since: Jakarta Persistence (JPA) 1 .0 boolean

jakarta.persistence.Convert

to prefix the name of the attribute of the key or value type that is converted. Example 1 : Convert ... GenericEmployee { ... } See Also: Converter Converts Basic Since: Jakarta Persistence (JPA) 2. 1 Annotation ... Since: Jakarta Persistence (JPA) 1 .0 String attributeName A name or period-separated path identifying

jakarta.persistence.DiscriminatorColumn

DiscriminatorType Since: Jakarta Persistence (JPA) 1 .0 Annotation Elements String name (Optional) The name of column to be used for the discriminator. Default: "DTYPE" Since: Jakarta Persistence (JPA) 1 .0 ... . Defaults to DiscriminatorType.STRING . Default: STRING Since: Jakarta Persistence (JPA) 1 .0 String

jakarta.persistence.EntityNotFoundException

) Since: Jakarta Persistence (JPA) 1 .0 Public Constructors EntityNotFoundException () Constructs a new EntityNotFoundException exception with null as its detail message. Since: Jakarta Persistence (JPA) 1 ... with null as its detail message. Since: Jakarta Persistence (JPA) 1 .0 EntityNotFoundException ( String

jakarta.persistence.EntityExistsException

. See Also: EntityManager.persist(Object) Since: Jakarta Persistence (JPA) 1 .0 Public Constructors ... . Since: Jakarta Persistence (JPA) 1 .0 EntityExistsException ( String message ) Constructs a new ... - the detail message. Since: Jakarta Persistence (JPA) 1 .0 EntityExistsException ( String message , Throwable cause

jakarta.persistence.Index

CollectionTable JoinTable TableGenerator Since: Jakarta Persistence (JPA) 2. 1 Annotation Elements String ... : "" Since: Jakarta Persistence (JPA) 1 .0 String columnList (Required) The columns included in the index, in order, following the BNF rule column_list given above. Since: Jakarta Persistence (JPA) 1 .0 boolean unique

jakarta.persistence.ForeignKey

AssociationOverride Since: Jakarta Persistence (JPA) 2. 1 Annotation Elements String name (Optional ... : "" Since: Jakarta Persistence (JPA) 1 .0 ConstraintMode value (Optional) Used to specify whether a foreign key ... generation of a constraint. Default: CONSTRAINT Since: Jakarta Persistence (JPA) 1 .0 String

jakarta.persistence.GeneratedValue

primary keys is not supported. Example 1 : @Id @GeneratedValue(strategy = SEQUENCE, generator = "CUST_SEQ ... TableGenerator SequenceGenerator Since: Jakarta Persistence (JPA) 1 .0 The Auto Generated Values ... entity primary key. Default: AUTO Since: Jakarta Persistence (JPA) 1 .0 String generator (Optional

jakarta.persistence.InheritanceType

Since: Jakarta Persistence (JPA) 1 .0 Enum Constants JOINED A table for each abstract or concrete entity class ... rows. A join is used to retrieve the state of such entities. Since: Jakarta Persistence (JPA) 1 .0 ... (JPA) 1 .0 TABLE_PER_CLASS A table for each concrete entity class. Each concrete class in

jakarta.persistence.NamedAttributeNode

. See Also: NamedEntityGraph NamedSubgraph Since: Jakarta Persistence (JPA) 2. 1 Annotation Elements String value ... ) 1 .0 String subgraph (Optional) If the attribute references a managed type ... this name. Default: "" Since: Jakarta Persistence (JPA) 1 .0 String keySubgraph (Optional

jakarta.persistence.ConstraintMode

Used to control the application of a constraint. Since: Jakarta Persistence (JPA) 2. 1 Enum Constants CONSTRAINT Apply the constraint. Since: Jakarta Persistence (JPA) 1 .0 NO_CONSTRAINT Do not apply the constraint. Since: Jakarta Persistence (JPA) 1 .0 PROVIDER_DEFAULT Use the provider-defined

jakarta.persistence.DiscriminatorType

.discriminatorType Since: Jakarta Persistence (JPA) 1 .0 Enum Constants CHAR Single character as the discriminator type. Since: Jakarta Persistence (JPA) 1 .0 INTEGER Integer as the discriminator type. Since: Jakarta Persistence (JPA) 1 .0 STRING String as the discriminator type. Since: Jakarta Persistence (JPA

jakarta.persistence.EntityResult

NamedNativeQuery Since: Jakarta Persistence (JPA) 1 .0 Annotation Elements Class entityClass The class of the result. Since: Jakarta Persistence (JPA) 1 .0 LockModeType lockMode The lock mode obtained ... of the entity class. Default: {} Since: Jakarta Persistence (JPA) 1 .0 String discriminatorColumn

jakarta.persistence.PersistenceUnitUtil

is found not to be an entity. Since: Jakarta Persistence (JPA) 1 .0 Object getVersion ( Object entity ... Persistence (JPA) 1 .0 boolean isLoaded ( E entity , Attribute attribute ) Determine the load state of a given ... : false if the entity has not been loaded, else true. Since: Jakarta Persistence (JPA) 1 .0 void load

jakarta.persistence.FlushModeType

.setFlushMode(FlushModeType) Query.setFlushMode(FlushModeType) Since: Jakarta Persistence (JPA) 1 .0 Enum Constants AUTO (Default) Flushing to occur at query execution. Since: Jakarta Persistence (JPA) 1 .0 ... required to. Since: Jakarta Persistence (JPA) 1 .0 Synthetic Public Static Methods: values(), valueOf(String

jakarta.persistence.LockModeType

for rollback). Since: Jakarta Persistence (JPA) 1 .0 Enum Constants NONE No lock. Since: Jakarta Persistence ... for new applications. Since: Jakarta Persistence (JPA) 1 .0 WRITE Synonymous with OPTIMISTIC_FORCE ... (JPA) 1 .0 Synthetic Public Static Methods: values(), valueOf(String) Additional JDK methods inherited

jakarta.persistence.JoinColumns

Persistence (JPA) 1 .0 Annotation Elements JoinColumn[] value The join columns that map the relationship. Since: Jakarta Persistence (JPA) 1 .0 ForeignKey foreignKey (Optional) Used to specify or control ... Persistence (JPA) 2. 1 Additional JDK methods inherited from java.lang.annotation.Annotation java.lang

jakarta.persistence.MapKey

used when MapKey is specified and vice versa. Example 1 : @Entity public class Department ... ) 1 .0 Annotation Elements String name (Optional) The name of the persistent field or property ... : "" Since: Jakarta Persistence (JPA) 1 .0 Additional JDK methods inherited from java.lang.annotation

jakarta.persistence.ConstructorResult

NamedNativeQuery ColumnResult Since: Jakarta Persistence (JPA) 2. 1 Annotation Elements Class targetClass (Required) The class whose constructor is to be invoked. Since: Jakarta Persistence (JPA) 1 .0 ... of the intended constructor, in order. Since: Jakarta Persistence (JPA) 1 .0 Additional JDK methods inherited

jakarta.persistence.ColumnResult

NamedNativeQuery ConstructorResult Since: Jakarta Persistence (JPA) 1 .0 Annotation Elements String ... (JPA) 1 .0 Class type (Optional) The Java type to which the column type is to be mapped. If the type ... Since: Jakarta Persistence (JPA) 2. 1 Additional JDK methods inherited from java.lang.annotation

jakarta.persistence.FetchType

ManyToMany OneToMany ManyToOne OneToOne Since: Jakarta Persistence (JPA) 1 .0 Enum Constants EAGER Data must be eagerly fetched. Since: Jakarta Persistence (JPA) 1 .0 LAZY Data may be lazily fetched. Since: Jakarta Persistence (JPA) 1 .0 Synthetic Public Static Methods: values(), valueOf(String) Additional

jakarta.persistence.FieldResult

") }) }) See Also: EntityResult SqlResultSetMapping Since: Jakarta Persistence (JPA) 1 .0 Annotation Elements String name Name of the persistent field or property of the class. Since: Jakarta Persistence (JPA) 1 .0 String ... Persistence (JPA) 1 .0 Additional JDK methods inherited from java.lang.annotation.Annotation java.lang

jakarta.persistence.EnumType

EnumeratedValue Since: Jakarta Persistence (JPA) 1 .0 The JPA Persistable Types article explains ... () member. Since: Jakarta Persistence (JPA) 1 .0 STRING Persist enumerated type property or field as ... () member. Since: Jakarta Persistence (JPA) 1 .0 Synthetic Public Static Methods: values(), valueOf

jakarta.persistence.PersistenceUnitTransactionType

Transaction management via JTA. Since: Jakarta Persistence (JPA) 1 .0 RESOURCE_LOCAL Resource-local transaction management. Since: Jakarta Persistence (JPA) 1 .0 Synthetic Public Static Methods: values

jakarta.persistence.PersistenceUtil

Persistence (JPA) 1 .0 boolean isLoaded ( Object entity ) Determine the load state of an entity ... : false if the entity has not been loaded, else true. Since: Jakarta Persistence (JPA) 1 .0

Report Generation with BIRT and JPA

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

Eclipse/JPA Spring MVC Web Tutorial

.6. 1 but it should work with other Eclipse versions as well (dialog boxes and menus might look