ObjectDB Database Search

101-150 of 200 results

Glassfish 3.1.2.1 and ObjectDB 2.4.3

Support OK, I run the NetBeans/JPA Java EE 6 Guestbook with following url: http://localhost:8080 ... - The requested resource () is not available. I tried it on Glassfish server 3.1. 2 and 3.1. 2 . 2 . Sometimes I ... INFO: Running GlassFish Version: GlassFish Server Open Source Edition 3.1. 2 (build 23) INFO: Grizzly

Failure after ObjectDB 2.4.5_07 upgrade from 2.4.4_06

After upgrading we see the following exception: at java .lang.Thread.run(Thread. java :662) Caused by: com.objectdb.o.InternalException at com.objectdb.o.BYR.s(BYR. java :113) at com.objectdb.o.BYR.A(BYR. java :206) at com.objectdb.o.SIT.m(SIT. java :108) at com.objectdb.o.TYR.readSInt32Value(TYR. java :824

jakarta.persistence.criteria.LocalDateField

Jakarta Persistence (JPA) Class jakarta.persistence.criteria.LocalDateField java .lang.Object ... which can be extracted from a LocalDate . Since: Jakarta Persistence (JPA) 3. 2 Public Static Fields DAY The calendar ... Methods String toString () Overrides Object. java .lang.Object/toString() Since: Jakarta Persistence (JPA

jakarta.persistence.criteria.LocalTimeField

Jakarta Persistence (JPA) Class jakarta.persistence.criteria.LocalTimeField java .lang.Object ... which can be extracted from a LocalTime . Since: Jakarta Persistence (JPA) 3. 2 Public Static Fields HOUR The hour ... Since: Jakarta Persistence (JPA) 1.0 Public Instance Methods String toString () Overrides Object. java .lang

jakarta.persistence.criteria.LocalDateTimeField

Jakarta Persistence (JPA) Class jakarta.persistence.criteria.LocalDateTimeField java .lang.Object ... which can be extracted from a LocalDateTime . Since: Jakarta Persistence (JPA) 3. 2 Public Static Fields DATE ... Methods String toString () Overrides Object. java .lang.Object/toString() Since: Jakarta Persistence

jakarta.persistence.Timeout

Jakarta Persistence (JPA) Class jakarta.persistence.Timeout java .lang.Object ∟ jakarta.persistence ... Persistence (JPA) 3. 2 Public Static Methods Timeout milliseconds ( int milliseconds ) Specify ... Persistence (JPA) 1.0 Additional JDK methods inherited from java .lang.Object java .lang.Object/clone

jakarta.persistence.criteria.PluralJoin

query construction. Since: Jakarta Persistence (JPA) 2 .0 Public Instance Methods Selection alias ... Persistence (JPA) 3. 2 Predicate equalTo ( Expression value ) Create a predicate to test ... to be tested against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3. 2

jakarta.persistence.criteria.Join

Persistence (JPA) 2 .0 The FROM clause (JPQL / Criteria API) article explains how to use Join . Public ... of the given basic type. Since: Jakarta Persistence (JPA) 3. 2 Predicate equalTo ( Expression value ) Create ... . Since: Jakarta Persistence (JPA) 3. 2 Predicate equalTo ( Object value ) Create a predicate to test

objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active'

.sun.enterprise.v3.admin.CommandRunnerImpl$ 2 $1.run(CommandRunnerImpl. java :539) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ 2 $1.run(CommandRunnerImpl. java :535) at java .security.AccessController ... .v3.admin.CommandRunnerImpl$ 2 .execute(CommandRunnerImpl. java :534) at com.sun.enterprise.v3.admin

com.objectdb.o.InternalException: java.lang.ArrayIndexOutOfBoundsException: 2

com.objectdb.o.InternalException: java .lang.ArrayIndexOutOfBoundsException: 2 java .lang.ArrayIndexOutOfBoundsException: 2 at com.objectdb.o.UTY.aG(UTY. java :1275) at com.objectdb.o.ENH.b(ENH. java :102) at com.objectdb.o.LDR.J(LDR. java :796) at com.objectdb.o.LDR.UW(LDR. java :1023) at com.objectdb.o

jakarta.persistence.JoinTable

(ConstraintMode.PROVIDER_DEFAULT) Since: Jakarta Persistence (JPA) 2 .1 ForeignKey inverseForeignKey ... ) Since: Jakarta Persistence (JPA) 2 .1 UniqueConstraint[] uniqueConstraints (Optional) Unique ... : {} Since: Jakarta Persistence (JPA) 2 .1 CheckConstraint[] check (Optional) Check constraints to be applied

jakarta.persistence.Column

. Default: "" Since: Jakarta Persistence (JPA) 3. 2 Additional JDK methods inherited from java .lang ... ; } Example 2 : @Column(name = "DESC", columnDefinition = "CLOB NOT NULL", table = "EMP_DETAIL") @Lob ... = false, precision = 12, scale = 2 ) public BigDecimal getCost() { return cost; } Portable

