ObjectDB Database Search

51-100 of 200 results

log entry date/time

It would be very useful if each entry in the log file has a date/ time stamp. Thanks, Carl   FastModel Ben Schreiber Version 2.2.2 adds date/ time stamps to the log. Thank you for your suggestion. support Support

EntityManager creation taking long time

during the time of issue: From our logs the issue seems to have occurred between 3:45 am to 4:15 am on Nov 22nd ... such long wait times ? CAPdev CAP Dev There are no known issues that may be related. How do you know

EntityManager.refresh takes a long time

EntityManager.refresh takes a long time for entity object Person in this code:     logger.log(Level.INFO, "begin select for person " + new Date().toString());     ... only objects in his context? Operation time reaches 30 - 40 seconds. Please help to understand why. 

Option or strategy to disable/skip runtime enhancement checks (to improve load time)?

Maven-based compile- time enhancement applied to entity modules (only), so I know these checks ... load time ) ?     webel Dr Darren Kelly Please provide more information about these checks, such as log messages or stack traces. support Support

First persist takes long time

We detected that the first Persist() of an entity take much longer than all subsequent calls. We have a small example (see Appendix) which outputs the following times : First transaction with persist ... : Could you explain the long time for first persist? btc_es BTC EmbeddedSystems Some operations

package.jdo validation error (Connection timed out)

timed out: connect NestedThrowables: java.net.ConnectException: Connection timed out: connect The same

Post-compilation enhancement vs Automatic Run-time enhancement

We are getting massively different results on field loading between explicit post-compile enhancement and automatic run- time enhancement. Testing exactly where and when the results are different for our demo web app is a very time consuming task, and very difficult, it means testing literally 100s

Issue with compile time enhancement

I have an entity library which I have integrated build time enhancement in.  The enhancer reports it has processed all of my persistent classes.  When I attempt to run a Bootstrap process with this library I get the error shown below.  The entity referenced in the error (Terms

Group by date / time

support these expressions (as an extension to JPA) - support of date/ time methods ( YEAR , MONTH

java.time.*

I get errors when trying to persist anything in java. time .* For example LocalDate, Month, Period. Will these be supported sometime in the future?   scoobyrooster Jason Java 8 date and tome is not supported yet, except by serialization (which is not recommended and disabled by default

_UserException: Attempt to open a database file '...' that is currently in use

around after searching google. However this exception only happen after running the app the second time . If I'm runnig the app the first time after rebooting my system. Everything is ok but after closing the app ... embedded mode the database cannot be accessed at the same time by more than one process. Make sure

ObjectDB current status of the BIRT plugin

ObjectDB current status of the BIRT plugin

several times a day queries take several minutes

))) that normally take around 10 seconds but sometimes several times a day take around 3-10 minutes

queries more than 10 times slower using 2.8.1 versus 2.7.6

to avoid to again and again transfer this huge database, we are a bit under time pressure hgzwicker

JPA Attributes Annotations

