1. Compare two dates with JPA stackoverflow.comI need to compare two dates in a JPQL query but it doesn't work.
Here is my query:
|
2. How to get the database time with JPQL? stackoverflow.comwith native SQL I get the database time with a statement like:
with JPQL I get the same result with:
Is there a way to get rid of ... |
3. Are there date functions available in jpql? stackoverflow.comI want to write query something like :-
How do i do this in JPQL? Are there any date parsing functions available?
|
4. Is there an equivelent of views in jpql? stackoverflow.comIf I have a complex where clause which varies only slightly between many queries, in SQL I would create a view based on most of the where clause, then query the ... |
5. Java: JPQL date function to add a time period to another date stackoverflow.com
In the above JPQL statement, SomeClass has a memebr dateAttr , which is a java.util.Date and has a @Temporal(javax.persistence.TemporalType.DATE) annotation.
I need ... |
6. JPA Date Arithmetic? stackoverflow.comIs it possible to perform date arithmetic using JPA/Hibernate? For example, I have an entity with a java.util.Date field indicating when the row was created. Is it possible to ... |
7. jpql limit number of results stackoverflow.comhow to limit the number of results from database when I don't care about the other?
|
8. Using JPA 2.0 Criteria API and cast causes generated JPQL to fail in Hibernate stackoverflow.comI am a first time user of the new JPA 2.0 Criteria API and I 'm running into a problem when I need to cast a number field to String to ... |
9. String functions in JPA in toplink (OAS 10.1.3.n) stackoverflow.comI am trying the following query:
againest toplink that is bundled with Oracle Application Server 10.1.3.3 but I got an error saying:
SUBSTRING token not recognized
The ... |
10. Compare date only (without time) in JPA2 (JPQL) stackoverflow.comIm trying to compare
|
11. set parameter which is null in @NamedQuery (JPA QL 1.0) stackoverflow.comI am writing a JPA QL named query that would search for documents. This should be done in only one query and I cannot switch to native SQL (that's non functional ... |
12. Database independent string comparison with JPA stackoverflow.comI'm working with JPA (Hibernate as provider) and an underlying MySQL database. I have a table containing every name of streets in Germany. Every streetname has a unique number. For one task ... |
13. how get entities where Date - Date > than n (seconds) stackoverflow.comI have a problem. Need get entities, where Date - Date > than n (seconds).
|
14. JPA string comparison stackoverflow.comI've written a simple login system using a JPQL query, which always returns no result:
|
15. Problem in Date comparision in JPQL coderanch.comHello Everyone, Is there any restrictions in JPQL for date equality comparision? My requirement is to get all the student's information based on the admission date. viz. If admissionDate is date-16.02.2010 time-15:03:08, then it should give me all the student's information who has admitted on date-"16.02.2010" time-"15:03:08" In my orm.xml mapping file, i've the following JPQL query defined: -----------clip--------- |
16. Problem in Date comparision in JPQL forum.hibernate.orgHello Everyone, Is there any restrictions in JPQL for date equality comparision? My requirement is to get all the student's information based on the admission date. viz. If admissionDate is date-16.02.2010 time-15:03:08, then it should give me all the student's information who has admitted on date-"16.02.2010" time-"15:03:08" In my orm.xml mapping file, i've the following JPQL query defined: -----------clip--------- |
17. Hibernate JPQL support for boolean literals forum.hibernate.org |