ObjectDB Database Search
101-150 of 200 resultsAuto Date for Creation and Update" is called. Is java.sql. Timestamp not supported? Any ideas are welcome :) kind Regard, Thomas /** * Date and time when book author has been created. */ @Temporal(TemporalType. TIMESTAMP ) private Timestamp ... void onPrePersist() { this.created = Timestamp .valueOf(LocalDateTime.now(ZoneOffset.UTC)); } tlehmann | |
General Performance Issues Illustrated with a Specific Method createdBy; @Temporal(javax.persistence.TemporalType. TIMESTAMP ) private Date createdAt; @Temporal(javax ... (javax.persistence.TemporalType. TIMESTAMP ) private Date lastEditeAt; /* Retire Reversal Properties ... .TemporalType. TIMESTAMP ) private Date retiredReversedAt; /* Retire Properties */ private boolean | |
Calendar in Criteria Querys with no date. java.sql. Timestamp - representing both data and time. If possible, you should use these types ... java.util.List; import java.sql. Timestamp ; import javax.persistence.*; import javax.persistence ... ; ParameterExpression p = cb.parameter( Timestamp .class);   | |
Setting temp directory location in ObjectDB, I see that the parent folder OS timestamp changes, i just want to read the file . Ideally the OS timestamp should not change for the parent folder when the odb file open for read ... .getPersistanceManager() line gets executed, the see the OS timestamp of the fodler changes | |
Finding an object by its datetime", btime, TemporalType. TIMESTAMP ); } @Entity public class Booking { @Temporal(TemporalType. TIMESTAMP ) Calendar btime; } I'm trying to search for the exact timestamp I persisted. This is a snippet ... . I want to search for objects by exact timestamps . takada Takumi Adachi It should work | |
Entity with java.util.Date column gives ClassCastException in BIRT.engine.odaconsumer.OdaDataException: Cannot get the timestamp value column: 3. org ... : java.util.Date cannot be cast to java.sql. Timestamp at org.eclipse.birt.data.engine.odaconsumer ... .lang.ClassCastException: java.util.Date cannot be cast to java.sql. Timestamp at com.objectdb.oda | |
query on calendar class; @Temporal(TemporalType. TIMESTAMP ) private Calendar start; I tested: Query query=em.createQuery ... Walezy ObjectDB does not currently support extracting a day of week from a date (methods for extracting ... a Calendar to a Date . Using Date or Timestamp as the field type instead of Calendar | |
LifeCycle Event with Embeddable classes = FetchType.EAGER) private List barList; @Temporal(TemporalType. TIMESTAMP ) private Timestamp modifyDate; @PrePersist @PreUpdate void onPreUpdate() { modifyDate = new Timestamp (System.currentTimeMillis()); }} @Embeddable public class Bar { @Temporal(TemporalType. TIMESTAMP ) private Timestamp modifyDate | |
TemporalType injection with Calendar using JPA. TIMESTAMP When I use a java.util.Date as a field on this object there is no problem. However, if I ... ; private String periodType; @Temporal(TemporalType. TIMESTAMP ) public Calendar getBeginTime() { return ... (TemporalType. TIMESTAMP ) public Calendar getEndTime() { return endTime; } public void setEndTime | |
Database is locked when in use am using the JDO not JPA, and can you also please tell if i dont want the timestamp ... . support Support Thanks. How should i get rid of Timestamp directory ? I am going to use ... want all the odb files to be placed in "backup" directory not backup/[ timestamp ] directory | |
Query filter comparing Dates time only (e.g. 23:59:59 ). java.sql. Timestamp - represents date and time (e.g. 2019 ... time) when retrieved from the database. Timestamp is different, since it represents a point in time ... ) , but the parameter to the query is sent as java.util.Date , which by default is considered as a Timestamp | |
@Column( name = "columnName") doesn't work @GeneratedValue @Column(name = "KEY_ID") private long id; private Long timestamp ; @ManyToOne @Column ... , timestamp , KEY_DESCRIPTOR, DATA_ITEMS, codedDataBlock, level but them still not correctly mapped and stays like member defined in class id, timestamp , keyDescriptor, dataItems, codedDataBlock, level I | |
objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc-check") vs. generic classes with interfaces: detailed investigation output for entity classes. - I have also used UNIX file timestamp checking to ensure enhancement from ... (and timestamp checking of enhanced .class files indicates that no "automatic" enhancement has taken place ... operations. I checked the timestamp of the enhanced entity classes, and they are time-stamped | |
Error 363 - Failed to read value of inverse relationship(TemporalType. TIMESTAMP ) private Date signUpDate = new Date(), signInDate; @Embedded @OneToOne private ... @GeneratedValue private Long id; @Temporal(TemporalType. TIMESTAMP ) private Date sendDate = new Date ... . TIMESTAMP ) // private Date sendDate = new Date(); // // private String | |
ObjectDB is opening too many sockets, and we are now facing following issue. Object DB server is creating too many sockets. Currently ... has currently in use. I guess it kind of work correctly as the sockets were not increasing ... general. You can limit the size of the connection pool (the default in ObjectDB is currently 50), by | |
Migration problem class GenericEntity extends BaseEntity { @LastModifiedDate @Column(columnDefinition = " timestamp ... (columnDefinition = " timestamp default '2020-04-10 20:47:05.967394'", updatable = false) protected | |
Order in WHERE Clause affects behaviour on DATE/DATETIME columns Quick example: public class MyClass { @Column(name = "myText") String myText; @Temporal(TemporalType. TIMESTAMP ) @Column(name = "myDate") Date myDate; } Now, when querying the db with: Query q ... the query parameter as TemporalType. TIMESTAMP . But when I write following query: Query q = JPA.em | |
Group by date / time.t = new Timestamp (c.getTime().getTime()); em.persist(e1 ... ; private Timestamp t; } } should produce this output: [[2099, 12, 31, 11 | |
How to store and compare Date up to sec. How to store and compare date up to sec? By default it stores the dates like "23 May, 2020 10:25:23:112 AM" means date and timestamp including milisec but I want to store till sec("23 ... .com/questions/227007/resetting-the-time-part-of-a- timestamp -in-java support Support Hi Thank | |
java.sql.Time field off by 30 minutes well. Timestamp works perfectly fine. Ps. dont think its a UTC issue. My system is set at far off UTC+30min time. rwaters Richard Currently there is no known bug that may cause this. Maybe | |
Date field Index is corrupted due to time change; @Basic(optional = false) @Temporal(TemporalType. TIMESTAMP | |
ArrayIndexOutOfBoundsException Eibschutz Thank you for the update. Currently an ObjectDB server supports live schema changes ... timestamps have to be checked and only newer schema be accepted. Maybe schema changes should not be allowed without restarting the server. support Support | |
Replication error on slave restart that are currently offline. If a recording file is missing you will get the reported "Failed to synchronize ... . And as you can see I have useful field "updatedAt" which sets actual timestamp (GMT+0) everytime | |
Error using query with MAX() function @Temporal(value = TemporalType. TIMESTAMP ) private Date changeDate; public int getId() { return id | |
JPQL query to get entities that does not have a child entity in their child entities; Timestamp   | |
Dates to GMT, so in the database all the date and timestamp values are GMT. When the value is retrieved | |
Unexpected COUNT Results; SELECT $1.id FROM Pa3DataKey $1 WHERE $1. timestamp | |
Performance in SELECT statement; private long timestamp ; @Embedded   | |
Queries are slow on a large database; private String sendingNodeId; private String receivingNodeId; private Date timeStamp ; private String | |
Grouping by date();, so AM and PM timestamps got different date values. Please try build 2.3.5_01. support Support New | |
Wrong data stored in time only fields; @Temporal(TemporalType. TIMESTAMP ) public Date | |
Wrong data stored in date only fileds(TemporalType. TIMESTAMP ) public Date getStartDateTime() { return startDateTime; } public void | |
How to add different timezone Hi, Objectdb stores the local timezone .How can i store different timezone? Is there any db level configuration? Manoj Manoj Kumar Maharana ObjectDB stores dates as timestamps without time zones and on retrieval restores exactly the same date objects. Please provide more details | |
Optimization Question One of our uses for your ObjectDB software is in maintaining the current state of a large number ... to identify exactly what fields have changed from one update to the next. Currently the following ... currently doing is working. Currently updates come in via RMI so the application is receiving | |
Dependency from enhanced classes to the objectDB library are currently with compilation errors (JPA types are missing). support Support The target-platform does not refer to a single project, but refers to the current workspace. To add objectDB lib ... EmbeddedSystems Your test case and questions demonstrate the current limitations of using ObjectDB | |
Explorer in 2.3 - and that is slow if you have millions of objects. Currently the workaround is to use queries ... expressions in the execution tab. Try the following query: SELECT 2 + 3. This is currently ... ("mypassword") is currently not supported. Please provide a list of additional expressions that you need | |
virtual servers and one file of this? Our only current workaround is to swap out older Entities entirely, but of course ... drop. ObjectDB 2.x does use RandomAccessFile . ObjectDB 3.0, which is currently under development ... problem. The ObjectDB is currently a little over 3GB in size, the respective server service is assigned | |
evictAll() behavior the persistence manager (L1) cache. But evictAll does not affect objects that have been changed by the current ... managers. To undo changes of the current PersistenceManager you will have to invoke pm.refreshAll ... ." support Support "But evictAll does not affect objects that have been changed by the current | |
Exporting the data out of the ObjectDB Hi, We are currently looking at ObjectDB for high performance / high volume transaction processing ... connectors for this kind of request currently ? Appreciate your help. Thanks, Sandeep Sandeep Sandeep Dhamale Currently , migrating data between ObjectDB and other data stores requires writing | |
SelfTest and com.objectdb.Doctor. This technique is currently in use internally by ObjectDB tests. Not ideal (and obviously dedicated API would be much cleaner) but this could serve as an immediate solution for your current needs. support Support ... that is similar to the current online backup (i.e. by running a special query against the database). support Support | |
com.objectdb.o.InternalException: java.lang.ArrayIndexOutOfBoundsException: null; String url = ""; @Temporal(javax.persistence.TemporalType. TIMESTAMP )   ... . TIMESTAMP ) private Date modifiedTime; private @Index @Temporal(javax.persistence.TemporalType. TIMESTAMP ) Date postTime;   | |
combined index not used the current date (in your case the date of the last Action). The endDate is created as soon as an Action ... :notNull])" eval="0.9675" variable="a" / = current -java.sql.Date)),(a.state=3)),(a.subType=3)),(a.type=0 ... ="[]" = current -java.sql.Date)),(a.state=3)),(a.subType=3)),(a.type=0)) v$1:bound(a.objectsInCharge | |
Best practice for history tracking We would like to add to records start and end timestamp fields. When end field is null, it indicates the last version of this item. Few questions: in terms of performance, what would be faster, having a single timestamp and looking for the top1 when ordered by time or the above solution, looking | |
NPE at com.objectdb.jpa.JpaQuery.getResultList.sql. Timestamp dateTime; } } support Support Unfortunately, I have not | |
Exception in thread "ODB-StoreHandler-5094" java.lang.NullPointerException to these failures, as there are no timestamps that I can use for cross-referencing. Can you please determine root | |
ObjectDB internal error on 2.6.5 for some query which worked on 2.6.4="MESSAGE" OR $1.keyDescriptor.name="CONTEXT")) ORDER BY $1. timestamp 1. Priority HIGH since affected | |
Use temporary files to enable very large transactions the current transaction after creation. Unfortunately, we will receive an OutOfMemory exception ... results), currently the size of a transaction (i.e. the total size of database pages ... ). However, if you are interested in a quick solution, we may be able to increase the current maximum from heap size | |
queries under 2.7.6_4 significantly slower than under 2.7.6. support Support currently we have no chance to really test that with all the sub versions ... from 2.7.6? Is there any other change in a newer build that you currently need? support Support Currently there is no need for us to upgrade, we did not know if you continue to work on a hintless | |
Best practise loading big data Hello, currently we take some effort to improve the overall performance of our product. ObjectDB ... The current reading scenario is scetched here: Open DB connection to existing DB with one persisted ... is that currently we have no other chance then to cut transitions or flush or clear or close from | |
missing merger to the current database (will take some more minutes until available https://www.dropbox.com/scl/fi ... ? after running the doctor it is running now, but currently there is nearly no activity by the way ... our tests include all that but do not produce the errors. support Support we are currently |