jakarta.persistence.SecondaryTable

Persistence (JPA) 3. 2 Additional JDK methods inherited from java .lang.annotation.Annotation java .lang ... { ... } Example 2 : Single secondary table with multiple primary key columns. @Entity @Table(name ... provider. Default: @ForeignKey(ConstraintMode.PROVIDER_DEFAULT) Since: Jakarta Persistence (JPA) 2 .1

jakarta.persistence.metamodel.IdentifiableType

Persistence (JPA) 2 .0 Public Instance Methods Attribute getAttribute ( String name ) Return the attribute ... of the managed type that corresponds to the specified name and Java element type. Inherited from ... and Java element type. Inherited from ManagedType Parameters: name - the name of the represented

jakarta.persistence.metamodel.ManagedType

, mapped superclass, and embeddable types. Since: Jakarta Persistence (JPA) 2 .0 Public Instance Methods ... of the managed type that corresponds to the specified name and Java element type. Parameters: name ... and Java element type. Parameters: name - the name of the represented attribute elementType - the element

jakarta.persistence.metamodel.EmbeddableType

of EmbeddableType represents an embeddable type. Since: Jakarta Persistence (JPA) 2 .0 Public Instance Methods ... to the specified name and Java element type. Inherited from ManagedType Parameters: name - the name ... the managed type that corresponds to the specified name and Java element type. Inherited from

jakarta.persistence.metamodel.MappedSuperclassType

Persistence (JPA) 2 .0 Public Instance Methods Attribute getAttribute ( String name ) Return ... attribute of the managed type that corresponds to the specified name and Java element type. Inherited from ... name and Java element type. Inherited from ManagedType Parameters: name - the name

JPA Attributes Annotations

to perform optimistic locking checks. Enum mapping Configure how Java enumerated types are persisted and used ... and calendar types to specific SQL temporal formats (modern java .time types are mapped automatically): Specifies the database SQL type for a persistent field or property of type java .util.Date or java .util

JPA Criteria Query Date/Time Extraction

(such as  java .time.LocalDate , and  java .sql.Date ), including YEAR , MONTH , DAY , DAY_OF_WEEK , and DAY_OF_YEAR . Defines the component types of Time values (such as java .time.LocalTime , and  java .sql.Time ), including HOUR , MINUTE , and SECOND . Defines component types applicable

jakarta.persistence.MapKeyTemporal

the date/time types defined in java .time . Since: Jakarta Persistence (JPA) 2 .0 Annotation Elements ... of type java .util.Date and java .util.Calendar . It may only be specified for map keys of these types. The MapKeyTemporal annotation can be applied to an element collection or relationship of type java .util

jakarta.persistence.metamodel.MapAttribute

of the type MapAttribute represent persistent java .util.Map -valued attributes. Since: Jakarta Persistence (JPA) 2 .0 Public Instance Methods Class getBindableJavaType () Return the Java type of the represented object. If the bindable type of the object is PLURAL_ATTRIBUTE , the Java element type

jakarta.persistence.criteria.Root

Persistence (JPA) 2 .0 The FROM clause (JPQL / Criteria API) article explains how to use Root ... of the given basic type. Since: Jakarta Persistence (JPA) 3. 2 Predicate equalTo ( Expression value ... . Since: Jakarta Persistence (JPA) 3. 2 Predicate equalTo ( Object value ) Create a predicate to test

jakarta.persistence.criteria.From

to the type. Since: Jakarta Persistence (JPA) 2 .0 Public Instance Methods Selection alias ( String name ... ) 3. 2 Predicate equalTo ( Expression value ) Create a predicate to test whether the expression ... against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3. 2 Predicate equalTo

jakarta.persistence.criteria.ParameterExpression

, TupleElement Type of criteria query parameter expressions. Since: Jakarta Persistence (JPA) 2 .0 Public ... of the given basic type. Since: Jakarta Persistence (JPA) 3. 2 Predicate equalTo ( Expression value ... . Since: Jakarta Persistence (JPA) 3. 2 Predicate equalTo ( Object value ) Create a predicate to test

jakarta.persistence.OneToMany

field or property of the entity that is the owner of the relationship. When the collection is a java ... _ID", nullable = false) public Customer getCustomer() { return customer; } Example 2 : One-to-Many ... . Optional only if the collection property is defined using Java generics. Must be specified

jakarta.persistence.criteria.Subquery

. A subquery has an expression as its selection item. Since: Jakarta Persistence (JPA) 2 .0 Public ... of the given basic type. Since: Jakarta Persistence (JPA) 3. 2 Root correlate ( Root parentRoot ) Create ... for equality. Since: Jakarta Persistence (JPA) 3. 2 Predicate equalTo ( Object value ) Create

jakarta.persistence.JoinColumn

. Default: "" Since: Jakarta Persistence (JPA) 3. 2 Additional JDK methods inherited from java .lang ... : "" Since: Jakarta Persistence (JPA) 3. 2 String table (Optional) The name of the table that contains ... the persistence provider. Default: @ForeignKey(PROVIDER_DEFAULT) Since: Jakarta Persistence (JPA) 2 .1

jakarta.persistence.MapKeyJoinColumn

") Map organization; } Example 2 : @Entity public class VideoStore { @Id int id; String name; Address ... ; ... } See Also: ForeignKey Since: Jakarta Persistence (JPA) 2 .0 Annotation Elements String name ... . Default: "" Since: Jakarta Persistence (JPA) 3. 2 String table (Optional) The name of the table

jakarta.persistence.CollectionTable

effect. Default: "" Since: Jakarta Persistence (JPA) 3. 2 Additional JDK methods inherited from java .lang ... AttributeOverride AssociationOverride Column Since: Jakarta Persistence (JPA) 2 .0 Annotation Elements ... . Default: @ForeignKey(ConstraintMode.PROVIDER_DEFAULT) Since: Jakarta Persistence (JPA) 2 .1

jakarta.persistence.Table

(JPA) 3. 2 Additional JDK methods inherited from java .lang.annotation.Annotation java .lang.annotation ... . Default: {} Since: Jakarta Persistence (JPA) 2 .1 CheckConstraint[] check (Optional) Check ... : {} Since: Jakarta Persistence (JPA) 3. 2 String comment (Optional) A comment to be applied to the table

jakarta.persistence.MapKeyClass

: Annotation Target: Method, Field Specifies the type of the map key for associations of type java ... using Java generics, the MapKeyClass annotation and associated type need not be specified ... images; // map from image name to image filename ... } Example 2 : // MapKeyClass and target type

jakarta.persistence.Convert

may be applied to: a basic attribute, or a collection attribute of any type other than java .util.Map , in ... collection attribute, that is, a collection attribute of type java .util.Map , in which case ... ) boolean fullTime; ... } Example 2 : Auto-apply conversion of a basic attribute @Converter(autoApply

jakarta.persistence.Embeddable

must: be a non- abstract , non- final top-level class or static inner class, or a Java record type ... . The Transient annotation or the Java transient keyword must be used to explicitly declare any field ... EmploymentPeriod { @Temporal(DATE) java .util.Date startDate; @Temporal(DATE) java .util.Date endDate

jakarta.persistence.metamodel.ListAttribute

java .util.List -valued attributes. Since: Jakarta Persistence (JPA) 2 .0 Public Instance Methods Class getBindableJavaType () Return the Java type of the represented object. If the bindable type of the object is PLURAL_ATTRIBUTE , the Java element type is returned. If the bindable type is SINGULAR

jakarta.persistence.metamodel.CollectionAttribute

CollectionAttribute represent persistent java .util.Collection -valued attributes. Since: Jakarta Persistence (JPA) 2 .0 Public Instance Methods Class getBindableJavaType () Return the Java type of the represented object. If the bindable type of the object is PLURAL_ATTRIBUTE , the Java element type is returned

jakarta.persistence.metamodel.SetAttribute

: PluralAttribute , Attribute , Bindable Instances of the type SetAttribute represent persistent java .util.Set -valued attributes. Since: Jakarta Persistence (JPA) 2 .0 Public Instance Methods Class getBindableJavaType () Return the Java type of the represented object. If the bindable type

What are the system requirements for using ObjectDB?

ObjectDB requires Java 8 or later. As a pure Java application, ObjectDB should be able to run on any platform that supports the Java Standard Edition. Either the Java Development Kit (JDK) or the Java Runtime Environment (JRE) can be used. A version of ObjectDB for .NET is currently under development.

JPA Metamodel API

about managed classes, persistent fields, and properties, similar to how Java reflection provides this capability for general Java types. The Metamodel interface The main interface of the JPA Metamodel ... is a thin wrapper for Class and provides only two methods: // Get the underlying Java representation of the type

Regression bug in using version 2.4.5 with GlassFish 3.1.2

.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=44;_ThreadName=Thread- 2 ;| java .lang ... . java :513) at java .lang.Thread.run(Thread. java :722) lucobjdb Luc Thank you for this report. Build 2 .4.5_03 should fix this new problem. support Support ... Can't deploy objectDB ver 2 .4.5 or later using GlassFish 3.1. 2 , NetBeans 7. 2 .1 Win 7 & 8. ObjectDB

jakarta.persistence.AssociationOverride

{ ... } Example 2 : Overriding the mapping for phoneNumbers defined in the ContactInfo class @Entity public class ... (JPA) 2 .1 JoinTable joinTable The join table that maps the relationship. The joinTable element ... of the relationship. Default: @JoinTable Since: Jakarta Persistence (JPA) 2 .0 Additional JDK methods inherited

jakarta.persistence.SequenceGenerator

: "" Since: Jakarta Persistence (JPA) 2 .0 String schema (Optional) The schema of the sequence generator. Default: "" Since: Jakarta Persistence (JPA) 2 .0 int initialValue (Optional) The value from which the sequence ... to the generated DDL statement which creates this sequence. Default: "" Since: Jakarta Persistence (JPA) 3. 2

jakarta.persistence.TableGenerator

. 2 Additional JDK methods inherited from java .lang.annotation.Annotation java .lang.annotation ... ", allocationSize = 1) @Id @GeneratedValue(strategy = TABLE, generator = "empGen") int id; ... } Example 2 ... . Default: {} Since: Jakarta Persistence (JPA) 2 .1 String options (Optional) A SQL fragment appended

jakarta.persistence.NamedNativeQuery

: {} Since: Jakarta Persistence (JPA) 3. 2 ConstructorResult[] classes Specifies the result set mapping to constructors ... ) 3. 2 ColumnResult[] columns Specifies the result set mapping to scalar values. May not be used in combination with resultSetMapping . Default: {} Since: Jakarta Persistence (JPA) 3. 2 Additional JDK

jakarta.persistence.metamodel.SingularAttribute

-valued properties or fields. Since: Jakarta Persistence (JPA) 2 .0 Public Instance Methods Class getBindableJavaType () Return the Java type of the represented object. If the bindable type of the object is PLURAL_ATTRIBUTE , the Java element type is returned. If the bindable type is SINGULAR_ATTRIBUTE

jakarta.persistence.metamodel.PluralAttribute

) 2 .0 Public Instance Methods Class getBindableJavaType () Return the Java type of the represented object. If the bindable type of the object is PLURAL_ATTRIBUTE , the Java element type is returned. If the bindable type is SINGULAR_ATTRIBUTE or ENTITY_TYPE , the Java type of the represented entity or

