Home » Search

About Timestamp

21-30 of 55Refresh
JDO Doc
5

javax.jdo.Query

class Date; or one of the java.sql classes Date, Time, or Timestamp; or a user-defined class
Issue
4

com.objectdb.o.InternalException: java.lang.ArrayIndexOutOfBoundsException: null

    @Unique     String url = "";     @Temporal(javax.persistence.TemporalType.TIMESTAMP)     private Date createdTime;     @Temporal(javax.persistence.TemporalType.TIMESTAMP)     private Date modifiedTime;     private @Index     @Temporal(javax.persistence.TemporalType.TIMESTAMP)     Date postTime
Forum
4

Entity with java.util.Date column gives ClassCastException in BIRT

: Cannot get the timestamp value column: 3.     org.eclipse.datatools.connectivity.oda.OdaException ;     java.lang.ClassCastException: java.util.Date cannot be cast to java.sql.Timestamp at org.eclipse ... .ClassCastException: java.util.Date cannot be cast to java.sql.Timestamp at com.objectdb.oda.ResultSet
Forum
4

Finding an object by its datetime

", Booking.class) .setParameter("btime", btime, TemporalType.TIMESTAMP); } @Entity public class Booking { @Temporal(TemporalType.TIMESTAMP) Calendar btime; }   I'm trying to search for the exact timestamp I persisted. This is a snippet of what I'm trying accomplish (won't compile
Forum
4

Setting temp directory location in ObjectDB

see that the parent folder OS timestamp changes, i just want to read the file. Ideally the OS timestamp ... timestamp of the fodler changes to the current time and a new temprory file is the created in ... parentfolder                       03/08/2011  10:42 Please let me know why the OS timestamp is changing
Forum
4

LifeCycle Event with Embeddable classes

= CascadeType.ALL, fetch = FetchType.EAGER) private List barList; @Temporal(TemporalType.TIMESTAMP) private Timestamp modifyDate; @PrePersist @PreUpdate void onPreUpdate() { modifyDate = new Timestamp(System.currentTimeMillis()); }} @Embeddable public class Bar { @Temporal(TemporalType
Forum
3

query on calendar class

;     private String A;     @Temporal(TemporalType.TIMESTAMP) private Calendar start; I tested: Query query ... Date or Timestamp as the field type instead of Calendar should work. Thanks for answer. I changed type of start field to: java.sql.Date, java.sql.Timestamp, java.util.Date with @Temporal(TemporalType
Forum
3

Queries are slow on a large database

; private Date timeStamp; private String messageName; private String messageDetail ... "/> I added a new index on timestamp:
Forum
3

TemporalType injection with Calendar using JPA

object as a primary key, which has time fields which I have annotated with TemporalType.TIMESTAMP ... ; private String periodType; @Temporal(TemporalType.TIMESTAMP) public Calendar getBeginTime ... ) { this.beginTime = beginTime; } @Temporal(TemporalType.TIMESTAMP) public Calendar
Forum
2

@Column( name = "columnName") doesn't work

{ @Id @GeneratedValue @Column(name = "KEY_ID") private long id; private Long timestamp ... ; ..... } And expected that after import data to DB, fields must be with following names: KEY_ID, timestamp ... like member defined in class id, timestamp, keyDescriptor, dataItems, codedDataBlock, level