ObjectDB Database Search
151-200 of 200 resultsWrong data stored in time only fields This may be related to the fix for the problem described in this thread: Wrong data stored in date only fields . The object and its date and time fields are the same as in the referenced thread ... are using the 2015g time zone data. While we cannot see a problem with date only fields (more testing | |
query on calendar class'}? The only solution is keep time and date i other fields and do that same wiht DAY_OF_WEEK? Solek Henryk Walezy ObjectDB does not currently support extracting a day of week from a date (methods for extracting other date parts are supported by ObjectDB as an extension to JPA), so you should consider | |
Trouble bug on explorer.Serializable; import java.util. Date ; import java.util.List; /** * Created with IntelliJ IDEA. * User: apple * Date : 15.07.2012 * Time: 18:54 * To change this template use File | Settings | File Templates ... access; private int programType; private Date regDate; private Date regEnd; private String jxtaUUID | |
Composite Index error 328.jdo.annotations.Indices; import javax.persistence.*; import java.io.Serializable; import java.sql. Date ... Integer mail; private int access; private short programType; private Date regDate; private Date regEnd; private Date lastLogin; private String lastIp; private int flags; private String name; private String | |
Schema update: package, class and field one with the original name? Currently this works as we expected. Is it ensured that ObjectDB also in the future ... is that a coincidence? Example: Version 1: class A { String date ; } Version 2: class A { String old_ date ; //renamed Date date ; } Schema: .. .. We expect following: version1: ( date ="21.07.2015" )   | |
Entity listener - event instead of object Hi, Currently I'm playing with entity listener to implement auditing with difference between ... ().toString(); final Date transTime = new Date (); // new Date (event.getSource().getTimestamp());   | |
Replication error on slave restart that are currently offline. If a recording file is missing you will get the reported "Failed to synchronize ... opened master db with explorer [DATA PRESENT - AND UP TO DATE ] 3) I copied sm.db file to my PC ... [DATA PRESENT - BUT NOT UP TO DATE (more simular with slave)] So my answer for your question | |
Performance question e.g. a date field you want to query for. Is there an improvement in performance if I create a "mirror" date field in the original entity, removing the need to traverse through the referenced other entity? So, querying for "all objects with object.otherobject. date 1.1.1980" is slower | |
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 ... .objectdb.o.OBC.aF(OBC.java:742) longpat Brian O'Hare Calender is currently not one of the supported types for primary keys . JPA supports only java.sql. Date (or java.util. Date | |
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 | |
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 ... to distant file areas. Maybe depending on the creation date ? best regards Arne   | |
Query performance in general Hi ObjectDB team, we are currently investigating performance issues that affect some ... and date where id is indexed and date is not. Would it make sense to have "WHERE $1.id ... AND $1. date = ..." instead of "WHERE $. date = ... AND $1.id ..."? We saw that there is a special statement | |
ObjectDB and Spring Boot - sharing a simple working example; extends JpaRepository { List findAllByBirthDateBetween ( Date d1, Date ... findAllByBirthDateBetweenAndGe nder ( Date d1, Date d2, Person .Gender gender);   ... /spring- data / jpa / docs / current / reference / html / #jpa.query - methods.query - creation   | |
How to Use a SF with extended Persistence Context? for the guest in the DB. if it finds one it updater his date to the current date . if not, it stores a new ... it that will make it show each name only once with his last login date . The changes are as follows ... ; [org.jboss.as.security] (MSC service thread 1-9) JBAS013100: Current PicketBox version=4.0.7.Final | |
significant performance decrease to around 30% when the number of entities was just half of the current ). We tried to optimize the cache settings, current objectdb.conf is: Now the question is, are there settings to change the caching ... = 1L; @Id public String uUid; public Integer associatedFileCurrentVersion; public Date | |
What role is the JDO in ObjectDB? of JDO by ObjectDB is currently the most extended and up to date among all the JDO implementations ... Mike Keith believe the JDO is out of date . Then what role of JDO in ObjectDB? Will our codes with JDO be out of date ? Due in part to some of the failures of the EJB persistence model, and some | |
Possible issue with String fields.persistence.TemporalType. DATE ) Date start_dt; @Temporal(javax.persistence.TemporalType. DATE ) Date end_dt; @Temporal(javax.persistence.TemporalType. DATE ) Date new_end_dt; String vehicle_group; String vehicle | |
JSON serialization and __odbHidden members; " date ": "2015-10-30T17:25:55.359+03:00", "ua ... ; { "IP": "127.0.0.1", " date ... .0.1", " date ": "2015-10-30T17:25:55.359+03:00",   | |
jakarta.persistence.EntityTransaction.commit() Jakarta Persistence (JPA) Method in jakarta.persistence.EntityTransaction void commit() Commit the current resource transaction, writing any unflushed changes to the database. Throws: IllegalStateException - if EntityTransaction.isActive is false. RollbackException - if the commit fails. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.EntityTransaction.rollback() Jakarta Persistence (JPA) Method in jakarta.persistence.EntityTransaction void rollback() Roll back the current resource transaction. Throws: IllegalStateException - if EntityTransaction.isActive is false. PersistenceException - if an unexpected error condition is encountered. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.EntityManagerFactory.callInTransaction(Function), then the EntityManager is associated with this current transaction. If the given function returns | |
jakarta.persistence.EntityTransaction.setRollbackOnly() Jakarta Persistence (JPA) Method in jakarta.persistence.EntityTransaction void setRollbackOnly() Mark the current resource transaction so that the only possible outcome of the transaction is for the transaction to be rolled back. Throws: IllegalStateException - if EntityTransaction.isActive is false. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.EntityTransaction.getRollbackOnly() Jakarta Persistence (JPA) Method in jakarta.persistence.EntityTransaction boolean getRollbackOnly() Determine whether the current resource transaction has been marked for rollback. Returns: boolean indicating whether the transaction has been marked for rollback. Throws: IllegalStateException | |
jakarta.persistence.EntityManager.joinTransaction() to associate it with the current JTA transaction. Throws: TransactionRequiredException | |
jakarta.persistence.EntityManagerFactory.createEntityManager(SynchronizationType) with the current JTA transaction Returns: entity manager instance. Throws: IllegalStateException | |
jakarta.persistence.EntityManagerFactory.createEntityManager(SynchronizationType,Map) - how and when the entity manager should be synchronized with the current JTA transaction map - properties | |
jakarta.persistence.EntityManager.lock(Object,LockModeType,LockOption...) - if there is no transaction or if invoked on an entity manager which has not been joined to the current transaction. Since: Jakarta Persistence (JPA) 3.2 | |
jakarta.persistence.EntityManager.refresh(Object,LockModeType) on an extended entity manager that has not been joined to the current transaction and any lock mode other than NONE was specified. Since: Jakarta Persistence (JPA) 2.0 | |
jakarta.persistence.EntityManager.getFlushMode() Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager FlushModeType getFlushMode() Get the flush mode that applies to all objects contained in the persistence context. Returns: the current FlushModeType . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.EntityManager.lock(Object,LockModeType) to the current transaction. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.EntityManager.lock(Object,LockModeType,Map) to the current transaction. Since: Jakarta Persistence (JPA) 2.0 | |
jakarta.persistence.EntityManager.contains(Object) Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager boolean contains ( Object entity ) Determine if the given object is a managed entity instance belonging to the current persistence context. Parameters: entity - entity instance Returns: boolean value indicating | |
jakarta.persistence.EntityManager.refresh(Object,LockModeType,Map) on an extended entity manager that has not been joined to the current transaction and any lock mode other than NONE was specified. Since: Jakarta Persistence (JPA) 2.0 | |
jakarta.persistence.EntityManager.refresh(Object,RefreshOption...) entity manager that has not been joined to the current transaction and any lock mode other than NONE was specified. Since: Jakarta Persistence (JPA) 3.2 | |
jakarta.persistence.EntityManager.getProperties() of properties and hints currently in effect. Since: Jakarta Persistence (JPA) 2.0 | |
jakarta.persistence.SynchronizationType.SYNCHRONIZED Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.SynchronizationType SYNCHRONIZED Persistence context is automatically synchronized with the current transaction Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.SynchronizationType.UNSYNCHRONIZED Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.SynchronizationType UNSYNCHRONIZED Persistence context must be explicitly joined to the current transaction Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.EntityManager.merge(T) Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager T merge ( T entity ) Merge the state of the given new or detached entity instance into the current persistence context, resulting in, respectively, an insert or possible update when the persistence context | |
jakarta.persistence.EntityManager.find(EntityGraph,Object,FindOption...) other than NONE is specified or if invoked on an entity manager which has not been joined to the current | |
jakarta.persistence.EntityManager.flush() has not been joined to the current transaction. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.EntityManager.find(Class,Object,LockModeType) other than NONE is specified or if invoked on an entity manager which has not been joined to the current transaction | |
jakarta.persistence.EntityManager.find(Class,Object,LockModeType,Map) which has not been joined to the current transaction and a lock mode other than NONE is specified. Since: Jakarta Persistence (JPA) 2.0 | |
jakarta.persistence.EntityManager.find(Class,Object,FindOption...) other than NONE is specified or if invoked on an entity manager which has not been joined to the current | |
jakarta.persistence.Query.getLockMode() Jakarta Persistence (JPA) Method in jakarta.persistence.Query LockModeType getLockMode() Get the current lock mode for the query. Returns null if a lock mode has not been set on the query object. Returns: lock mode. Throws: IllegalStateException - if the query is found not to be a Jakarta | |
jakarta.persistence.PrimaryKeyJoinColumn.name Jakarta Persistence (JPA) Method in jakarta.persistence.PrimaryKeyJoinColumn String name (Optional) The name of the primary key column of the current table. Defaults to the same name as the primary key column of the primary table of the superclass ( JOINED mapping strategy); the same name as | |
Using SELECT BETWEEN with LocalDate Element e WHERE e. date between CURRENT _ DATE and : date " , Element. class ) .setParameter( " date " , date ) .getResultList() ; I get the following error for e. date in IntelliJ (Type mismatch: number, date ... I am trying to query all entities whose date is between today and today + X days. The date inside | |
java 8 LocalDateTime is not working in query. date BETWEEN :startDate AND :endDate ORDER BY t. date "); query.setParameter("startDate", LocalDateTime ... but it's working fine: SELECT t FROM Test t Joe Joe Khan New Java 8 date /time types are not ... to translate a value, which is at least a workaround. But ObjectDB currently doesn't support | |
JPA 2.2 LocalDate still not working challenges with supporting all the Java 8 date and time fields. They are currently supported ... . Otherwise, on retrieval a Date instance may be instantiated. Currently selecting such a field in the query ... (e.g. for LocalDate, and not all the Java 8 date and time types) can be added soon. support Support | |
ObjectDB 2 JDO Manual that keeping two manuals up to date is a lot of work, but I would suggest that you a least make ... has hundreds of thousands of current users. Most of those users are probably now looking for a new ... manual would likely be a good one. JPA would not be of interest to most people currently using Object | |
com.objectdb.o.InternalException: java.lang.ArrayIndexOutOfBoundsException: null; private Date createdTime; @Temporal(javax.persistence.TemporalType.TIMESTAMP) private Date modifiedTime; private @Index @Temporal(javax.persistence.TemporalType.TIMESTAMP) Date postTime;   |