ObjectDB 2.7.2_x Doctor Yields "Index Requires Rebuild" Always

Take a .odb created with ObjectDB 2 .7. 2 or later OR EARLIER.  Run ObjectDB 2 .7. 2 Doctor on it.  See indexing errors reported. Run ObjectDB 2 .7.1 on same .odb and you will not see indexing errors. Run ObjectDB 2 .7. 2 (or later or earlier) Doctor with repair and create repaired.odb. 

jakarta.persistence.criteria.Path

. Since: Jakarta Persistence (JPA) 2 .0 The Paths and Types in JPQL and Criteria API article explains ... expression of the given basic type. Since: Jakarta Persistence (JPA) 3. 2 Predicate equalTo ... for equality. Since: Jakarta Persistence (JPA) 3. 2 Predicate equalTo ( Object value ) Create a predicate

jakarta.persistence.criteria.Predicate

. Since: Jakarta Persistence (JPA) 2 .0 The Logical Operators in JPQL and Criteria API article explains ... Returns: a scalar expression of the given basic type. Since: Jakarta Persistence (JPA) 3. 2 Predicate ... testing for equality. Since: Jakarta Persistence (JPA) 3. 2 Predicate equalTo ( Object value ) Create

jakarta.persistence.criteria.Expression

. Since: Jakarta Persistence (JPA) 2 .0 The JPA Query Expressions (JPQL / Criteria) article explains ... (JPA) 3. 2 Predicate equalTo ( Expression value ) Create a predicate to test whether the expression ... for equality. Since: Jakarta Persistence (JPA) 3. 2 Predicate equalTo ( Object value ) Create

JPA Tutorials

Tutorial Only basic Java experience is required in order to follow this tutorial. Web Application ... Java , including Servlets, JSP and HTML. The first tutorial demonstrates a simple JPA web application ... WebLogic). The next tutorial shows how to use JPA in a full Model-View-Controller (MVC) Java EE 6 web