Internal Website Search

1-50 of 200 results

Date and Time in JPQL and Criteria Queries

Date and time expressions may appear in JPQL queries: as date and time literals - e.g. {d '2011-12-31'} , {t '23:59:59'} . as parameters - when date and time values are assigned as arguments. as  path expressions - in navigation to persistent date and time fields. as results of predefined

Does run time enhancer due to GlassFish/Payara do anything that would affect loaded compile-time entity classes ?

ObjectDB support wrote elsewhere: ... you do not need the Enhancer agent, since you use build time ... to disable the enhancer agent ... Q: Does run time enhancer due to GlassFish/Payara do anything that would affect loaded compile- time enhanced entity classes (other than just logging, typically just

JPA Persistable Types

only once even if they are referenced multiple times . Referencing instances of other persistable types from ... . java.lang.String . java.util.Date , java.util.Calendar , java.sql.Date , java.sql. Time , java.sql.Timestamp . Date and time types are discussed in more detail in the next paragraph. Date and Time

Date field Index is corrupted due to time change

): We create a 1G DB file when the application starts for the fist time . The size of the DB file does not ... at any one time . The load never exceeds more than 5 transactions per 10 seconds.   So far we know ... of October at 3am. We think this is significant as this is exactly the time when Madrid changed clocks

find() cost unreasonable time!

, why? Result: =========== find time @ 24.125000 getSons time @ 0.000000 1 : type:Nodes, sons:2 child : 2 child : 3 Iterator time @ 0.000000 find time @ 0.000000 getSons time @ 0.000000 2 : type:Nodes, sons:2 child : 4 child : 5 Iterator time @ 0.000000 find time @ 0.000000 getSons time @ 0.000000 3

Wrong data stored in time only fields

only fields . The object and its date and time fields are the same as in the referenced thread. Except we are using ObjectDB 2.6.4_08, the system time zone is set to EST and both the OS and JVM are using the 2015g time zone data. While we cannot see a problem with date only fields (more testing

javax.persistence.TemporalType.TIME

JPA Enum Constant in javax.persistence.TemporalType TIME Map as java.sql. Time Since: JPA 1.0

Query Parameters in JPA

with different parameter values to retrieve different results. Running the same query multiple times ... . Queries can include multiple parameters, and each parameter can occur multiple times in the query ... is a third version of the same method, this time without parameters: public Country getCountryByName

Privacy Policy

device identifiers, browser type, browser version, the time and date of Your visit, the pages of our Website that You visit and Your actions on these pages, and the time spent on those pages ... experience and to avoid You having to re-enter your preferences every time You use the Website. Analytics

Literals in JPQL and Criteria Queries

are more generic and efficient because they can be compiled once and then run many times with different ... ' and 'ABC' are not equivalent. Date and Time Literals JPQL follows the syntax of SQL and JDBC for date literals: Date - {d 'yyyy-mm-dd'} - for example: {d '2019-12-31'} Time - {t 'hh:mm:ss

Index Definition

one. This may take a significant amount of time if many entity objects have to be examined. Using proper ... . Index management introduces overhead in terms of maintenance time and storage space, so deciding ... .BigInteger , java.math.BigDecimal. java.lang.String. java.util.Date , java.sql.Date , java.sql. Time

What are the main benefits of using ObjectDB?

By using ObjectDB you can reduce development time and costs and improve your application performance. Reducing Development Time and Costs ObjectDB makes database programming easier and faster ... to shorter time to market and saving in the total development time and costs. Improving Performance

JPA Primary Key

.lang.String. java.util.Date , java.sql.Date , java.sql. Time , java.sql.Timestamp. Any enum type ... an example, consider a real time system that detects events from various sensors and stores the details in a database. Each event is represented by an Event entity object that holds time , sensor ID

Setting and Tuning of JPA Queries

time flush at the EntityManager level: em. setFlushMode ( FlushModeType . AUTO ); // Enable query time ... supports the following query hints: "javax.persistence.query.timeout" - sets maximum query execution time ... .persistence.lock.timeout" - sets maximum waiting time for pessimistic locks, when pessimistic locking

FROM clause (JPQL / Criteria API)

response time . Database Management Systems (DBMS), including ObjectDB, try to optimize the execution ... , since the referenced  Capital objects are retrieved one at a time , i.e. the number of round trips ... _ TIME , CURRENT_TIMESTAMP,DELETE, DESC, DISTINCT, ELSE, EMPTY, END, ENTRY, ESCAPE, EXISTS, FALSE, FETCH

Eclipse Public License - v 1.0

license shall apply to the combination of the Contribution and the Program if, at the time ... cure such failure in a reasonable period of time after becoming aware of such noncompliance ... reserves the right to publish new versions (including revisions) of this Agreement from time to time

ObjectDB Website - Terms and Conditions of Use

of these restrictions and may be terminated by ObjectDB Software at any time . Upon terminating your viewing ... changes to the materials contained on its web site at any time without notice. ObjectDB Software does ... ObjectDB Software may revise these terms of use for its web site at any time without notice. By using

JPA Class Enhancer

Java code is useful, for instance, in implementing custom enhancement ANT tasks. Load Time (Java Agent ... the build process. To use load time enhancement in web applications the web server or application

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 This manual is divided into ... a short time . After reading this guide you may want to extend your knowledge of JPA by reading a book on JPA.  

Online Backup

that reflects the current date and time (e.g.  201912312359 ) is created under the backup root ... returns after the backup is started but at that time the backup operation may still be in progress

ObjectDB Object Database Features

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

Database Server

the server automatically at boot time and stop it at shutdown time , and on how to restart the server

Database Management Settings

. Indexing a large amount of data may take considerable processing time . The enabled attribute

JPA Entity Fields

for the first time ) is 1. For every transaction in which an entity object is modified its version number

ObjectDB License Agreement [ver. 2.0.4]

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

Schema Update

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

Numbers in JPQL and Criteria Queries

an extension). For example: MOD(11, 3) is evaluated to 2 (3 goes into 11 three times with a remainder of 2

Retrieving JPA Entity Objects

. Therefore, it is recommended to avoid unnecessary time consuming operations in no-arg constructors

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)

