ObjectDB Database Search

51-100 of 200 results

How to define Default Entity Listeners without persistence.xml and orm.xml

when my objects are persisted , without using XML , and without defining listeners for each classe ... I am using JPA programaticaly..ie without xml file, and i would like to define Default Entity ... . persistence .provider", "com.objectdb.jpa.Provider"); config.put("javax. persistence .jdbc.url", "objectdb

PersistenceException UserException: Failed to validate persistence.xml

\build\web\WEB-INF\classes\META-INF\ persistence . xml : at com.objectdb.o._PersistenceException.b ... .UserException: Failed to validate xml file C:\!heatboxes-web\build\web\WEB-INF\classes\META-INF\ persistence ... .java:200) ... 88 more I tried with and without this persistence . xml My Persistence Unit com

Externalising persistence.xml properties in Glassfish?

Hi,   I've run into a little bit of a wall with regards to persistence . xml and externalising ... on JNDI lookups). I am using Glassfish. Basically, what I am trying to get at: E.g. persistence . xml ... the persistance . xml and that way you can externalize the persistance unit name and you can easily

Specify location of persistence.xml

Is it possible to tell objectdb explicitly where the persistence . xml is located? The background ... also a persistence . xml I exceed the number of persistable classes, as I have one subproject for each persistence technology and somhow the jpa persistence . xml is read in also resulting in more than 10

a second mapping-file is ignored in persistence.xml by enhancer

Hello Support-Team, we have a problem with the enhancer. In the persistence . xml are two mapping-files: META-INF/orm. xml META-INF/ormreq. xml We start the enhancer and the entities of orm. xml will be enhanced by following output: enhancer: [java] [ObjectDB 2.6.0_02 Enhancer] [java] 3 persistable

Jboss 6 persistence.xml startup error

out feasibility, but I keep getting stuck on setting up the persistence . xml on JBoss 6 AS. Here is my setup ... -data-source element in the persistence . xml that I managed to find. Also, when setting up a jboss ... (anything that is acceptable) and later, if necessary, edit the  persistence . xml file manually, following

JPA Configuration without persistance.xml

on a persistance . xml file being in a particular place. When using Hibernate, I was able ... Philip Clapham When using ObjectDB the persistence . xml is file optional . Just annotate the classes ... / persistence -unit#Managed_ Persistable _Classes And wasn't sure.   I appreciate the quick reply! Phil obiphil Philip Clapham

jakarta.persistence.EntityManager

Jakarta Persistence (JPA) Interface jakarta. persistence .EntityManager Super Interfaces: AutoCloseable Interface used to interact with the persistence context. An instance of EntityManager must be obtained from an EntityManagerFactory , and is only able to manage persistence of entities belonging

jakarta.persistence.Persistence.PersistenceUtilImpl

Jakarta Persistence (JPA) Class in jakarta. persistence . Persistence jakarta. persistence . Persistence .PersistenceUtilImpl java.lang.Object ∟ jakarta. persistence . Persistence .PersistenceUtilImpl Implemented Interfaces: PersistenceUtil Since: Jakarta Persistence (JPA) 1.0 Public Instance Methods boolean

jakarta.persistence.criteria.MapJoin

Jakarta Persistence (JPA) Interface jakarta. persistence .criteria.MapJoin Type Parameters ... collection that has been specified as a java.util.Map . Since: Jakarta Persistence (JPA) 2.0 Public ... Selection Parameters: name - alias Returns: selection item. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.ListJoin

Jakarta Persistence (JPA) Interface jakarta. persistence .criteria.ListJoin Type Parameters ... that has been specified as a java.util.List . Since: Jakarta Persistence (JPA) 2.0 Public Instance Methods Selection ... - alias Returns: selection item. Since: Jakarta Persistence (JPA) 1.0 Expression as ( Class type ) Perform

jakarta.persistence.criteria.PluralJoin

Jakarta Persistence (JPA) Interface jakarta. persistence .criteria.PluralJoin Type Parameters ... query construction. Since: Jakarta Persistence (JPA) 2.0 Public Instance Methods Selection alias ... Returns: selection item. Since: Jakarta Persistence (JPA) 1.0 Expression as ( Class type ) Perform

jakarta.persistence.criteria.SetJoin

