Hi everybody,
I am currently working on finishing the support for scalar SQL queries,
and I am facing some doubt over how the createSqlQuery() function should
work now. The difficulty ist that the Type of the scalar result has to
be determined. There are various options:
- Let people pass in th
On Sat, 22 Jan 2005 11:54:44 +0100, Michael Gloegl <[EMAIL PROTECTED]>
wrote:
- Offering both 1 and 3 might also be an option, keep old queries
working and tell people to use 3 if they want to do scalar queries -
leads to API bloat and added confusion.
+1 and
Put the old one Class[] on the c
Hi,
- Offering both 1 and 3 might also be an option, keep old queries
working and tell people to use 3 if they want to do scalar queries -
leads to API bloat and added confusion.
+1 and
Put the old one Class[] on the classic session and deprecate it, and
the new one with Type[] on the new se
On Jan 22, 2005, at 1:49 PM, Michael Gloegl wrote:
Implemented that and added a revised patch too
http://opensource.atlassian.com/projects/hibernate/browse/HB-454
This was a long missing feature, thanks Michael.
--
Christian Bauer
+49 171 455 66 53
callto://christian-bauer
Hibernate
[EMAIL PROTECT
Hi,
is there any reason this
http://opensource.atlassian.com/projects/hibernate/browse/HB-132 was
never merged in? If there is not and its okay for you, I would clean it
up and implement it.
Michael
--
Michael Gloegl mail: [EMAIL PROTECTED]
www: http://www.gl
Michael Gloegl wrote:
- Let people pass in the resulting class, e.g. createSqlQuery("...",
{"user", "username"}, {User.class, String.class}). Then pass the
classname to heuristicType. This sucks, because heuristcType can not
guess fitting UserTypes and does not work at all for ParameterizedTypes
HB3 has now forked quite far away from that patch. However, you should
be able to make some quite small changes to HB3 to implement HB-132.
Michael Gloegl wrote:
Hi,
is there any reason this
http://opensource.atlassian.com/projects/hibernate/browse/HB-132 was
never merged in? If there is not an
Hi,
Talked with Gavin and we agreed on rolling back the API for scalar queries.
They are still usable via named queries in the alpha2 release and the H2
createSQLQuery API's
have been moved to classic session.
We will add a API to handle this better after the beta2 release.
I've committed the "r
What is the use case for Session.getEnabledFilter() ? What do I use it for?
To change parameters mid-session? Sounds dodgy to me.
If we are going to allow that, we should definitely also provide
Filter.disable(), to remove a filter.
--
Gavin King
+61 410 534 454
+1 404 822 8349
callto://gavin
I've fixed all the problems in src/ except for
ResultSetWrapper.
What's the story with ResultSetWrapper? Steve did
that for a customer. Are they actually using it?
Have they even tried it out? I am all for losing
it, unless someone is really using it in practice.
Emmanuel Bernard wrote:
We should r
10 matches
Mail list logo