with millions of objects in the database there is a huge difference in query execution time if proper

Obtaining a JPA Database Connection

while at the same time sharing a single application-wide EntityManagerFactory . When the connection

Database Schema Evolution

entity class. This is done automatically in memory each time the entity object is loaded. The database

Database Connection using JPA

, but it is a one time operation. Once constructed, it can serve the entire application. Operations that modify

Entity Management Settings

. Usually, commit time only cascade (which is more efficient than double cascade) is sufficient

General Settings and Logging

of the subsystem loggers are currently undocumented and can change at any time without notice

Locking in JPA

time ) is 1. In every transaction in which an entity object is modified its version number

Database Explorer

with the query results, and the size of the result collection and the query execution time are displayed

javax.jdo.annotations.VersionStrategy.DATE_TIME

JDO Enum Constant in javax.jdo.annotations.VersionStrategy DATE_ TIME Since: JDO 2.1

[ODB1] Chapter 5 - JDO Connections

() method. Each time this method is called, a PersistenceManager instance representing a connection ... (userName, password); The settings of the PersistenceManagerFactory at the time of this operation ... , the transaction is expected to be completed, using the temporary file, the next time the database is opened

[ODB1] Chapter 6 - Persistent Objects

, every transient object that, at commit time , is reachable from a persistent object (using persistent fields ... it. Therefore, for efficiency sake, it is recommended to avoid time consuming operations in no-arg constructors ... to delete, embedded objects are usually more efficient in terms of execution time and database

[ODB1] Chapter 8 - ObjectDB Server

the server automatically at boot time and stopping it at shutdown time , or on restarting the server ... the maximum allowed connection inactivity time (in seconds). If a connection is inactive for more than the specified time the server may close it. The element The element lists all the users who are allowed

[ODB1] Chapter 3 - Persistent Classes

) must have a reference to an object whose type is persistent at storage time , e.g. an Integer , or null ... of non persistent types, at storage time . As an extension to JDO, ObjectDB supports storing instances ... (args); } } The eMain class ("enhancer Main") becomes the new entry point at development time . First

[ODB1] Chapter 4 - JDO Metadata

in terms of time and storage space. When extent management is not needed, it can be omitted by ... time with default values (e.g. new Integer(0) for a java.lang.Integer field, "" for a java.lang ... ;Index Definition Querying a large extent without indexes may take a significant amount of time

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

[ODB1] Chapter 2 - A Quick Tour

;Hello World The HelloWorld sample program manages a list of strings in the database. Each time ... : java Main George Bush 57 Each time the program is run, another Person instance is constructed ... a program entry point at development time . It starts by enhancing necessary classes (line 8). JDO

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

[ODB1] Chapter 9 - ObjectDB Explorer

with the query results and the size of the result collection and the query execution time ... of the default server configuration file the first time the server is run in the Explorer

[ODB1] Chapter 1 - About ObjectDB

in a very short time , because it is very easy to use. In fact, it is the easiest JDO implementation