ObjectDB Database Search

151-200 of 200 results

Changing existing objects from Entity to Embedded

as in ObjectDB 1 .0), either by annotation ( @Embeddable ) or by external XML metadata ( in package.jdo ). support Support ... metadata files:                       ... try I changed only the metadata to this:              

disabling JDO in objectdb embedded mode

short example: [#|2016-06-02T14:19:38.393+0200|WARNING|glassfish3. 1 .2|javax.enterprise.system.core ... : file:/usr/local/glassfish/glassfish/domains/dex/applications/metamodel-ear- 1 .0-SNAPSHOT/lib/commons-beanutils- 1 .8.3.jar, URLEntry : file:/usr/local/glassfish/glassfish/domains/dex/applications

JDO support vs JPA

Hi, I am about to update the JDO metadata in the package.jdo files after moving from ObjectDB 1 to 2. However I found that there is no complete description or guide how the XML metadata should look ... (to which XML element is the given annotation equivalent). So my questions to this are: 1 . Is there some

Out of Memory - Slow leak?

is actually 2 databases to seperate metadata used for searching and the data itself. So in total ... Java 1 .5 on windows so the options for getting a dump are more limited. I'm hoping to get a port ... . Somehow in an unknown situation the reference count drops to - 1 and then the objects are pinned

jakarta.persistence.criteria.LocalDateTimeField

The date part of a datetime. Since: Jakarta Persistence (JPA) 1 .0 DAY The calendar day of the month, numbered from 1 . Since: Jakarta Persistence (JPA) 1 .0 HOUR The hour of the day in 24-hour time, numbered from 0 to 23. Since: Jakarta Persistence (JPA) 1 .0 MINUTE The minute of the hour, numbered from

jakarta.persistence.Column

field. If no Column annotation is explicitly specified, the default values apply. Example 1 : @Column ... of type numeric or decimal . Since: Jakarta Persistence (JPA) 1 .0 Annotation Elements String name ... Persistence (JPA) 1 .0 boolean unique (Optional) Whether the column is a unique key

jakarta.persistence.Query

execution. See Also: TypedQuery StoredProcedureQuery Parameter Since: Jakarta Persistence (JPA) 1 .0 ... back. Since: Jakarta Persistence (JPA) 1 .0 CacheRetrieveMode getCacheRetrieveMode () The cache retrieval mode ... value set and only the statement is rolled back. Since: Jakarta Persistence (JPA) 1 .0 Stream

jakarta.persistence.TableGenerator

annotation. Example 1 : @Entity public class Employee { ... @TableGenerator( name = "empGen", table ... ", allocationSize = 1 ) @Id @GeneratedValue(strategy = TABLE, generator = "empGen") int id; ... } Example 2 ... ; ... } See Also: GeneratedValue Since: Jakarta Persistence (JPA) 1 .0 The Auto Generated Values article

jakarta.persistence.metamodel.SingularAttribute

Bindable Returns: Java type. Since: Jakarta Persistence (JPA) 1 .0 BindableType getBindableType ... . Since: Jakarta Persistence (JPA) 1 .0 ManagedType getDeclaringType () Return the managed type ... . Since: Jakarta Persistence (JPA) 1 .0 Member getJavaMember () Return the java.lang.reflect.Member

jakarta.persistence.metamodel.MapAttribute

Persistence (JPA) 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 ... type. Since: Jakarta Persistence (JPA) 1 .0 ManagedType getDeclaringType () Return the managed type

jakarta.persistence.criteria.Expression

Persistence (JPA) 1 .0 Expression as ( Class type ) Perform a typecast upon the expression, returning a new ... ) 1 .0 Expression cast ( Class type ) Cast this expression to the specified type, returning a new ... . Inherited from TupleElement Returns: alias. Since: Jakarta Persistence (JPA) 1 .0 List

JPA Entity Fields

of a new entity is 1 when it's stored in the database for the first time. In every transaction

Storing JPA Entities

the clear and flush methods together to save memory during large transactions: em. getTransaction (). begin (); for (int i = 1 ; i

ObjectDB License Agreement [ver. 2.0.4]

of this agreement will be binding, unless in writing and signed by an authorized representative of each party. 1

Strings in JPQL and Criteria Queries

). Therefore, the position of the first character is 1 . A value of zero ( 0 ) is returned if the substring is not

JPA Persistable Types

are stored as ordinal numbers (0, 1 , and 2), while values of the color3 field are stored as strings

Logical Operators in JPQL and Criteria API

Logical operators in JPQL and JPA criteria queries combine simple Boolean expressions to form complex expressions. Logical operators ObjectDB supports two sets of logical operators, as shown in the following table: Set 1 : JPQL / SQL Set 2: Java / JDO AND && OR || NOT ! JPQL uses SQL notation

Numbers in JPQL and Criteria Queries

) is evaluated to 1 .414213562373095 The SQRT function takes as an argument a numeric value of any

JPA Class Enhancer

to integrate enhancement into the build process: ... ... ... org.codehaus.mojo exec-maven-plugin 1 .6.0

JPA Query API

Jakarta Persistence (JPA) represents queries with two interfaces: the Query interface, which was the only query interface in JPA 1 , and the TypedQuery interface, which was introduced in JPA 2. The TypedQuery interface extends the Query interface. Use the Query interface primarily when the query

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 Annotation Elements String name (Optional) The name of the join table. Defaults ... . Default: "" Since: Jakarta Persistence (JPA) 1 .0 String catalog (Optional) The catalog of the table. Defaults to the default catalog. Default: "" Since: Jakarta Persistence (JPA) 1 .0 String schema

jakarta.persistence.JoinColumn

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 ... of the referenced table. Default: "" Since: Jakarta Persistence (JPA) 1 .0 boolean unique (Optional

jakarta.persistence.MapKeyColumn

relationship field or property; " _ "; " KEY ". Default: "" Since: Jakarta Persistence (JPA) 1 .0 boolean ... and to constraints specified at the table level. Default: false Since: Jakarta Persistence (JPA) 1 .0 ... Persistence (JPA) 1 .0 boolean insertable (Optional) Whether the column is included in SQL INSERT

jakarta.persistence.MapKeyJoinColumn

and the default values apply. Example 1 : @Entity public class Company { @Id int id; ... @OneToMany ... ; " _ "; " KEY ". Default: "" Since: Jakarta Persistence (JPA) 1 .0 String referencedColumnName (Optional ... the primary key column of the referenced table. Default: "" Since: Jakarta Persistence (JPA) 1 .0 boolean

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 Annotation Elements String name (Required) The name of the table. Since: Jakarta Persistence (JPA) 1 .0 String catalog (Optional) The catalog of the table. Defaults to the default catalog

ObjectDB BIRT Driver Update

output here.  I confirmed that the directory C:\Users\kwhittin\new_workspace_birt\. metadata ... .buildId=4.5.2.M20160212-1500 java.version= 1 .7.0_76 java.vendor=Oracle Corporation BootLoader constants ... _birt\. metadata \.plugins\org.eclipse.birt.report.data.oda.jdbc.dbprofile.sampledb\db\META-INF

Eclipse/JPA Spring MVC Web Tutorial

.6. 1 but it should work with other Eclipse versions as well (dialog boxes and menus might look

Getting Started with JPA and Eclipse

). This tutorial was written for Eclipse 3.6. 1 but it should work with other Eclipse versions as

NetBeans/JPA Web Application Tutorial

(just download and extract). The tutorial was written for NetBeans 6.9. 1 but it should work

Step 7: Run the Spring Web App

/. This Spring web application can also run with GlassFish 3.0. 1 , with a small change in the 

JPA Tutorials

, such as GlassFish 3.0. 1 or JBoss AS 6. Another tutorial shows how to use JPA in a Spring MVC Framework

Java EE Web Tutorial

This tutorial demonstrates how to create and run a full Java EE 6 MVC (Model View Controller) web application using GlassFish, ObjectDB and JPA. Since this web application uses Java EE 6 EJB (session beans) it requires a full Java EE 6 application server, such as GlassFish 3.0. 1 or JBoss AS 6

NetBeans/JPA Spring MVC Web Tutorial

for NetBeans 6.9. 1 but it should work with other NetBeans versions as well (dialog boxes and menus might look

Eclipse/JPA Web Application Tutorial

(just download and extract). The tutorial was written for Eclipse 3.6. 1 but it should work

Step 6: Design a BIRT Report Table

In this final step we will add a simple table to the report: Open the [Insert Table] dialog box by dragging a Table from the [Palette] window and dropping it on the report design (.rptdesign) layout. Set the column number to 2 , number of details to 1 , select the data set (e.g. Points by X

Getting Started with JPA

. The sample application is also explained in details in  Chapter 1 of the  ObjectDB Manual , but if you prefer

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