ObjectDB Database Search

51-100 of 200 results

version 2.8.9_06 significantly slower for queries compared to 2.8.9

.objectdb.com/forum/2845 for queries we are using hgzpincher Hans-Georg Zwicker Version 2 .8.9_01 ... in version 2 .8.9_02 but maybe there is another relevant query performance regression that has not been fixed. Changes in versions 2 .8.9_03 - 2 .8.9_06 are not expected to affect queries. An attempt

GlassFish 3.1.2.2/JBoss 7.1.1

there are also issues with GlassFish 3.1. 2 (GlassFish 3.1.1 may work better with ObjectDB ... 2 .4.3 can be used with JBoss AS 7.1.1. As discussed in this forum thread - you will have to: Add ... ;directory). Add to the persistence.xml file a request to load the ObjectDB module. Build 2 .4.3 fixes

jakarta.persistence.PersistenceUtil

(JPA) 2 .0 Public Instance Methods boolean isLoaded ( Object entity , String attributeName ... Persistence (JPA) 1.0 boolean isLoaded ( Object entity ) Determine the load state of an entity

jakarta.persistence.ManyToOne

since it can usually be inferred from the type of the object being referenced. If the relationship ... getCustomer() { return customer; } Example 2 : @Entity public class Employee { @Id int id; @Embedded JobInfo ... .annotation.Annotation/equals( Object ), java.lang.annotation.Annotation/hashCode(), java.lang.annotation.Annotation/toString()

jakarta.persistence.ConstructorResult

is retrieved for the constructed object . Example: Query q = em.createNativeQuery( "SELECT c.id, c.name ... NamedNativeQuery ColumnResult Since: Jakarta Persistence (JPA) 2 .1 Annotation Elements Class ... .annotation.Annotation/equals( Object ), java.lang.annotation.Annotation/hashCode(), java.lang.annotation.Annotation/toString()

jakarta.persistence.Converter

and must be annotated with the Converter annotation or declared as a converter in the object /relational ... . See Also: AttributeConverter Convert Since: Jakarta Persistence (JPA) 2 .1 Annotation Elements boolean autoApply ... .Annotation/equals( Object ), java.lang.annotation.Annotation/hashCode(), java.lang.annotation.Annotation/toString()

jakarta.persistence.DiscriminatorColumn

DiscriminatorType discriminatorType (Optional) The type of object /column to use as a class discriminator ... with columnDefinition . Default: "" Since: Jakarta Persistence (JPA) 3. 2 int length (Optional) The column length ... .lang.annotation.Annotation/annotationType(), java.lang.annotation.Annotation/equals( Object ), java.lang

jakarta.persistence.EntityResult

should select all the columns that are mapped to the entity object . This should include foreign key ... by the SQL query. Default: LockModeType.OPTIMISTIC Since: Jakarta Persistence (JPA) 3. 2 FieldResult ... .annotation.Annotation/equals( Object ), java.lang.annotation.Annotation/hashCode(), java.lang.annotation.Annotation/toString()

jakarta.persistence.FindOption

Timeout EntityManager.find(Class, Object , FindOption...) EntityManager.find(EntityGraph, Object , FindOption...) Since: Jakarta Persistence (JPA) 3. 2

jakarta.persistence.Index

CollectionTable JoinTable TableGenerator Since: Jakarta Persistence (JPA) 2 .1 Annotation Elements String ... : "" Since: Jakarta Persistence (JPA) 3. 2 Additional JDK methods inherited from java.lang.annotation ... ( Object ), java.lang.annotation.Annotation/hashCode(), java.lang.annotation.Annotation/toString()

jakarta.persistence.ForeignKey

AssociationOverride Since: Jakarta Persistence (JPA) 2 .1 Annotation Elements String name (Optional ... Persistence (JPA) 3. 2 Additional JDK methods inherited from java.lang.annotation.Annotation java.lang.annotation.Annotation/annotationType(), java.lang.annotation.Annotation/equals( Object ), java.lang

jakarta.persistence.MapKeyColumn

to filename ... } Since: Jakarta Persistence (JPA) 2 .0 Annotation Elements String name (Optional ... . May not be used in conjunction with columnDefinition . Default: "" Since: Jakarta Persistence (JPA) 3. 2 ... .annotation.Annotation/annotationType(), java.lang.annotation.Annotation/equals( Object ), java.lang

jakarta.persistence.MapKeyClass

images; // map from image name to image filename ... } Example 2 : // MapKeyClass and target type ... Persistence (JPA) 2 .0 Annotation Elements Class value (Required) The type of the map key ... java.lang.annotation.Annotation/annotationType(), java.lang.annotation.Annotation/equals( Object ), java

jakarta.persistence.MapKeyJoinColumns

(JPA) 2 .0 Annotation Elements MapKeyJoinColumn[] value (Required) The map key join columns ... : @ForeignKey(PROVIDER_DEFAULT) Since: Jakarta Persistence (JPA) 2 .1 Additional JDK methods inherited ... .annotation.Annotation/equals( Object ), java.lang.annotation.Annotation/hashCode(), java.lang.annotation.Annotation/toString()

jakarta.persistence.Convert

) boolean fullTime; ... } Example 2 : Auto-apply conversion of a basic attribute @Converter(autoApply ... GenericEmployee { ... } See Also: Converter Converts Basic Since: Jakarta Persistence (JPA) 2 .1 Annotation ... .annotation.Annotation/equals( Object ), java.lang.annotation.Annotation/hashCode(), java.lang.annotation.Annotation/toString()

jakarta.persistence.EntityNotFoundException

Jakarta Persistence (JPA) Class jakarta.persistence.EntityNotFoundException java.lang. Object ... is accessed but the entity does not exist. Thrown when EntityManager.refresh is called and the object ... .getReference(Class, Object ) EntityManager.refresh( Object ) EntityManager.refresh( Object , LockModeType

jakarta.persistence.FlushModeType

Jakarta Persistence (JPA) Enum jakarta.persistence.FlushModeType java.lang. Object ∟ java.lang.Enum ... within a transaction, if AUTO is set on the Query or TypedQuery object , or if the flush mode setting ... TypedQuery object , the persistence provider is responsible for ensuring that all updates to the state

jakarta.persistence.GenerationType

Jakarta Persistence (JPA) Enum jakarta.persistence.GenerationType java.lang. Object ∟ java.lang ... /describeConstable(), java.lang.Enum/equals( Object ), java.lang.Enum/finalize(), java.lang.Enum ... .Enum/valueOf(Class,String) Additional JDK methods inherited from java.lang. Object java.lang. Object

jakarta.persistence.InheritanceType

Jakarta Persistence (JPA) Enum jakarta.persistence.InheritanceType java.lang. Object ∟ java.lang ... .Enum/compareTo(E), java.lang.Enum/describeConstable(), java.lang.Enum/equals( Object ), java.lang ... inherited from java.lang. Object java.lang. Object /clone(), java.lang. Object /equals( Object ), java.lang

jakarta.persistence.DiscriminatorType

Jakarta Persistence (JPA) Enum jakarta.persistence.DiscriminatorType java.lang. Object ∟ java.lang ... /describeConstable(), java.lang.Enum/equals( Object ), java.lang.Enum/finalize(), java.lang.Enum/getDeclaringClass ... /valueOf(Class,String) Additional JDK methods inherited from java.lang. Object java.lang. Object /clone

jakarta.persistence.FetchType

Jakarta Persistence (JPA) Enum jakarta.persistence.FetchType java.lang. Object ∟ java.lang.Enum ... .lang.Enum/describeConstable(), java.lang.Enum/equals( Object ), java.lang.Enum/finalize(), java.lang ... /toString(), java.lang.Enum/valueOf(Class,String) Additional JDK methods inherited from java.lang. Object

jakarta.persistence.EnumType

Jakarta Persistence (JPA) Enum jakarta.persistence.EnumType java.lang. Object ∟ java.lang.Enum ... /compareTo(E), java.lang.Enum/describeConstable(), java.lang.Enum/equals( Object ), java.lang.Enum ... java.lang. Object java.lang. Object /clone(), java.lang. Object /equals( Object ), java.lang. Object

jakarta.persistence.GeneratedValue

") @Column(name = "CUST_ID") public Long getId() { return id; } Example 2 : @Id @GeneratedValue ... /equals( Object ), java.lang.annotation.Annotation/hashCode(), java.lang.annotation.Annotation/toString()

jakarta.persistence.LockOption

. See Also: LockModeType PessimisticLockScope Timeout EntityManager.lock( Object , LockModeType, LockOption...) Since: Jakarta Persistence (JPA) 3. 2

jakarta.persistence.JoinColumns

Persistence (JPA) 2 .1 Additional JDK methods inherited from java.lang.annotation.Annotation java.lang.annotation.Annotation/annotationType(), java.lang.annotation.Annotation/equals( Object ), java.lang

jakarta.persistence.MapKeyEnumerated

Since: Jakarta Persistence (JPA) 2 .0 Annotation Elements EnumType value (Optional) The type used in mapping ... (), java.lang.annotation.Annotation/equals( Object ), java.lang.annotation.Annotation/hashCode(), java.lang.annotation.Annotation/toString()

jakarta.persistence.ManyToMany

2 : // In Customer class: @ManyToMany(targetEntity = com.acme.PhoneNumber.class) public Set ... .Annotation/annotationType(), java.lang.annotation.Annotation/equals( Object ), java.lang.annotation

jakarta.persistence.MapKey

= "dept_id") public Department getDepartment() { ... } ... } Example 2 : @Entity public class Department ... ( Object ), java.lang.annotation.Annotation/hashCode(), java.lang.annotation.Annotation/toString()

jakarta.persistence.NamedEntityGraph

, and may be passed to EntityManager.find . Since: Jakarta Persistence (JPA) 2 .1 Annotation Elements String ... .Annotation/annotationType(), java.lang.annotation.Annotation/equals( Object ), java.lang.annotation

jakarta.persistence.NamedAttributeNode

. See Also: NamedEntityGraph NamedSubgraph Since: Jakarta Persistence (JPA) 2 .1 Annotation Elements String value ... /annotationType(), java.lang.annotation.Annotation/equals( Object ), java.lang.annotation.Annotation/hashCode(), java.lang.annotation.Annotation/toString()

jakarta.persistence.NamedEntityGraphs

Since: Jakarta Persistence (JPA) 2 .1 Annotation Elements NamedEntityGraph[] value Since: Jakarta ... .annotation.Annotation/annotationType(), java.lang.annotation.Annotation/equals( Object ), java.lang

jakarta.persistence.MapKeyTemporal

the date/time types defined in java.time . Since: Jakarta Persistence (JPA) 2 .0 Annotation Elements ... .lang.annotation.Annotation/annotationType(), java.lang.annotation.Annotation/equals( Object ), java

jakarta.persistence.MapsId

is derived from the referenced parent entity. Since: Jakarta Persistence (JPA) 2 .0 Annotation Elements String ... /equals( Object ), java.lang.annotation.Annotation/hashCode(), java.lang.annotation.Annotation/toString()

jakarta.persistence.Converts

be applied to the same basic attribute. See Also: Convert Since: Jakarta Persistence (JPA) 2 .1 ... .annotation.Annotation/annotationType(), java.lang.annotation.Annotation/equals( Object ), java.lang

jakarta.persistence.ColumnResult

Since: Jakarta Persistence (JPA) 2 .1 Additional JDK methods inherited from java.lang.annotation.Annotation java.lang.annotation.Annotation/annotationType(), java.lang.annotation.Annotation/equals( Object

jakarta.persistence.Embeddable

; ... } Example 2 : @Embeddable public class PhoneNumber { protected String areaCode; protected String ... /annotationType(), java.lang.annotation.Annotation/equals( Object ), java.lang.annotation.Annotation/hashCode(), java.lang.annotation.Annotation/toString()

jakarta.persistence.EmbeddedId

empName, Date birthDay) {} Example 2 : @Embeddable public class DependentId { String name ... .Annotation/annotationType(), java.lang.annotation.Annotation/equals( Object ), java.lang.annotation

jakarta.persistence.ElementCollection

nickNames = new HashSet(); ... } See Also: CollectionTable Since: Jakarta Persistence (JPA) 2 .0 Annotation ... .lang.annotation.Annotation/equals( Object ), java.lang.annotation.Annotation/hashCode(), java.lang.annotation.Annotation/toString()

jakarta.persistence.EnumeratedValue

(JPA) 3. 2 Annotation Elements This is a marker annotation with no members/elements. Additional JDK ... (), java.lang.annotation.Annotation/equals( Object ), java.lang.annotation.Annotation/hashCode(), java.lang.annotation.Annotation/toString()

jakarta.persistence.EntityExistsException

Jakarta Persistence (JPA) Class jakarta.persistence.EntityExistsException java.lang. Object ∟ java ... . See Also: EntityManager.persist( Object ) Since: Jakarta Persistence (JPA) 1.0 Public Constructors ... methods inherited from java.lang. Object java.lang. Object /clone(), java.lang. Object /equals( Object

jakarta.persistence.criteria.CriteriaBuilder.treat(SetJoin,Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder SetJoin treat (    SetJoin join ,    Class type ) Downcast SetJoin object to the specified type. Parameters: join - SetJoin object type - type to be downcast to Returns: SetJoin object of the specified type. Since: Jakarta Persistence (JPA) 2 .1

jakarta.persistence.criteria.CriteriaBuilder.treat(ListJoin,Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder ListJoin treat (    ListJoin join ,    Class type ) Downcast ListJoin object to the specified type. Parameters: join - ListJoin object type - type to be downcast to Returns: ListJoin object of the specified type. Since: Jakarta Persistence (JPA) 2 .1

jakarta.persistence.criteria.CriteriaBuilder.treat(MapJoin,Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder MapJoin treat (    MapJoin join ,    Class type ) Downcast MapJoin object to the specified type. Parameters: join - MapJoin object type - type to be downcast to Returns: MapJoin object of the specified type. Since: Jakarta Persistence (JPA) 2 .1

new objects not available in mappedBy associations

; creating a new mapped class, e.g. new Employee, won't result in this object being available in the same transaction: ie: for (Employee e : department.employee) won't include the new object ... automatically when the object is retrieved from the database again. Try to refresh the department

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.treat(Path,Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Path treat (    Path path ,    Class type ) Downcast Path object to the specified type. Parameters: path - path type - type to be downcast to Returns: Path object of the specified type. Since: Jakarta Persistence (JPA) 2 .1

jakarta.persistence.criteria.CriteriaBuilder.treat(Root,Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Root treat (    Root root ,    Class type ) Downcast Root object to the specified type. Parameters: type - type to be downcast to root - root Returns: Root object of the specified type. Since: Jakarta Persistence (JPA) 2 .1

jakarta.persistence.criteria.CollectionJoin.on(Expression)

to the specified ON condition and return the join object . Replaces the previous ON condition, if any. Parameters: restriction - a simple or compound boolean expression Returns: the modified join object . Since: Jakarta Persistence (JPA) 2 .1

Report Generation with BIRT and JPA

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

Step 4: Run the Application

1,000 objects . You can view the content of the database file by opening it in the ObjectDB Explorer