Hello, Some queries with date/string comparison were working up to 6.1.7 but fail since 6.2.0. Here is a simple example that worked:
SELECT r FROM MyTable r WHERE r.startdate = '2023-05-15 00:00:00'
Now crashes with the following stacktrace:
The entity is pretty straightforward:
@Entity
@Table(name = "mytable")
public class MyTable {
@EmbeddedId
private IdTablePK tablePK;
@Column(name = "STARTDATE")
@Temporal(TemporalType.TIMESTAMP)
private Date startdate;
public Date getStartdate() {
return startdate;
}
public void setStartdate(Date startdate) {
this.startdate = startdate;
}
}
It might be related to #HHH-16605 ? |