Internal Website 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

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

EmbeddedId with Generated field value

both solutions I expected I could get a generated value for the field uid by simply adding the documented ... simply a not contemplated future? Slinky Silvio Ornano Automatic generated IDs is currently supported

auto generate timestamp

Hi all, How can I create auto timestamping column? I want the database to generate the timestamp. I tried google but suggested solutions doesn't work in objectDB. http://stackoverflow.com/questions/811845/setting-a-jpa-timestamp-column-to-be- generated -by-the-database - Pawel   pawel Pawel

Newbie : How to return the auto-generated ID

Hello, I am new to this community, as well as JPA and ObjectDB. I want to read the auto- generated ID when I persist a new entity (with @Id @GeneratedValue annotations applied). I am following ... to have the id available earlier (immediately after persist ) - you have to switch to sequence or table  value generation strategy. support Support

General Performance Issues Illustrated with a Specific Method

Cloud HIMS is a JSF/JPA (EclipseLink 2.3)/MySQL application designed to capture data in Health Care Centres across Sri Lanka. We've recently migrated to ObjectDB to improve performance. Despite the migration, we're experiencing general performance issues across all transactions. As requested in

Use of sequences to generate field values in JDO

I'm trying to use sequences to set field values in JDO.  I want to do this in XML metadata to avoid use of annotations. This is an example of what I'm trying: When the code is run I get the message:  No definition of generator 'audit_seq' (referenced by field com.spiffymap.sealog.model

Should I be able to persist a JFrame (or gui components in general)?

about it, that just defining the interface is not generally enough to define the persistence, 2 things

Criteria Query Expressions

The following interfaces are in use in representing general expressions in criteria queries: See the Query Expressions section for more details and examples.

JPA Entity Fields

a generic java.lang.Object , as long as the type of the actual value at runtime is persistable (or null

Database Replication and Clustering

databases on the slave server are automatically generated under a special root directory, $replication

Date and Time in JPQL and Criteria Queries

and time parts are also available in criteria queries by using the generic CriteriaBuilder 's function

Retrieving JPA Entity Objects

class that it takes as a first argument (using generics ). An IllegalArgumentException is thrown

Literals in JPQL and Criteria Queries

are more generic and efficient because they can be compiled once and then run many times with different

Defining a JPA Entity Class

primary keys and automatic sequential value generation . This is a very powerful feature of ObjectDB that is absent from other object oriented databases.

Control and Setting

This section contains miscellaneous JPA types. The PersistenceUtil and PersistenceUnitUtil interfaces provide general utility methods: The Cache interface and the CacheRetrieveMode and CacheStoreMode enum types serve in managing the EntityManagerFactory's shared (level 2) cache: Other enum types are provided for setting of various JPA operations:

Obtaining a JPA Database Connection

to be able to generate an EntityManagerFactory . But when using ObjectDB you can either define a standard

Query Parameters in JPA

to JPA, which generally excels in its thin and simple API. There are 9 methods for setting parameters

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 provides the ability to examine the persistent object model and retrieve details on managed classes and persistent fields and properties, similarly to the ability that Java reflection provides for general Java types. The Metamodel Interface The main interface of the JPA

Online Backup

 above could generate a backup whose full path is  c:\objectdb\backup\201912312359\test.odb

JPA Exceptions

.TransactionRequiredException Exception Class Overview The root of the JPA exception class subtree is: General errors

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

retrieval tas reports in log

retrieval tas reports in log

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

Generating new activation code gives 500 server error

Generating new activation code gives 500 server error

Step 3: Create an ObjectDB Data Source

of the ObjectDB data source. The next step is using this data source to create a data set for the BIRT report .

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

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

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

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

Step 4: Add a Servlet Class

to generate the page output. Notice that operations on the database are carried on by the 

Step 4: Add a Servlet Class

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

Step 4: Add a Servlet Class

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

[ODB1] Chapter 3 - Persistent Classes

that perform the same accesses but also report to ObjectDB. Tracking changes in persistent arrays (in

[ODB1] Chapter 2 - A Quick Tour

file named either package.jdo ( generic name) or Person.jdo (name of the class). More details

Which API should I use - JPA or JDO?

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

[ODB1] Chapter 5 - JDO Connections

to establish a separate database connection for every web request. In general , holding a database connection