Jakarta Persistence (JPA) Interface jakarta. persistence .criteria.SetJoin Type Parameters ... that has been specified as a java.util.Set . Since: Jakarta Persistence (JPA) 2.0 Public Instance Methods Selection ... Returns: selection item. Since: Jakarta Persistence (JPA) 1.0 Expression as ( Class type ) Perform

jakarta.persistence.criteria.CollectionJoin

Jakarta Persistence (JPA) Interface jakarta. persistence .criteria.CollectionJoin Type Parameters ... that has been specified as a java.util.Collection . Since: Jakarta Persistence (JPA) 2.0 Public ... Parameters: name - alias Returns: selection item. Since: Jakarta Persistence (JPA) 1.0 Expression

jakarta.persistence.criteria.Join

Jakarta Persistence (JPA) Interface jakarta. persistence .criteria.Join Type Parameters ... Persistence (JPA) 2.0 The FROM clause (JPQL / Criteria API) article explains how to use Join . Public ... Selection Parameters: name - alias Returns: selection item. Since: Jakarta Persistence (JPA) 1.0 Expression

jakarta.persistence.criteria.Root

Jakarta Persistence (JPA) Interface jakarta. persistence .criteria.Root Type Parameters ... Persistence (JPA) 2.0 The FROM clause (JPQL / Criteria API) article explains how to use Root ... Selection Parameters: name - alias Returns: selection item. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.From

