ObjectDB Database Search
101-150 of 200 resultsObtaining a JPA Database Connection"); The createEntityManagerFactory static method expects a persistence unit name as an argument ... to be a database URL rather than a persistence unit name . The $objectdb variable represents the ObjectDB home ... within an active transaction. Given an EntityManager instance named em , you can begin a transaction: em | |
JPA Query API because it introduces the Country class to ObjectDB. Dynamic JPQL, Criteria API, and named queries In ... named queries , by using the @NamedQuery and @NamedQueries annotations. In JPA, it is a best practice to use named queries instead of dynamic queries when possible. Organization of this Section | |
jakarta.persistence.StoredProcedureQuery parameters. Parameters: parameterName - name of the parameter as registered or specified in metadata ... - if the parameter name does not correspond to a parameter of the query or is not an INOUT or OUT parameter. Since: Jakarta Persistence (JPA) 1.0 Parameter getParameter ( String name ) Get the parameter | |
jakarta.persistence.EntityManager createEntityGraph ( String graphName ) Obtain a mutable copy of a named EntityGraph , or return null if there is no entity graph with the given name . Parameters: graphName - name of an entity graph Returns: entity graph. Since: Jakarta Persistence (JPA) 2.1 Query createNamedQuery ( String name ) Create an instance | |
jakarta.persistence.TypedQuery ( String name ) Get the parameter object corresponding to the declared parameter of the given name . This method is not required to be supported for native queries. Inherited from Query Parameters: name - parameter name Returns: parameter object. Throws: IllegalStateException - if invoked on a native | |
jakarta.persistence.Query of results. Since: Jakarta Persistence (JPA) 2.0 Parameter getParameter ( String name ) Get the parameter object corresponding to the declared parameter of the given name . This method is not required to be supported for native queries. Parameters: name - parameter name Returns: parameter object. Throws | |
jakarta.persistence.criteria.PluralJoin ( String name ) Assigns an alias to the selection item. Once assigned, an alias cannot be changed or reassigned. Returns the same selection item. Inherited from Selection Parameters: name - alias ... . Inherited from FetchParent Parameters: attributeName - name of the attribute for the target of the join | |
jakarta.persistence.criteria.MapJoin Instance Methods Selection alias ( String name ) Assigns an alias to the selection item ... Selection Parameters: name - alias Returns: selection item. Since: Jakarta Persistence (JPA) 1.0 ... . Inherited from FetchParent Parameters: attributeName - name of the attribute for the target of the join | |
jakarta.persistence.criteria.Root . Public Instance Methods Selection alias ( String name ) Assigns an alias to the selection item ... Selection Parameters: name - alias Returns: selection item. Since: Jakarta Persistence (JPA) 1.0 ... attribute using an inner join. Inherited from FetchParent Parameters: attributeName - name | |
jakarta.persistence.criteria.SetJoin alias ( String name ) Assigns an alias to the selection item. Once assigned, an alias cannot be changed or reassigned. Returns the same selection item. Inherited from Selection Parameters: name - alias ... . Inherited from FetchParent Parameters: attributeName - name of the attribute for the target | |
jakarta.persistence.criteria.CollectionJoin Instance Methods Selection alias ( String name ) Assigns an alias to the selection item. Once assigned ... Parameters: name - alias Returns: selection item. Since: Jakarta Persistence (JPA) 1.0 Expression ... attribute using an inner join. Inherited from FetchParent Parameters: attributeName - name | |
jakarta.persistence.criteria.ListJoin alias ( String name ) Assigns an alias to the selection item. Once assigned, an alias cannot be changed or reassigned. Returns the same selection item. Inherited from Selection Parameters: name ... . Inherited from FetchParent Parameters: attributeName - name of the attribute for the target | |
jakarta.persistence.criteria.From to the type. Since: Jakarta Persistence (JPA) 2.0 Public Instance Methods Selection alias ( String name ... the same selection item. Inherited from Selection Parameters: name - alias Returns: selection item ... FetchParent Parameters: attributeName - name of the attribute for the target of the join Returns | |
jakarta.persistence.criteria.Join Instance Methods Selection alias ( String name ) Assigns an alias to the selection item. Once assigned ... Selection Parameters: name - alias Returns: selection item. Since: Jakarta Persistence (JPA) 1.0 Expression ... attribute using an inner join. Inherited from FetchParent Parameters: attributeName - name | |
Server Configuration.odb refers to a database file named db.odb in a subdirectory named my within the data directory | |
ObjectDB License Agreement [ver. 2.0.4] written approval. 7. ObjectDB Software may use the Customer name , logo and domain name in press releases | |
Database Schema Evolution are ignored, and their content is lost. A matching field is a field with the same name ... their names . When a schema upgrade also includes renaming fields, classes, or packages, you must specify | |
Eclipse Distribution License - v 1.0 the documentation and/or other materials provided with the distribution. Neither the name of the Eclipse Foundation, Inc. nor the names of its contributors may be used to endorse or promote products derived from | |
BIRT/ODA ObjectDB Driver. Enter a data source name (for example, ObjectDB Points ) and click Next . Specify an ObjectDB ... an ObjectDB data source (for example, ObjectDB Points ). Enter a data set name (for example, Points by X | |
Online Backup subdirectory is created in the backup root directory. The subdirectory's name reflects the current ... subdirectory with the same name as the original database file. For example, backing up a test.odb database | |
JPA Criteria API Queries because of their similarity to SQL. String-based JPQL queries, such as named queries , are often preferred for simple, static ... . This differs from string-based JPQL parameters , which use a name or position. Criteria query | |
General Settings and Logging is disabled. Every day, a new log file is generated with the name odb .log , where represents the date ... for a specific ObjectDB subsystem. The names of the subsystem loggers are currently undocumented | |
jakarta.persistence.PersistenceConfiguration via this API reflect the similarly- named elements of the persistence.xml file. This API may not be used ... EntityManagerFactory configure() { return new PersistenceConfiguration() . name ("DocumentData") .nonJtaDataSource ... name of the JDBC driver class. Since: Jakarta Persistence (JPA) 1.0 JDBC_PASSWORD Password for JDBC | |
jakarta.persistence.MapKeyJoinColumn // unidirectional @JoinTable( name = "COMPANY_ORGANIZATION", joinColumns = @JoinColumn( name = "COMPANY"), inverseJoinColumns = @JoinColumn( name = "VICEPRESIDENT")) @MapKeyJoinColumn( name = "DIVISION") Map organization; } Example 2: @Entity public class VideoStore { @Id int id; String name ; Address | |
jakarta.persistence.CollectionTable of the Column annotation. In the case of a basic type, the column name is derived from the name of the collection-valued field or property. In the case of an embeddable class, the column names are derived from the field or property names of the embeddable class. To override the default properties | |
jakarta.persistence.AttributeOverride, " key. " or " value. " must be used to prefix the name of the attribute that is being overridden in ... of embedding, a dot ( . ) notation form must be used in the name element to indicate an attribute within an embedded attribute. The value of each identifier used with the dot notation is the name | |
jakarta.persistence.EntityManagerFactory entityGraph ) Add a named copy of the given EntityGraph to this EntityManagerFactory . If an entity graph with the given name already exists, it is replaced. Parameters: graphName - name for the entity ... name , Query query ) Define the query, typed query, or stored procedure query as a named query | |
jakarta.persistence.EntityGraph ) Get an existing attribute node for the attribute with the given name , or add a new attribute node if there is no existing node. Inherited from Graph Parameters: attributeName - name of the attribute ... . If there is already an existing node for one of the given attribute names , that particular argument | |
jakarta.persistence.TableGenerator that may be referenced by name when a generator element is specified for the GeneratedValue annotation. A table ... of the generator name is global to the persistence unit (across all generator types). If no name ... class, then the name defaults to the name of the entity. If no name is explicitly specified | |
jakarta.persistence.Graph for the attribute with the given name , or add a new attribute node if there is no existing node. Parameters: attributeName - name of the attribute Returns: the attribute node. Throws ... nodes to the entity graph. If there is already an existing node for one of the given attribute names | |
jakarta.persistence.JoinColumn and the default values apply. Example: @ManyToOne @JoinColumn( name = "ADDR_ID") public Address getAddress ... Customer class @OneToMany @JoinColumn( name = "CUST_ID") // join column is in the table for Order ... CollectionTable ForeignKey Since: Jakarta Persistence (JPA) 1.0 Annotation Elements String name (Optional | |
jakarta.persistence.Subgraph node for the attribute with the given name , or add a new attribute node if there is no existing node. Inherited from Graph Parameters: attributeName - name of the attribute Returns: the attribute node ... . If there is already an existing node for one of the given attribute names , that particular argument is ignored and has no effect | |
jakarta.persistence.MapKeyColumn is a basic type. If the name element is not specified, it defaults to the concatenation of the following: the name of the referencing relationship field or property; " _ "; " KEY ". Example: @Entity public class Item { @Id int id; ... @ElementCollection @MapKeyColumn( name = "IMAGE_ NAME ") @Column( name | |
jakarta.persistence.SequenceGenerator that may be referenced by name when a generator element is specified for the GeneratedValue annotation. A sequence ... of the generator name is global to the persistence unit (across all generator types). If no name ... of an entity class, then the name defaults to the name of the entity. If no name is explicitly specified | |
jakarta.persistence.NamedNativeQuery Interfaces: Annotation Target: Type Declares a named native SQL query and, optionally, the mapping of the result of the native SQL query. Query names are scoped to the persistence unit. A named query ... how the native SQL query result set should be interpreted, for example: @NamedNativeQuery( name | |
jakarta.persistence.AssociationOverride an embeddable class, the name element specifies the referencing relationship field or property ... syntax must be used in the name element to indicate an attribute within an embedded attribute. The value of each identifier used with the dot notation is the name of the respective embedded field or | |
jakarta.persistence.PrimaryKeyJoinColumn, the foreign key columns are assumed to have the same names as the primary key columns of the primary table of the superclass. Example: Customer and ValuedCustomer subclass @Entity @Table( name = "CUST ... @Table( name = "VCUST") @DiscriminatorValue("VCUST") @PrimaryKeyJoinColumn( name = "CUST_ID") public | |
jakarta.persistence.ColumnResult ConstructorResult annotation to map a column of the SELECT list of a SQL query. The name element references the name of a column in the SELECT list — i.e., column alias, if applicable. Scalar result types ... order_item, " + "i. name AS item_ name , " + "FROM Order o, Item i " + "WHERE (order_quantity 25 | |
Step 3: Define a Spring DAO Component . The package name should be guest . Enter GuestDao as the class name - use exactly that case sensitive class name . Click Finish to create the new DAO Spring component class. Now | |
Step 5: Add a JSP Page ... Enter guest as the jsp file name - use exactly that case sensitive class name . Click Finish ... Guest Book Web Application Tutorial Name : The JSP generates the guestbook page output, which contains | |
Step 5: Add a JSP Page New Other... Web JSP File and clicking Next . Enter guest as the jsp file name - use exactly that case sensitive class name . Click Finish to create the new JSP file. Now ... Tutorial Name : The JSP generates the guestbook page output, which contains a simple form for signing | |
Step 5: Add a JSP Page (to prevent direct access to the JSP bypassing Spring). Enter guest as the jsp file name - use exactly that case sensitive class name . Click Finish to create the new JSP file. Now ... Tutorial Name : The JSP generates the guestbook page output, which contains a simple form for signing | |
Step 3: Add a Context Listener Class Other... Select Web Web Application Listener and click Next . Enter GuestListener as the class name - use exactly that case sensitive class name . The Java package name should be guest. Click Finish | |
Step 3: Define an EJB Session Bean node (in the [Package Explorer] window) and selecting New Class . The package name should be guest . Enter GuestDao as the class name - use exactly that case sensitive class name . Click Finish | |
Step 5: Add a JSP Page New Other... Web JSP File and clicking Next . Enter guest as the jsp file name - use exactly that case sensitive class name . Click Finish to create the new JSP file. Now replace the content of the new jsp file with the following content: JPA Guest Book Web Application Tutorial Name : The JSP | |
Step 2: Define a JPA Entity Class To store objects in an ObjectDB database using JPA we need to define an entity class: Right click on the project in the [Package Explorer] window and select New Class . Enter tutorial as the package name (case sensitive). Enter Point as the class name (case sensitive). Click Finish to create | |
Step 3: Define a Spring DAO Component Java Class... . Enter GuestDao as the class name - use exactly that case sensitive class name . The Package should be guest. Click Finish to create the new DAO Spring component class. Now | |
Step 3: Add a Main Class In this step we will add a main class to the project to store and retrieve Point objects from the database: Right click the tutorial package in the [Package Explorer] window and select New Class . The package name should be tutorial . Enter Main as the class name (case sensitive). Click Finish | |
Step 2: Create a Project and a Report and click Next : Enter a project name and click Finish : Now we can create a first report in the new ... file name (e.g. report.rptdesign ) and click Finish. The next step is creating an ObjectDB data source . | |
[ODB1] Chapter 9 - ObjectDB Explorer a new root use the "Create Root" command, and then in the "Create a New Root" dialog box set the name ... the object from the database, only its name ) using commands in these menus. Saving Changes The Explorer |