ObjectDB Database Search
151-200 of 200 resultsHow 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 | |
Deleting JPA Entities: Employee employee = em. find (Employee.class, 1 ); em. getTransaction (). begin (); em. remove (employee | |
Comparison in JPQL and Criteria API Most JPQL queries use at least one comparison operator in their WHERE clause. Comparison operators ObjectDB supports two sets of comparison operators, as shown in the following table: Set 1 : JPQL/SQL Set 2: Java/JDO Less Than Less Than or Equal To = Equal To = == Not Equal To != The main | |
ORDER BY clause (JPQL / Criteria API) COUNT(c) 1 ORDER BY c.currency In the query above, the ORDER BY clause sorts the results by | |
ObjectDB Website - Terms and Conditions of Use 1 . Terms By accessing and using this web site, you agree to be bound by these web site Terms and Conditions of Use, all applicable laws and regulations, and agree that you are responsible for compliance with any applicable local laws. If you do not agree with any of these terms, you are prohibited | |
JPA Primary Key ( long ). The primary key of the first entity is 1 , the second is 2, and so on. Primary key values | |
jakarta.persistence.metamodel.ListAttribute from Bindable Returns: Java type. Since: Jakarta Persistence (JPA) 1 .0 BindableType getBindableType ... type. Since: Jakarta Persistence (JPA) 1 .0 CollectionType getCollectionType () Return the collection type. Inherited from PluralAttribute Returns: collection type. Since: Jakarta Persistence (JPA) 1 .0 | |
jakarta.persistence.metamodel.CollectionAttribute attribute is returned. Inherited from Bindable Returns: Java type. Since: Jakarta Persistence (JPA) 1 .0 ... Bindable Returns: bindable type. Since: Jakarta Persistence (JPA) 1 .0 CollectionType ... . Since: Jakarta Persistence (JPA) 1 .0 ManagedType getDeclaringType () Return the managed type representing | |
jakarta.persistence.metamodel.SetAttribute Bindable Returns: Java type. Since: Jakarta Persistence (JPA) 1 .0 BindableType getBindableType ... . Since: Jakarta Persistence (JPA) 1 .0 CollectionType getCollectionType () Return the collection type. Inherited from PluralAttribute Returns: collection type. Since: Jakarta Persistence (JPA) 1 .0 | |
jakarta.persistence.metamodel.PluralAttribute) 1 .0 BindableType getBindableType () Return the bindable type of the represented object. Inherited from Bindable Returns: bindable type. Since: Jakarta Persistence (JPA) 1 .0 CollectionType getCollectionType () Return the collection type. Returns: collection type. Since: Jakarta Persistence (JPA) 1 .0 | |
jakarta.persistence.JoinTable Persistence (JPA) 1 .0 Public Instance Methods String catalog () (Optional) The catalog of the table. Defaults to the default catalog. Since: Jakarta Persistence (JPA) 1 .0 CheckConstraint[] check ... . 1 Index[] indexes () (Optional) Indexes for the table. These are only used if table generation is in | |
jakarta.persistence.JoinColumn CollectionTable ForeignKey Since: Jakarta Persistence (JPA) 1 .0 Public Instance Methods CheckConstraint[] check ... for the column. Since: Jakarta Persistence (JPA) 1 .0 String comment () (Optional) A comment to be applied ... strategy is selected by the persistence provider. Since: Jakarta Persistence (JPA) 2. 1 boolean | |
jakarta.persistence.MapKeyColumn to the generated SQL to create a column of the inferred type. Since: Jakarta Persistence (JPA) 1 .0 boolean ... the persistence provider. Since: Jakarta Persistence (JPA) 1 .0 int length () (Optional) The column length ... types. Since: Jakarta Persistence (JPA) 1 .0 String name () (Optional) The name of the map key column | |
jakarta.persistence.MapKeyJoinColumn and the default values apply. Example 1 : @Entity public class Company { @Id int id; ... @OneToMany ... to SQL generated by the provider for the column. Since: Jakarta Persistence (JPA) 1 .0 ForeignKey ... is selected by the persistence provider. Since: Jakarta Persistence (JPA) 2. 1 boolean insertable | |
jakarta.persistence.EntityManagerFactory 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 ... (JPA) 2. 1 R callInTransaction ( Function work ) Create a new application-managed EntityManager | |
jakarta.persistence.criteria.Fetch: the resulting fetch join. Since: Jakarta Persistence (JPA) 1 .0 Fetch fetch ( SingularAttribute ... Returns: the resulting fetch join. Since: Jakarta Persistence (JPA) 1 .0 Fetch fetch ( PluralAttribute ... . Since: Jakarta Persistence (JPA) 1 .0 Fetch fetch ( PluralAttribute attribute , JoinType jt ) Create a fetch | |
jakarta.persistence.criteria.CriteriaDelete must have a single root. Since: Jakarta Persistence (JPA) 2. 1 Public Instance Methods Root from ( Class ... (JPA) 1 .0 Root from ( EntityType entity ) Create and add a query root corresponding to the entity ... corresponding to the given entity. Since: Jakarta Persistence (JPA) 1 .0 Set getParameters () Return | |
jakarta.persistence.criteria.LocalDateField day of the month, numbered from 1 . Since: Jakarta Persistence (JPA) 1 .0 MONTH The calendar month of the year, numbered from 1 . Since: Jakarta Persistence (JPA) 1 .0 QUARTER The calendar quarter, numbered from 1 to 4. Since: Jakarta Persistence (JPA) 1 .0 WEEK The ISO-8601 week number. Since: Jakarta | |
jakarta.persistence.SecondaryTable, and have the same names and types as the referenced primary key columns of the primary table. Example 1 : Single ... (JPA) 1 .0 Public Instance Methods String catalog () (Optional) The catalog of the table. Defaults to the default catalog. Since: Jakarta Persistence (JPA) 1 .0 CheckConstraint[] check () (Optional | |
jakarta.persistence.metamodel.Attribute.PersistentAttributeType , Serializable Since: Jakarta Persistence (JPA) 1 .0 Enum Constants BASIC Basic attribute Since: Jakarta Persistence (JPA) 1 .0 ELEMENT_COLLECTION Element collection Since: Jakarta Persistence (JPA) 1 .0 EMBEDDED Embeddable class attribute Since: Jakarta Persistence (JPA) 1 .0 MANY_TO_MANY Many-to-many association | |
jakarta.persistence.OptimisticLockException.lock(Object, LockModeType, java.util.Map) Since: Jakarta Persistence (JPA) 1 .0 Public Constructors ... its detail message. Since: Jakarta Persistence (JPA) 1 .0 OptimisticLockException ( String message ... - the detail message. Since: Jakarta Persistence (JPA) 1 .0 OptimisticLockException ( String message | |
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.metamodel.Attribute. Returns: declaring type. Since: Jakarta Persistence (JPA) 1 .0 Member getJavaMember () Return ... .Member . Since: Jakarta Persistence (JPA) 1 .0 Class getJavaType () Return the Java type of the represented attribute. Returns: Java type. Since: Jakarta Persistence (JPA) 1 .0 String getName () Return | |
jakarta.persistence.Tuple Persistence (JPA) 1 .0 X get ( String alias , Class type ) Get the value of the tuple element ... to the specified type. Since: Jakarta Persistence (JPA) 1 .0 Object get ( String alias ) Get the value ... correspond to an element in the query result tuple. Since: Jakarta Persistence (JPA) 1 .0 X get ( int | |
jakarta.persistence.criteria.FetchParent Persistence (JPA) 1 .0 Fetch fetch ( SingularAttribute attribute , JoinType jt ) Create a fetch join ... attribute - target of the join Returns: the resulting fetch join. Since: Jakarta Persistence (JPA) 1 .0 ... . Since: Jakarta Persistence (JPA) 1 .0 Fetch fetch ( PluralAttribute attribute , JoinType jt ) Create | |
jakarta.persistence.CollectionTable is used. Since: Jakarta Persistence (JPA) 1 .0 ForeignKey foreignKey () (Optional) Used to specify or ... provider. Since: Jakarta Persistence (JPA) 2. 1 Index[] indexes () (Optional) Indexes for the table. These are only used if table generation is in effect. Since: Jakarta Persistence (JPA) 2. 1 JoinColumn | |
jakarta.persistence.QueryTimeoutException with null as its detail message. Since: Jakarta Persistence (JPA) 1 .0 QueryTimeoutException ( String ... . Parameters: message - the detail message. Since: Jakarta Persistence (JPA) 1 .0 QueryTimeoutException ... Persistence (JPA) 1 .0 QueryTimeoutException ( Throwable cause ) Constructs a new | |
jakarta.persistence.NamedStoredProcedureQuery StoredProcedureParameter Since: Jakarta Persistence (JPA) 2. 1 Public Instance Methods QueryHint[] hints () Query properties and hints. (May include vendor-specific query hints.) Since: Jakarta Persistence (JPA) 1 .0 ... procedure query objects. Since: Jakarta Persistence (JPA) 1 .0 StoredProcedureParameter[] parameters | |
jakarta.persistence.OneToOne property. Example 1 : One-to-one association that maps a foreign key column // On Customer class: @OneToOne ... assignedTo; ... } Since: Jakarta Persistence (JPA) 1 .0 Public Instance Methods CascadeType[] cascade ... no operations are cascaded. Since: Jakarta Persistence (JPA) 1 .0 FetchType fetch () (Optional | |
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 Public Instance Methods CascadeType[] cascade () (Optional) The operations ... (JPA) 1 .0 FetchType fetch () (Optional) Whether the association should be lazily loaded or | |
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 Public Instance Methods ... . By default no operations are cascaded. Since: Jakarta Persistence (JPA) 1 .0 FetchType fetch | |
jakarta.persistence.NamedEntityGraph , and may be passed to EntityManager.find . Since: Jakarta Persistence (JPA) 2. 1 Public Instance Methods ... in this graph. Since: Jakarta Persistence (JPA) 1 .0 boolean includeAllAttributes () (Optional ... an attribute node referencing a subgraph. Since: Jakarta Persistence (JPA) 1 .0 String name () (Optional | |
jakarta.persistence.metamodel.Metamodel. Since: Jakarta Persistence (JPA) 1 .0 EntityType entity ( String entityName ) Return the metamodel ... . Since: Jakarta Persistence (JPA) 1 .0 Set getEmbeddables () Return the metamodel embeddable types. Returns ... . Since: Jakarta Persistence (JPA) 1 .0 Set getEntities () Return the metamodel entity types. Returns: the metamodel | |
jakarta.persistence.CascadeType OneToOne.cascade OneToMany.cascade ManyToMany.cascade Since: Jakarta Persistence (JPA) 1 .0 Enum Constants ALL Cascade all operations Since: Jakarta Persistence (JPA) 1 .0 DETACH Cascade the detach ... Persistence (JPA) 1 .0 PERSIST Cascade the persist operation Since: Jakarta Persistence (JPA) 1 .0 REFRESH | |
jakarta.persistence.Table MappedSuperclass or Embeddable . Since: Jakarta Persistence (JPA) 1 .0 Public Instance Methods String ... Persistence (JPA) 1 .0 CheckConstraint[] check () (Optional) Check constraints to be applied to the table ... Persistence (JPA) 2. 1 String name () (Optional) The name of the table. Defaults to the entity name | |
jakarta.persistence.NamedNativeQuery class or mapped superclass. See Also: SqlResultSetMapping Since: Jakarta Persistence (JPA) 1 .0 ... -specific query hints.) Since: Jakarta Persistence (JPA) 1 .0 String name () The name used to identify the query in calls to EntityManager.createNamedQuery . Since: Jakarta Persistence (JPA) 1 .0 String | |
jakarta.persistence.Persistence both Jakarta EE and Java SE environments. Since: Jakarta Persistence (JPA) 1 .0 The JPA Connections ... signature tests. Since: Jakarta Persistence (JPA) 1 .0 Public Constructors Persistence () Default constructor ... final when this constructor becomes hidden. Since: Jakarta Persistence (JPA) 1 .0 Public Static | |
jakarta.persistence.OneToMany.util.Map , the cascade element and the orphanRemoval element apply to the map value. Example 1 ... table for Order public Set getOrders() { return orders; } Since: Jakarta Persistence (JPA) 1 .0 Public ... .util.Map , the cascade element applies to the map value. Since: Jakarta Persistence (JPA) 1 .0 | |
jakarta.persistence.PersistenceContext EntityManager and its associated persistence context. Since: Jakarta Persistence (JPA) 1 .0 Public Instance ... (JPA) 1 .0 PersistenceProperty[] properties () (Optional) Properties for the container or ... that are not recognized by a vendor are ignored. Since: Jakarta Persistence (JPA) 1 .0 SynchronizationType | |
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 Public Instance ... Persistence (JPA) 1 .0 Class converter () Specifies the converter to be applied. This element | |
jakarta.persistence.DiscriminatorColumn DiscriminatorType Since: Jakarta Persistence (JPA) 1 .0 Public Instance Methods String columnDefinition ... Persistence (JPA) 1 .0 DiscriminatorType discriminatorType () (Optional) The type of object/column ... ) 1 .0 int length () (Optional) The column length for String-based discriminator types. Ignored | |
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.criteria.Selection. Since: Jakarta Persistence (JPA) 1 .0 String getAlias () Return the alias assigned to the tuple element or ... Persistence (JPA) 1 .0 List getCompoundSelectionItems () Return the selection items composing a compound ... ) 1 .0 Class getJavaType () Return the Java type of the tuple element. Inherited from TupleElement | |
Getting Started with JPA and NetBeans). The tutorial was written for NetBeans 6.9. 1 but it should work with other NetBeans versions as | |
Step 7: Run the Spring Web App/Guestbook/. This tutorial should also run with GlassFish 3.0. 1 , with a small change in | |
[ODB1] Chapter 4 - JDO Metadata and the other resources (possibly in a jar file). 4. 1 JDO Metadata Files During JDO enhancement and later |