ObjectDB Database Search

1-18 of 18 results

Order in WHERE Clause affects behaviour on DATE/DATETIME columns

Order in WHERE Clause affects behaviour on DATE/DATETIME columns

Finding an object by its datetime

Finding an object by its datetime

Date field Index is corrupted due to time change

        DateTime dt = null;         try {             dt = new DateTime (dtf ... ;    dt = new DateTime (dtf.parse("2015.12.09 10:59:57"), new Short((short)10), null

Wrong data stored in time only fields

that are a problem         DateTime dt = null;      ... DateTime (dtf.parse("2015.10.30 18:18:14"));           ... ;       dt = new DateTime (dtf.parse("2015.12.09 21:26:19"));   

Attempt to store an instance of a non persistable type

LocalDateTime dateTime = null; @Enumerated(EnumType.STRING) @JsonProperty private Level level = null ... = null; private Log(final Builder builder) { this.uuid = builder.uuid; this. dateTime = builder. dateTime ... ; } public Log(@JsonProperty("uuid") String uuid, @JsonProperty(" dateTime ") LocalDateTime dateTime

InterfaceRef jakarta.persistence.criteria.CriteriaBuilder

the value of a field extracted from a date, time, or datetime . Parameters: field - a temporal field type temporal - a date, time, or datetime Return: expression for the value of the extracted field ... Expression localDateTime () Create expression to return current local datetime . Return: expression

ClassRef jakarta.persistence.criteria.LocalDateTimeField

part of a datetime . Since: JPA 3.2 DAY The calendar day of the month, numbered from 1. Since: JPA 3.2 HOUR ... Since: JPA 3.2 TIME The plain part of a datetime . Since: JPA 3.2 WEEK The ISO-8601 week number. Since: JPA 3.2 YEAR The calendar year. Since: JPA 3.2

CriteriaBuilder.extract(field,temporal) - JPA Method

that returns the value of a field extracted from a date, time, or datetime . Parameters: field - a temporal field type temporal - a date, time, or datetime Return: expression for the value of the extracted field Since: JPA 3.2

InterfaceRef jakarta.persistence.criteria.TemporalField

JPA Interface TemporalField Type Parameters: - the resulting type of the extracted value - the temporal type (date, time, or datetime ) Each instance represents a type of field which can be extracted from a date, time, or datetime . See Also: LocalDateField LocalTimeField LocalDateTimeField CriteriaBuilder.extract Since: JPA 3.2

CriteriaBuilder.localDateTime() - JPA Method

JPA Method in jakarta.persistence.criteria.CriteriaBuilder Expression localDateTime () Create expression to return current local datetime . Return: expression for current timestamp Since: JPA 2.0

FieldRef jakarta.persistence.criteria.LocalDateTimeField.TIME

JPA Static Field in jakarta.persistence.criteria.LocalDateTimeField TIME The plain part of a datetime . Since: JPA 3.2

FieldRef jakarta.persistence.criteria.LocalDateTimeField.DATE

JPA Static Field in jakarta.persistence.criteria.LocalDateTimeField DATE The plain part of a datetime . Since: JPA 3.2

Java 8 time API

Hi.   Is Java 8 new DateTime API supported natively or through Converters in the newest versions of objectdb? If not, can we expect this feature in the next releases?   Best regards and congratulations on this awesome database.  Amsterdam Amsterdam Luís de Lima Filho It is not

Speeding up the creation of Log entity objects related to other objects

public class Log { @Id @GeneratedValue private long id; private LocalDateTime dateTime = null

Why are my Map entries not stored?

long id;     private LocalDateTime dateTime = null;     

java 8 LocalDateTime is not working in query

My entity class has a field of type java.time.LocalDateTime. I'm able to persist entities and I'm able to query without datetime field in where clause, but with datetime in where clause doesn't ... (LocalDateTime dateTime ) { return Timestamp.valueOf( dateTime ); } @Override public LocalDateTime

NPE at com.objectdb.jpa.JpaQuery.getResultList

(fromMomentPayload.get(" dateTime "))); Query q = em.createQuery(query); if (!all) { q.setMaxResults(maxResults); q ... ; query.orderBy(cb.desc(fromMomentPayload.get(" dateTime ")));         ... .sql.Timestamp dateTime ;     } }   support Support Unfortunately, I have not

NullPointerException when using multithreading

to store String, and Joda DateTime .  However the test code at this time is just storing