Home » Search

About date

101-110 of 195Refresh
Issue
2

Use temporary files to enable very large transactions

     @Temporal (TemporalType.TIMESTAMP)      private Date date;      /**       * Construct a new message and set its date to this time of instantiation.       */      public MessageImpl() {          super();          this.date = new Date();      }      @Override      public void
Forum
2

TemporalType injection with Calendar using JPA

When I use a java.util.Date as a field on this object there is no problem. However, if I use a java ... supports only java.sql.Date (or java.util.Date that is annotated as DATE). ObjectDB adds support of Time ... the millisecond value of the Date, and added some converter methods.   @Embeddable @Access(AccessType
Forum
2

Calendar in Criteria Querys

.sql.Date - representing date with no time. java.sql.Time - representing time with no date. java.sql ... of java.util.Calendar and java.util.Date, which eventually should be handled as one of the above value
Forum
2

com.objectdb.o.NLV cannot be cast to com.objectdb.o.CMV

class RecordingMetaData {     private Long id;     private Long version;         private Date startDate;         // Date: date part of startDateTime     private Date startTime;         // Time
Forum
2

Corrupted Database or error in ObjectDBExplorer?

have the up to date schema in the database. If this is the case, try to open the database with up to date ... the classpath. Removing that temporary persistent field, and again opening the database when the up to date ... had a value and that field exists in the up to date schema its value should be available
Forum
2

Entity listener - event instead of object

;             final String entityName = event.getEntity().getClass().toString();             final Date transTime = new Date(); // new Date(event.getSource().getTimestamp());             final EntityMode ... value: {}, new value: {}, actor: {}, date: {}", new Object[] { OPERATION_TYPE_UPDATE, entityName
Forum
2

EntityManager.refresh takes a long time

(Level.INFO, "begin select for person " + new Date().toString());                TypedQueryDate().toString());                for(Person person : persons) {         logger.log(Level.INFO, "begin refresh for person = " +             person + "  "+ new Date().toString());         em
Forum
2

java 8 LocalDateTime is not working in query

query = em.createQuery(     "SELECT t FROM Test t WHERE t.date BETWEEN :startDate AND :endDate ORDER BY t.date"); query.setParameter("startDate", LocalDateTime.now()); query ... : SELECT t FROM Test t New Java 8 date/time types are not supported by JPA yet. I don't want
Result
2

ObjectDB version 2.6.5

(feature 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).
Forum
2

can't get HashMap out of the database

Date signingDate; private HashMap map = new HashMapDate(System.currentTimeMillis()); map.put(name ... implements Serializable { private String name; private Date signingDate;     @OneToMany