Home » Search

About TemporalType

41-50 of 53Refresh
Forum
2

How to use JOIN FETCH?

.TemporalType; import javax.persistence.TypedQuery; public class Eager2 { public static void main ... @GeneratedValue private long id;   private String name;   @OneToMany   @MapKeyTemporal(TemporalType.DATE
Forum
2

java.sql.Timestamp.getTime() not working

(TemporalType.TIMESTAMP) public Timestamp loginAt; @Temporal(TemporalType.TIMESTAMP) public Timestamp
Forum
2

LifeCycle Event with Embeddable classes

= CascadeType.ALL, fetch = FetchType.EAGER) private List barList; @Temporal(TemporalType.TIMESTAMP ... Timestamp(System.currentTimeMillis()); }} @Embeddable public class Bar { @Temporal(TemporalType
Forum
2

Order in WHERE Clause affects behaviour on DATE/DATETIME columns

Quick example:  public class MyClass { @Column(name = "myText") String myText; @Temporal(TemporalType.TIMESTAMP) @Column(name = "myDate") Date myDate; } Now ... haven't declared the query parameter as TemporalType.TIMESTAMP. But when I write following query
Forum
2

Problem with entities detection

.persistence.TemporalType; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind ... ; @Column(name = "fecha_nacimiento") @Temporal(TemporalType.DATE) private Date fecha
Result
2

ObjectDB version 2.5.5

operator in some combinations of different wildcards. Fixed a bug in handling dates (TemporalType
Result
2

ObjectDB version 2.6.5

(feature request #1658). Fixed a bug in persisting dates (TemporalType.DATE) based on time close
Forum
2

_PersistenceException: Type is not found on getSingleResult.

identificacion;         private TipoIdentificacion tipo;         @Temporal(TemporalType.DATE
Forum
2

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

="birthdate")     @Temporal(value = TemporalType.DATE)     private Date birthdate
Forum
2

Error using query with MAX() function

remark; @Basic @Temporal(value = TemporalType.TIMESTAMP) private Date changeDate; public