ObjectDB Database Search
101-150 of 200 resultsCalendar in Criteria Querys temporal types: java.sql. Date - representing date with no time. java.sql.Time - representing time with no date . java.sql.Timestamp - representing both data and time. If possible, you should use these types instead of java.util.Calendar and java.util. Date , which eventually should be handled as | |
com.objectdb.o.NLV cannot be cast to com.objectdb.o.CMV Long version; private Date startDate; // Date : date part of startDateTime private Date startTime | |
Entity listener - event instead of object().toString(); final Date transTime = new Date (); // new Date (event.getSource().getTimestamp());   ... value: {}, new value: {}, actor: {}, date : {}", new Object[] { OPERATION_TYPE_UPDATE, entityName | |
Query performance in general 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 | |
Corrupted Database or error in ObjectDBExplorer?.TestCaseImpl but somehow the Explorer doesn't have the up to date schema in the database. If this is the case, try to open the database with up to date schema (your entity classes and XML metadata if any ... persistent field, and again opening the database when the up to date class is available in | |
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);   | |
Error using query with MAX() function @Temporal(value = TemporalType.TIMESTAMP) private Date changeDate; public int getId() { return id ... void setRemark(String remark) { this.remark = remark; } public Date getChangeDate() { return changeDate; } public void setChangeDate( Date changeDate) { this.changeDate = changeDate; } } public class | |
Problem of query With an aggregate function.nb4xx),SUM(h.nb5xx) FROM HttpEntity h WHERE h.host = :host and h. date _http BETWEEN to_ date (:startDate,'dd/mm/yyyy HH24:mi:ss') AND to_ date (:endDate,'dd/mm/yyyy HH24:mi:ss')"); listClassRepHost | |
How to Use a SF with extended Persistence Context? it that will make it show each name only once with his last login date . The changes are as follows ... for the guest in the DB. if it finds one it updater his date to the current date . if not, it stores a new | |
List of Enum Values in an entity.io.Serializable; import java.sql. Date ; import java.util.ArrayList; import javax.persistence.Entity ... Date signingDate; private GuestFlag status; private ... ; this.signingDate = new Date (System.currentTimeMillis()); this.flags = new ArrayList (); this.flags | |
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",   | |
Failed to read DB file while online backup is running; public void performTask( Date date ) { long wholestart = D.profile("Starting BackupDatabaseTask ... ; if(subdir.isDirectory() && ( date .getTime() - subdir.lastModified() INTERVAL_TO_KEEP_BACKUPS | |
significant performance decrease = 1L; @Id public String uUid; public Integer associatedFileCurrentVersion; public Date associatedFileLastModification; @Index public String classIdentifier; public Date created; // HS-778 public Map ... //@Index public Date modified; @Index public String nodePath; public Integer nodeToProcess; @Index | |
can't get HashMap out of the database Fields: @Id @GeneratedValue Long id; private String name; private Date signingDate; private HashMap ... = name; this.signingDate = new Date (System.currentTimeMillis()); map.put(name, signingDate.toString ... object is: @Embeddable public class Guest implements Serializable { private String name; private Date | |
How to use JOIN FETCH?. Date ; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.persistence ... ; @OneToMany @MapKeyTemporal(TemporalType. DATE ) private Map addressHistory = new HashMap ... ; } public void addAddress( Date start,Address address) { addressHistory.put(start | |
Setting temp directory location in ObjectDB operation only i.e. Date Modified time in the microsoft explorer window For example, parentfolder ... ; Date Modiefied parentfolder   ... ; Date Modiefied parentfolder   | |
JPQL JOIN FETCH Error publishers left join fetch metadata.contributors contributors left join fetch metadata. dates dates left ... metadata.contributors LEFT JOIN FETCH metadata. dates LEFT JOIN FETCH metadata.types LEFT JOIN FETCH | |
Roadmap - no progress - any plans - transparency?. Unfortunately we cannot provide a date for implementation of specific feature requests. ObjectDB 2.x ... release date for ObjectDB 3.0 yet, but it will not be before 2016. We understand that some customers ... features is the problem, and this why we will not commit to future dates . support Support | |
What role is the JDO in ObjectDB? 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 ... of JDO by ObjectDB is currently the most extended and up to date among all the JDO implementations | |
Problem with entities detection.io.Serializable; import java.util. Date ; import java.util.List; import javax.persistence.Basic ... _nacimiento") @Temporal(TemporalType. DATE ) private Date fecha_nacimiento; private int[] telefonos | |
Unable to persist fields in subclass(LocalDate date ) { if (dateOfBirth == null) { dateOfBirth = new SimpleObjectProperty ( date ); } else dateOfBirth.set( date ); } public ObjectProperty dateOfBirth() { return dateOfBirth; } } package miscTests | |
_PersistenceException: Type is not found on getSingleResult.; @Temporal(TemporalType. DATE ) private Date fechaNacimiento;   | |
Speeding up reporting queries with size() on list Hi, I'm working on some reporting stuff in our application. One of few different reports should include activity on last modified objects. The query for now looks like this: select date (insp ... Inspiration insp order by date (insp.lastModificationDate) desc insp.description is normal String | |
Database corrupted after schema change; private boolean deleted; private Date modificationTS; private transient boolean saving; private Date | |
Failed to commit transaction: Attempt to reuse an existing primary key value (613). @Test public void testONA() { try { SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy"); Date ... ", "Clark", "SmithClark", "ClarkSmith", "123456789", "jonsc@gmail.com", new Date (2001, 8, 1)); ev | |
virtual servers and one file to distant file areas. Maybe depending on the creation date ? best regards Arne   ... . Maybe depending on the creation date ? It depends on your schema. Assuming you want to simulate random | |
java.lang.NullPointerException when using ORDER BY; private Date startDateTime; // Time stamp: start of recording ... is also a Date member like r.startDateTime. prolancer Emil Andonov As I was writing the previous | |
Composite indexes (kitchen, bedroom etc.) Date lastModificationDate; // date of last modification Float rating; //users | |
Transaction isolation support? locking (unless disabled in the configuration). You can use refresh to get an up to date version ... . Anyway, you can always refresh the User instance to get up to date content. support Support | |
@Convert is not supported? Does objectdb jpa implementation support @Convert annotation? (convertion of property before persistance and vice versa) for example @Convert(converter = MyConverter.class) private Date date ; I've wrote a test on this, and seems that my Converters methods are not executed at all (like | |
java.sql.Timestamp.getTime() not working.sql types, including Time, Date and Timestamp are not supported directly. The workaround ... . Date instead of Timestamp if applicable. support Support | |
Is there an administration tool with which I could create extra indexes? it using the @index annotation in your entity class. Open the database with the up to date ... ) to build the new index. Step 2 may be skipped if you run the Doctor (step 3) with your up to date classes in the classpath. support Support | |
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 | |
schema update procedure on the client side is to synchronize all the persistable classes by sending the up to date schema of all these classes to the server. Therefore, the server should have the up to date schema as soon as | |
Recursive calls with @PreUpdate annotation and Glassfish OutOfMemoryError update(){ System.out.println(" ********* Called update() **********"); lastUpdatedDate = new Date ... ) line: 971 SimpleObjectDBTest$BaseEntity.__odbSet_lastUpdatedDate(SimpleObjectDBTest$BaseEntity, Date | |
java.lang.NoClassDefFoundError: java/time/LocalDate) { System.out.println(new Date ()); } gzdillon Lai Yang I removed the ObjectDB 2.8.6, and use ... date and time types) you have to use Java 8 or above, rather than Java 7 that you are currently using. support Support | |
user defined backup target Date /Time Information maybe: .. /Users/backup/mybackup.objectdb 2. What about the $odb File ... of the database file, and it would be located in a sub folder whose name reflects the date and time. Additional | |
Retrieve latest entry in a time-series; jshaffstall Jay Shaffstall The easiest solution is to order the results by date in descending order: SELECT FROM MyEntity e WHERE ... ORDER BY e. date DESC Then you can run | |
java.sql.Timestamp with milliseconds Using JPA with other providers java.util. Date will not provide support to store milliseconds, this can usually be overcome using (see here http://docs.oracle.com/javase/1.5.0/docs/api/java/sql ... .Timestamp, but I would like to use a single Date /Time field (ie, not milliseconds since the Epoch | |
Calculating age in query? Hi! I've got an issue: I have a birthdate as java.sql. Date and a separate field int age. However, of course the age is not accurate because it gets set only once. So what's the best bet (JPA ... ? thanks! Alex quasado Alexander Adam You can use a JPQL query with a simple date comparison: SELECT p | |
query hint nothing now. To check the up to date logging text of query plans that used that index run the query ... of the real queries. Although with an up to date hint text ObjectDB does use the index on the sample | |
Extending model by "common entity" { private String createdBy; private Date createdAt; private String modifiedBy; private Date modifiedAt | |
@Transient Hello, I have a persistent class which looks something like this: @Entity public class Test { private String string; private Date date ; @Transient private boolean test;   | |
ObjectDB for .NET (C# / VB) on the progress of this porting to .NET ? When is the expected date of release and what sort ... ObjectDB users (which use Java) are at higher priority - there is no target date for completing this feature request. support Support Is there a way to negotiate such priority (in terms of date , price | |
ObjectDB 2.6.5 request #1658 ). Fixed a bug in persisting dates ( TemporalType. DATE ) based on time close to clock change . Fixed a bug in indexing java.sql. Date fields during time / time zone change . Fixed a bug in detachment of embedded objects ( if enabled ). | |
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 ... ) for more documentation? This is one of the problems with JDO today: No new books and merely no up to date resources. You can either use DataNucleus documentation or the JDO specification pdf. If up to date | |
ObjectDB 2.3.6 LEFT OUTER JOIN. Fixed GROUP BY DATE (...) - merging AM and PM into the same date . | |
user defined backup file a subdirectory with date and time information), then move it to the real backup directory and delete ... It seems that there is already an undocumented parameter that you can use to replace the date /time pattern | |
ObjectDB 2.8.4 an Explorer bug in presenting composite IDs. Fixed a bug in using date and time query parameters in the Explorer ( issue #2587 ). Fixed a bug in using local dates with BETWEEN in queries ( issue #2583 | |
ObjectDB 2.5.5 some combinations of different wildcards. Fixed a bug in handling dates ( TemporalType. DATE |