Internal Website Search

1-11 of 11 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

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