Internal Website Search

81-90 of 200 resultsRefresh

Multi selection and distinct in a criteria query

distinct? I.e. doing something like SELECT DISTINCT $1, $2 wouldn't work because I do only have something like criteria.multiselect(...) and nothing like builder.distinct(selection) so that I could do something like criteria.multiselect(builder.distinct($1), $2

How to Remove records from many to many relationship tables in JPA

; , relations like @Entity public class TransportationEvent ... > here in database i have got another two table like Conclusion_TransportationEvent ... to delete conclusion table records like bellow: removeConclusions

Catching exceptions from online backup

the way we would like }); // Wait until the backup is completed. try {   ... >However the backupThread object has the exception stored in itself in field 'a', like u can see on the attached screen. jakab Gergely Jakab Please check build 2.8.9_02 with something like:

java.sql.Date equals comparison not working with CriteriaAPI

comparison with java.sql.Date value doesn't match any results in the database. Our code looks like ... >predicate yields in something like: $1.eintritt=2013-11-01 whereas as seen in my manual query string i do something like:

slow performance for a complex query

Hi, We have a query that is constructed dynamically, an example is like ... $3 WHERE ((UPPER($1.cdiId) LIKE 'THREAD14%') AND ((($1.parentOrgId='news') OR (($1.parentOrgId=$2 ... other way to specify execution order of query components for a complex query like this? Also, any advise

Spring MVC Errors

> and then when I try to start it anyways I get things like thaat: 2. like it should but in eclipse I still have a error like this: like in

Query to search for common elements in two separate collections.

two collections for identical members. Something like: Is something like this possible in the JPA spec? bensteele Ben Steele A possible efficient way ... Support Sounds like you are suggesting a solution to matching the entire contents

Issue with Casting / Joins

have is something like: @Embeddable public class EmbeddedBase ... tell me: 3. How to do this? I mean, how does such a cast look like and how do I know what the substitution looks like from the generated query? Alex quasado Alexander

How to store and compare Date up to sec.

How to store and compare date up to sec? By default it stores the dates like "23 ... sec("23 May, 2020 10:25:23 AM") like MySql and other db. They stores the date up to sec ... they are in memory. You can reset date part as you like, before the object is stored in

Externalising persistence.xml properties in Glassfish?

-source> <properties> <!-- TODO: I would like ... > Then in your server config you define every property as an argument to the JVM like this like a general question. Let me know