Internal Website Search

1-10 of 200 resultsRefresh

java.sql.Timestamp.getTime() not working

Hi, I need to work with Timestamp diff in two entity fields, but this queries TIMESTAMP) public Timestamp loginAt; @Temporal(TemporalType.TIMESTAMP) public Timestamp registeredAt = AppCore.getTime

java.sql.Timestamp with milliseconds

/api/java/sql/Timestamp.html) @Id @Column(name = "STMP") @Temporal(TemporalType.TIMESTAMP) private Timestamp timestamp; However with ObjectDB the milliseconds ... milliseconds ? I am not particularly attached to using java.sql.Timestamp, but I would like

auto generate timestamp

Hi all, How can I create auto timestamping column? I want the database to generate the timestamp. I tried google but suggested solutions doesn't work in objectDB. http://stackoverflow.com/questions/811845/setting-a-jpa-timestamp-column

Possible issue with timestamps

(TemporalType.TIMESTAMP)         public Date getCreationDate

Number of current connections

Is there any way to find out the number of current connections to the DB server? natmaclin Natalia Levine Currently not. You may subscribe to this feature request and update it according to your needs. support Support

Is there an API to get the current version of ObjectDB that's being used?

Is there an API to get the current version of ObjectDB that's being used? This would be very handy to have, because it is somewhat difficult to know what version of the ObjectDB you are currently using since the objectdb.jar filename remains the same for all versions (which is not

TemporalType.TIMESTAMP

.persistence">javax.persistence.TemporalTypeTIMESTAMP Map as java.sql.Timestamp Since: JPA 1.0

Date and Time in JPQL and Criteria Queries

(a java.sql.Time instance). CURRENT_TIMESTAMP - is evaluated to the current timestamp, i.e. date and time (a java.sql.Timestamp instance). as results of predefined JPQL current date and time functions.

JPA Persistable Types

>java.sql.Date, java.sql.Time, java.sql.Timestamp. 23:59:59). java.sql.Timestamp - represents date and time (e.g ... time3; // Date and Time: java.sql.Timestamp dateAndTime1;

current()

.datastore">javax.jdo.datastore.SequenceObject current() Returns the current sequence value object if it is available. It is intended to return a sequence value object previously used. If the current sequence value is not available