Query q = em.createQuery(
"SELECT r FROM Reserve r WHERE cast(r.date as date) = :date");
Observera att den underliggande databasen måste stödja ANSI cast(... as ...)
syntax.
Query q = em.createQuery(
"SELECT r FROM Reserve r WHERE cast(r.date as date) = :date");
Observera att den underliggande databasen måste stödja ANSI cast(... as ...)
syntax.