About date

101-110 of 200Refresh
Forum
2

em.flush(); em.clear(); loosing data and not persisting managed objects

is. This is just a sequence number) 3 - A Date object (I'm using its .toString() representation ... >
Forum
2

How to use JOIN FETCH?

; import java.io.File; import java.text.SimpleDateFormat; import java.util.Date; import java.util ... @GeneratedValue private long id;   private String name;   @OneToMany   @MapKeyTemporal(TemporalType.DATE)   private Map<Date,Address> addressHistory = new HashMap<Date,Address>();   public long getId
Forum
2

Possible issue with String fields

; String external_booking_ref; @Temporal(javax.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_identifier
Forum
2

Possible issue with timestamps

.creationDate < :endDate and pass the dates in as parameters it works correctly. I have attached ... ;                private Date creationDate = null;         private String firstname = null;         private String ... ) {             this.firstname = firstname;             this.lastname = lastname;             this.creationDate = new Date
Forum
2

Replication error on slave restart

- AND UP TO DATE] 3) I copied sm.db file to my PC and opened it with explorer [EMPTY] 4) I copied sm.odr ... , recording=true), restarted and opened it with explorer [DATA PRESENT - BUT NOT UP TO DATE ... IS UP TO DATE](how? why?) 3) made 1 change to master ODB 4) opened master DB with explorer (User table
Forum
2

First query takes 4+ minutes to complete

; : private Date startDate; // Date: date part of startDateTime private Date startTime ... records (date, extension combinations). This query takes more than 2 minutes to complete on average
Forum
2

openejb jpa jaas module

java.util.*; /** * Created with IntelliJ IDEA. * User: apple * Date: 31.01.2013 * Time: 06:01 ... .Principal; /** * Created with IntelliJ IDEA. * User: apple * Date: 02.02.2013 * Time: 23:15 ... .Serializable; import java.util.List; /** * Created with IntelliJ IDEA. * User: apple * Date: 27
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

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