Advertisement

1 - 10 of 28 containing alltags:("hql") (0 seconds)
Here is an easy one. The next piece of code shows an HQL Query I am executing in my program. String queryString = "update Instance model set model.excluded = :value where model.label in (:instan...
Zones: EJB, BEA Weblogic Application Server, PL / SQ...Date Answered: 11/16/2008 Grade: A Views: 4
Could I somehow write this using hql, instead - or something that would give me the same result. rsList = session.createSQLQuery("SELECT {t.*}  FROM rfq_supplier_table {t} WHERE ({t}.supplier_nu...
Zones: JavaDate Answered: 04/07/2005 Grade: A Views: 0
I'm using HQL, which is Hibernate's SQL. I'm hoping it works I have the following HQL select distinct r from Release as r, ReleaseComponent as c where r.deploymentDate between :fromDate and...
Zones: MySQL ServerDate Answered: 05/03/2006 Grade: A Views: 163
Hi When I look for spa for exmaple, my code goes and grabs things like spanish How am I supposed to tell it to look for the whole word. I tried adding space at the end but didn't work How am I...
Zones: JavaDate Answered: 07/02/2006 Grade: A Views: 28
Hi I have a situation where devices in the field send their readings and is persisted every hour. The devices measure consumption with a counter (cumulative). This counter reading is persisted e...
Zones: Frameworks, MySQL ServerDate Answered: 09/10/2008 Grade: A Views: 235
I'm struggling with HQL, how can I do the same thing as this SQL statement: select horse_name.sire, sum(results.prize_money) as 'total_winnings' from horse_name, results where horse_name.horse_i...
Zones: SQL Syntax, Programming, JavaDate Asked: 10/21/2008 Points: 125 Comments: 2
assume that There is a column in a table that has the vaue of price = 0.90909090 (9 digit decimal) , in SQL server we can round the data from within the select statement : for instance to round by ...
Zones: J2EE, JavaDate Answered: 11/10/2008 Grade: A Views: 20
One thing that I always hated about SQL was that I always needed two versions of a query if one of the values needed to be tested against null. Yes, there is the nvl() function, but my understandin...
Zones: JavaDate Answered: 11/27/2005 Grade: C Views: 327
I am using Hibernate 3 and want to do a query akin to: SQL  select * from stuff where thingId in (1,2,3,4,5) Ok. Easy enough - and indeed, I could do that directly in HQL buy building the HQ...
Zones: JavaDate Answered: 11/02/2005 Grade: A Views: 131
Hi experts, I have a table, which has a start and end date, and i want to query, using Hibernate's query language, whether a given day falls between these two SQL dates.  Can anyone help me out?...
Zones: JavaDate Answered: 11/04/2005 Grade: A Views: 189