About Date



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; // getters/setters } When I persist the class the transient 'boolean test' is stored in the database, maybe I am doing it wrong but I expect... private String string ; private Date date ;   @ Transient private boolean test ; ...


user defined backup file

We need a way to do a (online) backup to a user defined backup-destination. Maybe in that way: backupQuery.setParameter("targetfile", new java.io.File("/User/Backup/test.objectdb")); which creates a backupfile with the name 'test.objectdb" in the directory '/User/Backup/' or ... newly created backup database-file (in a subdirectory with date and time information), then move it to the real backup directory and ... an undocumented parameter that you can use to replace the date/time pattern with your own selected sub folder name: Query ...


@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 annotation doesent exist) ... converter = MyConverter. class ) private Date date ;   I've wrote a test on this, and seems that ...


Calendar in Criteria Querys

Hi, i am having troubles creating criteria querys for Calendar objects. As far as I can see CriteriaBuilder has no methods for checking if one Calendar is bevor or after another. Javas Calendar Class got such methods, but i dont know how to use those in my query. ... JPA supports 3 temporal types: java.sql.Date - representing date with no time. java.sql.Time - representing time with no ...



Set the filter for the query.(Method of javax.jdo.Query)



Specify the type of object in which to return each element of the result of invoking execute or one of its siblings.(Method of javax.jdo.Query)



Create an aggregate expression for finding the greatest of the values (strings, dates, etc).(Method of javax.persistence.criteria.CriteriaBuilder)



This annotation must be specified for persistent map keys of type java.util.Date and java.util.Calendar.(Annotation of JPA)


_PersistenceException: Type is not found on getSingleResult.

Greetings. I'm new to ObjectDB. I'm using an ObjectDB local database for a Java SE standalone application and i'm having issues querying for an object of this entity: ... @ Temporal ( TemporalType . DATE ) private Date fechaNacimiento ;   private String primerNombre ; ...


Is there an administration tool with which I could create extra indexes?

Hello, I have composite index, and it was working fine, but now I need to add more features to the software and I need to throw more indexes in there. I wanted to know what's the best way to do this. 1. Have some admin tool CREATE INDEX..... ON a.b or 2. add more @Index to the object entities. in case of #2, would ObjectDB auto-reindex all existing data? ... class. Open the database with the up to date class in the classpath in order to update the schema. Run ... be skipped if you run the Doctor (step 3) with your up to date classes in the classpath. ObjectDB Support ...