and calendar types to specific SQL temporal formats (modern java. time types are mapped automatically ... . An enumeration defining the SQL type mapping: DATE , TIME , or TIMESTAMP . For more details, see the Persistent Classes chapter in the ObjectDB manual.

JPA Queries

TypedQuery in modern applications to ensure compile- time type safety. A sub-interface of Query used ... predicates for the WHERE clause, mathematical operations, and conditional logic. Helper interfaces for manipulating temporal expressions and date/ time components.

ObjectDB - JPA Object Database for Java

Mapping (ORM) tools can reduce some manual work but cannot eliminate the extra processing time ... when the object data model is complex. See JPA benchmark results...   Reduce development time . Improve

ObjectDB 2.9 Developer's Guide

you productive with ObjectDB and JPA in a short time . Guide Structure Demonstrates basic database ... proficient in a short time . After reading this guide you may want to extend your knowledge of JPA by reading a book on JPA.

ObjectDB Object Database Features

: java.util.Date, java.sql.Date, java.sql. Time and java.sql.Timestamp. Math types : java.lang ... .Date, java.sql. Time and java.sql.Timestamp. Math: java.lang.BigInteger and java.lang.BigDecimal

JPA Exceptions

when a request to acquire a lock times out. This can occur with both pessimistic and optimistic locking wait times . Query exceptions Exceptions specific to query execution and result retrieval

jakarta.persistence.TypedQuery

properties and hints. Since: Jakarta Persistence (JPA) 2.0 LockModeType getLockMode () Get the current ... of the query. Deprecated: Newly-written code should use the date/ time types defined in java. time ... correspond to a parameter of the query. Deprecated: Newly-written code should use the date/ time types

jakarta.persistence.Query

() Get the current lock mode for the query. Returns null if a lock mode has not been set on the query ... of the query. Deprecated: Newly-written code should use the date/ time types defined in java. time ... . Deprecated: Newly-written code should use the date/ time types defined in java. time . Since: Jakarta

jakarta.persistence.StoredProcedureQuery

() Get the current lock mode for the query. Returns null if a lock mode has not been set on the query ... of the query. Deprecated: Newly-written code should use the date/ time types defined in java. time ... correspond to a parameter of the query. Deprecated: Newly-written code should use the date/ time types

jakarta.persistence.EntityManagerFactory

, there is exactly one EntityManagerFactory for each persistence unit: // create a factory at initialization time ... with the caller, then the EntityManager is associated with this current transaction. If the given ... . This method returns a new EntityManager instance each time it is invoked. The EntityManager.isOpen

Database Transaction Replayer

.objectdb.Replayer my.odb If objectdb.jar is not in the current directory, you must specify a path

Storing JPA Entities

. The exception is thrown either by persist , if the existing entity is currently managed by

What are the system requirements for using ObjectDB?

ObjectDB requires Java 8 or later. As a pure Java application, ObjectDB should be able to run on any platform that supports the Java Standard Edition. Either the Java Development Kit (JDK) or the Java Runtime Environment (JRE) can be used. A version of ObjectDB for .NET is currently under development.

JPA Container Injection Annotations

a shared, thread-safe proxy associated with the current transaction. Specifies the lifetime scope

Database Doctor

objectdb.jar com.objectdb.Doctor my.odb If objectdb.jar is not in the current directory

Can I use ObjectDB with languages other than Java?

ObjectDB can be used by Java Virtual Machine (JVM) languages, such as Java, Kotlin, Groovy and Scala. It can also be used with other languages, such as Python, JavaScript, Ruby and PHP, but currently only with their JVM implementations (e.g. Jython for Python, GraalVM for JavaScript

Paths and Types in JPQL and Criteria API

through a null reference. In JPQL, the current FROM variable (or FROM tuple, when there are multiple

Updating JPA Entities

when it is retrieved from the database and then compare that snapshot to the object's current state

GROUP BY and HAVING clauses

might not be supported by other JPA implementations. Currently , only identification variables and path

Database Management Settings

can take considerable processing time . The enabled attribute ( "true" or "false" ) specifies

JPA Entity Fields

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

ObjectDB License Agreement [ver. 2.0.4]

is effective until terminated. The Customer may terminate the agreement at any time by simply destroying

Schema Update

the specified schema updates every time a database is opened. When you use client-server mode

JPA Query Expressions (JPQL / Criteria)

) String expressions ( like , length , locate , lower , upper , concat , substring , …) Date and time

ObjectDB License

to change the terms and conditions, the products, services, prices, and programs mentioned in this site at any time , at its sole discretion.

WHERE clause (JPQL / Criteria API)

, defining appropriate indexes can significantly improve query execution time . WHERE filter in multi

JPA Runtime Tuning & Configuration

the time limit (in milliseconds) for an operation. Scope Usage EntityManagerFactory Set

JPA Query API

dynamic query construction because you can build the query string dynamically at run time . The JPA

JPA Connections and Transactions

of the EntityManagerFactory itself might be less efficient, but it is a one- time operation

JPA Web App Tutorial - Maven Project

: mvn package jetty:run The current directory should be  guestbook-web (containing the  pom

Java EE JPA Tutorial - Maven Project

the command line: mvn package The current directory should be  guestbook-jee6

Getting Started with JPA - Maven Project

The current directory should be points-console (containing the pom.xml file). No need to download

Spring MVC JPA Tutorial - Maven Project

jetty:run The current directory should be  guestbook-spring (containing the  pom.xml file

Step 4: Run the Application

You can run the application now by right clicking the Main node (in the [Projects] window) and selecting Run File . The expected output in the [Output] window, is: Total Points: 1000 Average X: 499.5 (0,0) (1,1) (2,2) (3,3) : : (998,998) (999,999) When you run the application for the first time

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

ObjectDB 1.0 Manual

and JDO in a very short time . Guide Structure The first two chapters introduce ObjectDB: Chapter 1 ... on practical issues in order to make the reader proficient in a short time . After reading this guide