Jakarta Persistence (JPA) Interface jakarta. persistence .criteria.From Type Parameters ... to the type. Since: Jakarta Persistence (JPA) 2.0 Public Instance Methods Selection alias ( String name ... . Since: Jakarta Persistence (JPA) 1.0 Expression as ( Class type ) Perform a typecast

jakarta.persistence.TypedQuery

Jakarta Persistence (JPA) Interface jakarta. persistence .TypedQuery Type Parameters: - query result ... . See Also: Query Parameter Since: Jakarta Persistence (JPA) 2.0 Chapter 4 - JPA Queries (JPQL / Criteria ... : IllegalStateException - if called for a Jakarta Persistence query language SELECT statement or for a criteria

jakarta.persistence.Query

Jakarta Persistence (JPA) Interface jakarta. persistence .Query Interface used to control query execution. See Also: TypedQuery StoredProcedureQuery Parameter Since: Jakarta Persistence (JPA) 1.0 ... . Throws: IllegalStateException - if called for a Jakarta Persistence query language SELECT

jakarta.persistence.StoredProcedureQuery

Jakarta Persistence (JPA) Interface jakarta. persistence .StoredProcedureQuery Super Interfaces ... Since: Jakarta Persistence (JPA) 2.1 Public Instance Methods boolean execute () Return true if the first ... timeout value set and only the statement is rolled back. Since: Jakarta Persistence (JPA) 1.0 int

jakarta.persistence.criteria.Subquery

Jakarta Persistence (JPA) Interface jakarta. persistence .criteria.Subquery Type Parameters ... . A subquery has an expression as its selection item. Since: Jakarta Persistence (JPA) 2.0 Public ... Parameters: name - alias Returns: selection item. Since: Jakarta Persistence (JPA) 1.0 Expression

jakarta.persistence.PersistenceUnitUtil

Jakarta Persistence (JPA) Interface jakarta. persistence .PersistenceUnitUtil Super Interfaces: PersistenceUtil Utility interface between the application and the persistence provider managing the persistence unit. The methods of this interface should only be invoked on entity instances obtained from

jakarta.persistence.metamodel.EntityType

Jakarta Persistence (JPA) Interface jakarta. persistence .metamodel.EntityType Type Parameters ... An instance of EntityType represents an entity type. Since: Jakarta Persistence (JPA) 2.0 Public Instance ... of the given name is not present in the managed type. Since: Jakarta Persistence (JPA) 1.0 Set

jakarta.persistence.metamodel.IdentifiableType

Jakarta Persistence (JPA) Interface jakarta. persistence .metamodel.IdentifiableType Type Parameters ... Persistence (JPA) 2.0 Public Instance Methods Attribute getAttribute ( String name ) Return the attribute ... Persistence (JPA) 1.0 Set getAttributes () Return the attributes of the managed type. Inherited from

jakarta.persistence.metamodel.MappedSuperclassType

Jakarta Persistence (JPA) Interface jakarta. persistence .metamodel.MappedSuperclassType Type ... Persistence (JPA) 2.0 Public Instance Methods Attribute getAttribute ( String name ) Return ... . Since: Jakarta Persistence (JPA) 1.0 Set getAttributes () Return the attributes of the managed type. Inherited

jakarta.persistence.Persistence.PERSISTENCE_PROVIDER

Jakarta Persistence (JPA) Field in jakarta. persistence . Persistence PERSISTENCE _PROVIDER This final ... Deprecated: TODO: Either change TCK reference to PERSISTENCE _PROVIDER field to expect "jakarta. persistence .spi.PersistenceProvider" or remove PERSISTENCE _PROVIDER field and also update TCK signature tests. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Persistence.Persistence()

Jakarta Persistence (JPA) Constructor in jakarta. persistence . Persistence Persistence () Default constructor. Deprecated: This class is not intended to be extended nor instantiated, it is going to be marked final when this constructor becomes hidden. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.ManagedType

Jakarta Persistence (JPA) Interface jakarta. persistence .metamodel.ManagedType Type Parameters ... , mapped superclass, and embeddable types. Since: Jakarta Persistence (JPA) 2.0 Public Instance Methods ... the managed type. Since: Jakarta Persistence (JPA) 1.0 Set getAttributes () Return the attributes

jakarta.persistence.metamodel.EmbeddableType

Jakarta Persistence (JPA) Interface jakarta. persistence .metamodel.EmbeddableType Type Parameters ... of EmbeddableType represents an embeddable type. Since: Jakarta Persistence (JPA) 2.0 Public Instance Methods ... is not present in the managed type. Since: Jakarta Persistence (JPA) 1.0 Set getAttributes () Return

jakarta.persistence.Subgraph

Jakarta Persistence (JPA) Interface jakarta. persistence .Subgraph Type Parameters: - The type ... within an EntityGraph . See Also: EntityGraph AttributeNode NamedSubgraph Since: Jakarta Persistence (JPA) 2.1 Public ... . IllegalArgumentException - if the attribute is not an attribute of this entity.. Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.Graph

Jakarta Persistence (JPA) Interface jakarta. persistence .Graph Declares operations common 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

jakarta.persistence.criteria.CriteriaQuery

Jakarta Persistence (JPA) Interface jakarta. persistence .criteria.CriteriaQuery Type Parameters ... . Since: Jakarta Persistence (JPA) 2.0 The JPA Criteria API Queries article explains how to use ... .. Since: Jakarta Persistence (JPA) 1.0 Root from ( Class entityClass ) Create and add a query root

jakarta.persistence.criteria.CriteriaBuilder.In

Jakarta Persistence (JPA) Interface in jakarta. persistence .criteria.CriteriaBuilder jakarta. persistence .criteria.CriteriaBuilder.In Super Interfaces: Predicate , Expression , Selection , TupleElement Interface used to build in predicates. Since: Jakarta Persistence (JPA) 1.0 Public Instance

jakarta.persistence.criteria.CriteriaBuilder.SimpleCase

Jakarta Persistence (JPA) Interface in jakarta. persistence .criteria.CriteriaBuilder jakarta. persistence .criteria.CriteriaBuilder.SimpleCase Super Interfaces: Expression , Selection , TupleElement ... which they are specified. Since: Jakarta Persistence (JPA) 1.0 Public Instance Methods Selection alias

Feature suggestion: auto-detection of entities via persistence.xml extension

many different modules, and frequently evolving/changing. JPA2 persistence . xml does not ... /html/configuration.html Example extension usage in persistence . xml : Q1: Would it be possible ... , which should work unless exclude-unlisted-classes=true  is specified in the persistence . xml

jakarta.persistence.criteria.Path

Jakarta Persistence (JPA) Interface jakarta. persistence .criteria.Path Type Parameters: - the type ... . Since: Jakarta Persistence (JPA) 2.0 The Paths and Types in JPQL and Criteria API article explains ... . Inherited from Selection Parameters: name - alias Returns: selection item. Since: Jakarta Persistence

jakarta.persistence.criteria.CriteriaBuilder.Case

Jakarta Persistence (JPA) Interface in jakarta. persistence .criteria.CriteriaBuilder jakarta. persistence .criteria.CriteriaBuilder.Case Super Interfaces: Expression , Selection , TupleElement ... which they are specified. Since: Jakarta Persistence (JPA) 1.0 Public Instance Methods Selection alias ( String

jakarta.persistence.criteria.Predicate

Jakarta Persistence (JPA) Interface jakarta. persistence .criteria.Predicate Super Interfaces ... . Since: Jakarta Persistence (JPA) 2.0 The Logical Operators in JPQL and Criteria API article explains ... Persistence (JPA) 1.0 Expression as ( Class type ) Perform a typecast upon the expression, returning

jakarta.persistence.criteria.ParameterExpression

Jakarta Persistence (JPA) Interface jakarta. persistence .criteria.ParameterExpression Type ... , TupleElement Type of criteria query parameter expressions. Since: Jakarta Persistence (JPA) 2.0 Public ... Selection Parameters: name - alias Returns: selection item. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.AbstractQuery

Jakarta Persistence (JPA) Interface jakarta. persistence .criteria.AbstractQuery Type Parameters ... own joins). All queries may have: a conjunction of restrictions. Since: Jakarta Persistence (JPA) 2.0 ... Persistence (JPA) 1.0 Root from ( Class entityClass ) Create and add a query root corresponding

jakarta.persistence.criteria.CriteriaBuilder.Coalesce

Jakarta Persistence (JPA) Interface in jakarta. persistence .criteria.CriteriaBuilder jakarta. persistence .criteria.CriteriaBuilder.Coalesce Super Interfaces: Expression , Selection , TupleElement ... otherwise. Since: Jakarta Persistence (JPA) 1.0 Public Instance Methods Selection alias ( String

jakarta.persistence.metamodel.SingularAttribute

Jakarta Persistence (JPA) Interface jakarta. persistence .metamodel.SingularAttribute Type ... Interfaces: Attribute , Bindable Instances of the type SingularAttribute represents persistent single-valued properties or fields. Since: Jakarta Persistence (JPA) 2.0 Public Instance Methods Class

jakarta.persistence.criteria.Expression

Jakarta Persistence (JPA) Interface jakarta. persistence .criteria.Expression Type Parameters ... . Since: Jakarta Persistence (JPA) 2.0 The JPA Query Expressions (JPQL / Criteria) article explains ... Persistence (JPA) 1.0 Expression as ( Class type ) Perform a typecast upon the expression, returning a new

jakarta.persistence.Column

Jakarta Persistence (JPA) Annotation Type jakarta. persistence .Column Implemented Interfaces: Annotation Target: Method, Field Specifies the column mapped by the annotated persistent property or ... of type numeric or decimal . Since: Jakarta Persistence (JPA) 1.0 Annotation Elements String name

jakarta.persistence.metamodel.MapAttribute

Jakarta Persistence (JPA) Interface jakarta. persistence .metamodel.MapAttribute Type Parameters ... 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

jakarta.persistence.JoinTable

Jakarta Persistence (JPA) Annotation Type jakarta. persistence .JoinTable Implemented Interfaces ... ", referencedColumnName = "ID")) This annotation may not be applied to a persistent field or property not annotated ... Persistence (JPA) 1.0 Annotation Elements String name (Optional) The name of the join table. Defaults

jakarta.persistence.JoinColumn

Jakarta Persistence (JPA) Annotation Type jakarta. persistence .JoinColumn Implemented Interfaces ... 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

jakarta.persistence.criteria.CriteriaUpdate

Jakarta Persistence (JPA) Interface jakarta. persistence .criteria.CriteriaUpdate Type Parameters ... . The persistence context is not automatically synchronized with the result of the bulk update. A CriteriaUpdate object must have a single root. Since: Jakarta Persistence (JPA) 2.1 Public Instance

jakarta.persistence.metamodel.ListAttribute

Jakarta Persistence (JPA) Interface jakarta. persistence .metamodel.ListAttribute Type Parameters ... Interfaces: PluralAttribute , Attribute , Bindable Instances of the type ListAttribute represent persistent java.util.List -valued attributes. Since: Jakarta Persistence (JPA) 2.0 Public Instance Methods Class

jakarta.persistence.metamodel.CollectionAttribute

Jakarta Persistence (JPA) Interface jakarta. persistence .metamodel.CollectionAttribute Type ... CollectionAttribute represent persistent java.util.Collection -valued attributes. Since: Jakarta Persistence (JPA) 2.0 ... attribute is returned. Inherited from Bindable Returns: Java type. Since: Jakarta Persistence (JPA) 1.0