jpql
JPQL we can't CONCAT(String, Integer) EclipseLink?
In a JPQL query I tried to concatenate a string with a integer, using CONCAT JPQL function, in a select clause, for example:[详细]
2023-02-18 22:21 分类:问答JPQL SELECT between date statement [closed]
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.[详细]
2023-02-17 20:15 分类:问答Query needed to check if an email already exist in a DB(Java Persistence API)
I try to figure out what is the problem with this method that uses JPQL to validate if an email al开发者_如何学Cready exist in the DB, for some reason it does not work. Someone can have a look? Or giv[详细]
2023-02-15 07:14 分类:问答How does this SQL query translate to JPQL?
I´m trying to get accustomed to JPQL, but i´m already stuck. How does this: SELECT * FROM Table_a INNER JOIN Table_b USING (Table_bID) Where Table_b.Column_a LIKE \'somestring\'[详细]
2023-02-14 09:23 分类:问答JPQL: boolean expression in CASE WHEN needs explicit comparison with TRUE/FALSE?
I had tried the following: SELECT NEW com.kawoolutions.bbstats.view.ScheduleGameLine( ga.idAS gid , ga.scheduledTipoffAS scheduledtipoff[详细]
2023-02-10 15:04 分类:问答LEFT JOIN ON() in JPQL
I have two entities: User: id:long, name:String Player: id:long, owner:User, points:int Now I want to select a User and his associated Player in one JPQL query. In SQL I\'d do it like this:[详细]
2023-02-10 04:15 分类:问答JPA 2 "member of" syntax doesn't work with members of superclass
Basically i have a named query \"findServerWithNic\" which refuses to work: @Entity @Table(name = \"vnm_server\")[详细]
2023-02-08 07:19 分类:问答IN-clause in HQL or Java Persistence Query Language
I have the following parametrised JPA, o开发者_Python百科r Hibernate, query: SELECT entity FROM Entity entity WHERE name IN (?)[详细]
2023-02-07 01:20 分类:问答Generic approach of using LIKE, PERCENT and CONCAT in a JPQL query
I\'m doing some JPA 2.0 queries inside my JEE6-app, where I use Named Queries with Parameters. My current query is a \"find-by-all\" query with just one parameter.[详细]
2023-02-05 10:34 分类:问答How to write JPQL SELECT with embedded id?
I\'m using Toplink essentials (JPA) + GlassFish v3 + NetBean 6.9 I have one table with composite primary key:[详细]
2023-02-04 16:36 分类:问答