ObjectDB Database Search
1-50 of 200 resultsDate and Time in JPQL and Criteria Queries the results of predefined JPQL functions that return the current date and time . Current date and time ... when the query is executed: CURRENT _DATE : Returns the current date as a java.sql.Date instance. CURRENT _ TIME : Returns the current time as a java.sql. Time instance. CURRENT _TIMESTAMP : Returns the current | |
JPA Criteria Query Date/Time Extraction temporal components like year, month, or hour from date and time values. TemporalField # Base interface ├─ LocalDateField # Enum for Date fields ├─ LocalTimeField # Enum for Time fields └─ LocalDateTimeField # Enum for DateTime fields Date and Time components To extract a date or time component in | |
jakarta.persistence.TemporalType.TIME Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.TemporalType TIME Map as java.sql. Time Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.LocalDateTimeField.TIME Jakarta Persistence (JPA) Field in jakarta.persistence.criteria.LocalDateTimeField TIME The time part of a datetime. Since: Jakarta Persistence (JPA) 1.0 | |
Number of current connections Is there any way to find out the number of current connections to the DB server? natmaclin Natalia Levine Currently not. You may subscribe to this feature request and update it according to your needs. support Support | |
Is there an API to get the current version of ObjectDB that's being used? Is there an API to get the current version of ObjectDB that's being used? This would be very handy to have, because it is somewhat difficult to know what version of the ObjectDB you are currently using since the objectdb.jar filename remains the same for all versions (which is not a bad thing by | |
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 emhancement, but GlassFish invokes it automatically. Currently there is no setting in ObjectDB to disable the enhancer agent ... Q: Does run time enhancer due to GlassFish/Payara | |
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 | |
Time Sequence Object Command DB We (www.s2ssystems.com) have a time -sequential object command database. I would like ... of this database are: Each transaction has a time -stamp which is the time the transaction was added to the database. The user can efficiently restore the data-model to a specified time which requires | |
java.lang.NoClassDefFoundError: java/time/LocalDate date and time types) you have to use Java 8 or above, rather than Java 7 that you are currently using. support Support ... .objectdb.o.InternalException: java.lang.NoClassDefFoundError: java/ time /LocalDate java.lang.NoClassDefFoundError: java/ time /LocalDate at com.objectdb.o.VUT. (VUT.java:71) at com.objectdb.o.RAT.l(RAT | |
java.sql.Time field off by 30 minutes+30min time . rwaters Richard Currently there is no known bug that may cause this. Maybe ... Hihi, I'm wondering if this is a bug. I have a simple entity with java.sql. Time field. On writing ... Thank you for the test case. Here is a revised version that also prints the default time zone | |
Insert time increases as db grows.; then 11 seconds and so on. Should I change my config in some way to get more stable insertion time ... after every commit , to avoid further performance loss over time . support Support Well, I'm using Spring Data JPA ... the same results: insertion time grows as db grows. 4410 Arsenii I've just set enhancer as javaagent | |
ObjectDB Parsing taking huge processing time below, but it is taking a significant amount of processing time even though we don't have a large ... , which can be called many times per database to create database connections is much faster. That said, some ... data that shows where time is spent by this method. support Support Hi Team, We have taken thread | |
Open several objectdb databases the same time' that is currently in use by another process (error 141) at com.objectdb.jpa.EMF.createEntityManager ... -17_12.08.15\TC_9_2_3_1_8b@2015-09-17_12.08.15.pa3' that is currently in use by another process ... Golyshkin In embedded mode a database can only be accessed by one process at a time . The server mode | |
Retrieve latest entry in a time-series As mentioned elsewhere, subqueries are not currently supported. A subquery is the way that seems recommended to get only the latest entry in a time series (e.g. the latest time -clock entry for all employees). Is there an ObjectDB way to get the latest entry in a series?  | |
Does "error 522" (connect timed out) have something to do with restrictions despite license activation?.88.206:6136 (connect timed out) (error 522) at com.objectdb.jpa.EMF.createEntityManager(EMF.java:152 ... .181.88.206:6136 (connect timed out) at com.objectdb.o.MSG.a(MSG.java:77) at com.objectdb.o.CLS.x ... .SocketTimeoutException: connect timed out at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method | |
Maven driven compile time ehnancement classes during compile time . Just add the following to your pom.xml:   ... ; guest.Guest Actually, your phase is a better choice than mine, as mine only does compile time ... . support Support Ahh ok yes that makes sense. I've seen the issue many times in other systems | |
Compile time enhancement using build.xml of a Netbeans web application of a Netbeans web application project to specify ObjectDB compile time enhancement, for both single ... for Netbeans uploaded here would be very helpful. Until now I have been working with run- time enhancement ... enhancement and JRebel , as reported under: JRebel integration feature , so I want to try compile time | |
Query execution time issue about 10-12 seconds. If i remove ANY 5 left joins, query execution time drops to about 50 milliseconds. Adding a new left join on remaining 8 slows down query execution time drastically. Please help ... to, for exmple, 9 query execution time drops to about 60 milliseconds. Kind regards, Pero Pero | |
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 | |
JPA Persistable Types only once, even if they are referenced multiple times . Referencing instances of other persistable types from ... .util.Date , java.util.Calendar , java.sql.Date , java.sql. Time , java.sql.Timestamp, java. time .LocalDate , java. time .LocalTime , java. time .LocalDateTime , java. time .OffsetTime , java. time | |
FROM clause (JPQL / Criteria API), CURRENT _ TIME , CURRENT _TIMESTAMP,DELETE, DESC, DISTINCT, ELSE, EMPTY, END, ENTRY, ESCAPE, EXISTS, FALSE ... within a reasonable response time . Database management systems (DBMSs), including ObjectDB, try ... only over the neighbors collection for the current c1 . In this case, propagating the WHERE constraint to the FROM | |
JPA Class Enhancer.Enhancer If objectdb.jar is not in the current directory, a path to the file must be specified ... implementing custom enhancement ANT tasks. Load time (Java agent) enhancement Instead of enhancing classes ... , however, integrating the enhancement into the build process is recommended. To use load- 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 ... that any of the materials on its web site are accurate, complete, or current . ObjectDB Software may make changes to the materials contained on its web site at any time without notice. ObjectDB Software does | |
JPA Primary Key.lang.String . java.util.Date , java.sql.Date , java.sql. Time , and java.sql.Timestamp , java. time .LocalDate , java. time .LocalTime , java. time .LocalDateTime , java. time .OffsetTime , java. time .OffsetDateTime , java. time .Instant. Any enum type. A reference to another entity. Composite primary key | |
Query Parameters in JPA with different parameter values to retrieve different results. Executing the same query multiple times ... parameter can appear multiple times in the query string. A query can be executed only after you set values ... , this time without parameters: public Country getCountryByName( EntityManager em, String name | |
Database Explorer line as follows: $ java -jar explorer.jar If explorer.jar is not in the current directory ... the current database connection, use the File Close command. Viewing database content Viewer windows ... switches the current viewer to focus on that object. Executing queries The Query window on the left lets | |
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 times with different parameter values. Embed literals in JPQL queries only when a single, constant ... ) are case-sensitive, so 'abc' and 'ABC' are not equivalent. Date and time literals JPQL follows the SQL and JDBC syntax for date and time literals: Date: {d 'yyyy-mm-dd'} . For example: {d '2019-12-31 | |
Retrieving JPA Entities uses the no-argument constructor. Therefore, you should avoid time -consuming operations in ... the field from cascaded retrieval. (ObjectDB currently does not distinguish between these two annotations ... or @ManyToMany annotation enables cascaded retrieval for the field. (ObjectDB currently does not | |
General Settings and Logging. A new log file is also generated when the current log file exceeds the maximum size specified by the max ... for a specific ObjectDB subsystem. The names of the subsystem loggers are currently undocumented and can change at any time without notice. The supported logging levels are: fatal error warning info trace debug | |
JPA Optimistic and Pessimistic Locking after the current transaction retrieved it, so the current transaction is attempting to modify a stale version ... that another user (using another EntityManager ) has modified the object since the current transaction ... (from another EntityManager instance) currently holds a PESSIMISTIC_WRITE lock on that database object | |
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 Criteria Queries The Jakarta Persistence (JPA) Criteria API provides a type-safe, programmatic alternative to string-based JPQL for constructing dynamic queries, ensuring compile- time safety and facilitating ... (Note: Subqueries are currently not supported by ObjectDB). Top-level queries and subqueries share | |
Online Backup subdirectory is created in the backup root directory. The subdirectory's name reflects the current date and time (for example, 201912312359 ). The backup database file is then created in this new | |
Database Server.objectdb.Server If objectdb.jar is not in the current directory, you must specify a path to it. Running ... using the & character at the end of the command line). Start the server automatically at boot time | |
Setting and Tuning of JPA Queries: // Enable query time flush at the EntityManager level: em. setFlushMode ( FlushModeType . AUTO ); // Enable query time flush at the level of a specific query: query. setFlushMode ( FlushModeType . AUTO ... query hints: "jakarta.persistence.query.timeout" - Sets the maximum query execution time in | |
Index Definition entities must be examined, this process can take a significant amount of time . Using indexes avoids ... . However, index management introduces overhead in maintenance time and storage space. Therefore, you should choose ... .util.Date , java.sql.Date , java.sql. Time , java.sql.Timestamp Any enum type A reference | |
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 | |
jakarta.persistence.EntityManager that is currently associated with a persistence context. A detached entity is an instance with a persistent ... flush . The timing of the flush process depends on the flush mode , which may be set explicitly by ... to the current persistence context. Parameters: entity - entity instance Returns: boolean value indicating | |
jakarta.persistence.criteria.CriteriaBuilder to return current time . Returns: expression for current time . Since: Jakarta Persistence (JPA) 1.0 ... Persistence (JPA) 1.0 Expression localTime () Create expression to return current local time . Returns: expression for current time . Since: Jakarta Persistence (JPA) 1.0 Expression locate ( Expression x | |
Database Schema Evolution happens automatically in memory each time the entity is loaded. The object in the database is updated ... () if necessary). From String to numeric types, including enum types (when applicable). From any date/ time type to any other date/ time type. From any collection or array type to any other collection or array type |