ObjectDB Database Search

51-100 of 200 results

Error happened while running report.

finished,the problem occurred at preview result time. Like: org.eclipse.birt. report .engine.api.EngineException: Error happened while running the report . at org.eclipse.birt. report .engine.api.impl.DatasetPreviewTask.doRun(DatasetPreviewTask.java:330) at org.eclipse.birt. report .engine.api.impl

Speeding up reporting queries with size() on list

Hi, I'm working on some reporting stuff in our application. One of few different reports should include activity on last modified objects. The query for now looks like this: select date(insp.lastModificationDate), insp.modifiedBy, insp.description.length(), insp.products.size(), insp.picture from

ObjectDB's Database Doctor Incorrect Error Report

so starting the next build there will be a clear limit of 64KB. Thank you for this report . To avoid

URGENCY, or in query does not report any objects on first operand having no results

URGENCY, or in query does not report any objects on first operand having no results

Improving Class Cast Exception Report

Improving Class Cast Exception Report

Possible issue for default id generator

generator when strategy is sequence. Error: Incomplete definition of auto value in field MyTestCase ... and 36: @GeneratedValue(strategy=GenerationType.SEQUENCE)//, generator ="seq") @Id @SequenceGenerator ... there is no default generator but the element generator is optional. Thanks. eurojet P. F. Martinez In ObjectDB

auto-generated uuid fields

Hello, we're porting a JDO application to ObjectDB which uses uuid-hex generated values. However the page on generated values in your JPA tutorial only mentions numeric generated values, and when we try to use it the error message seems to imply that auto- generating strings isn't supported

Primary key generation problem after changing entity package

@SequenceGenerator(name = "SEQ_BOARD", allocationSize = 5, initialValue = 1) @GeneratedValue( generator = "SEQ ... ;     @GeneratedValue( generator = "SEQ_BOARD", strategy = GenerationType.SEQUENCE ... 2.3.7_04] javax.persistence.PersistenceException Duplicate definition of generator 'SEQ_BOARD in

JPA Criteria Query Expressions

. A builder for general conditional logic sequences using when-then-else logic. A builder for comparing

Database Management Settings

. Activation codes are generated by running the Activator utility from the command line: $ java -cp objectdb

JPA Entity Fields

declared type, including a generic java.lang.Object , as long as the actual runtime value

Database Replication and Clustering

part of any cluster. The replicated databases on the slave server are automatically generated in a special

Date and Time in JPQL and Criteria Queries

criteria queries by using the generic CriteriaBuilder 's function method, as follows: // Create

JPA Attributes Annotations

Jakarta Persistence (JPA) annotations define how entity attributes (fields and properties) are managed. These annotations control data persistence behavior, including fetching strategies, relationship types, and data storage formats. General field mapping Configure standard state mapping behavior

JPA Metamodel Attributes

: COLLECTION , SET , LIST , or MAP . Represents an attribute typed as a generic java.util.Collection

JPA Extended API Reference Guide

Jakarta Persistence API (JPA) 3.2 documentation, generated from the official JavaDoc and enriched with practical notes. It groups the API types into logical sections to help you locate core concepts, query facilities, metamodel details, configuration options, annotations, and exception information

Retrieving JPA Entities

to cast the retrieved object to Employee because find uses generics and returns an instance of the class

Literals in JPQL and Criteria Queries

instead of literals are more generic and efficient because they can be compiled once and then run many

Defining a JPA Entity Class

and automatic sequential value generation . This powerful feature of ObjectDB is absent from other object-oriented databases.

Obtaining a JPA Database Connection

you to define a persistence unit generate an EntityManagerFactory . However, with ObjectDB

Query Parameters in JPA

number of methods is not typical for JPA, which is generally known for its lean and simple API

Eclipse Public License - v 1.0

OF SUCH DAMAGES. 7. GENERAL If any provision of this Agreement is invalid or unenforceable under applicable

JPA Metamodel API

The JPA Metamodel API enables you to examine the persistent object model and retrieve details 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

Chapter 6 - Configuration

" ... If a configuration file is not found, default values are used. General configuration considerations

JPA Annotations

policies. Automate the generation of primary keys and other field values using various strategies

Online Backup

file by using the code above could generate a backup whose full path is c:\objectdb\backup

JPA Criteria API Queries

queries. The Criteria API is generally better for dynamic queries that are built at runtime

JPA Listeners & Callbacks Annotations

to the database, making the generated primary key available. Update events Handle events triggered

jakarta.persistence.ForeignKey

: Annotation Specifies the handling of foreign key constraints when schema generation is in effect ... should be generated . The syntax used in the foreignKeyDefinition element should follow the SQL syntax used by ... will generate foreign key constraints whose update and delete actions it determines most appropriate

query only reports 1 result

in build 2.7.2_02. Thank you for this report . support Support it works, thanks hgzwicker Hans-Georg Zwicker

jakarta.persistence.JoinTable

(JPA) 1.0 ForeignKey foreignKey (Optional) Used to specify or control the generation of a foreign key constraint for the columns corresponding to the joinColumns element when table generation is in ... (Optional) Used to specify or control the generation of a foreign key constraint for the columns

retrieval tas reports in log

retrieval tas reports in log

jakarta.persistence.GenerationType

Enumerates the defined primary key generation strategies. See Also: GeneratedValue Since: Jakarta Persistence (JPA) 1.0 The Auto Generated Values article explains how to use GenerationType . Enum ... , and IDENTITY . The AUTO generation strategy may expect a database resource to exist, or it may attempt

jakarta.persistence.JoinColumn

(Optional) Whether the column is included in SQL INSERT statements generated by the persistence ... ) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Default: true ... when generating the DDL for the column. Defaults to the generated SQL for the column. Default

auto-generated uuid fields

Hello, we're porting a JDO application to ObjectDB which uses uuid-hex generated values. However the page on generated values in your JPA tutorial only mentions numeric generated values, and when we try to use it the error message seems to imply that auto- generating strings isn't supported

Post-compile enhancement sometimes causes error in generic loops: incompatible types found: java.lang.Object: required: Entity

build.xml in a NetBeans web app, and sometimes on editing a file that performs a generic for loop over an @entity type I get a generics error. The generic for loop is:  for (Steel s ... this. webel Dr Darren Kelly This rewrite of the generic for loop works but it is inconvenient

Step 2: Entity Class and Persistence Unit

node (in the [Project Explorer] window) and selecting New Folder (or  New Other... General

Step 4: Run the Application

, a new ObjectDB database file is generated in the db subdirectory under the ObjectDB installation

Step 4: Add a Controller Class

is forwarded to a JSP page (which is presented in the next tutorial step) that generates the HTML output

Step 6: Set the Spring XML

(whose name is derived from the name of the Spring dispatcher servlet in  web.xml ). To generate

Step 4: Add a Servlet Class

" attribute to generate the page output. Finally, the database connection (including the transaction

Step 6: Set the Spring XML

servlet in web.xml ). To generate that file: Right click the WEB-INF node in the [Projects] window

Java EE JPA Tutorial - Maven Project

. You will have to deploy the generated WAR file in your GlassFish server. You may also open and run the Maven

Step 4: Run the Application

) When you run the application for the first time, a new ObjectDB database file is generated in the db sub

Step 3: Add a Main Class

In this step we will add code to the Main class (that was generated with the project) in order to store Point objects in the database and then retrieve them from the database. Use copy and paste to replace the content of the Main class with the following content: package tutorial; import javax

Step 4: Add a Controller Class

(which is presented in the next tutorial step) that generates the HTML output. The JSP uses the GuestDao component

Step 4: Add a Servlet Class

page (which is presented in the next tutorial step). The JSP uses the "guest" attribute to generate

Step 4: Add a Servlet Class

). The JSP uses the "guest" attribute to generate the page output. Notice that operations

Step 4: Add a Servlet Class

the next tutorial step). The JSP uses the "guest" attribute to generate the page output. Finally

Which API should I use - JPA or JDO?

databases is more important than general portability to both object and relational databases. JPA