From: <leg...@at...> - 2003-10-30 16:09:13
|
The following comment has been added to this issue: Author: Michail Jekimov Created: Thu, 30 Oct 2003 10:08 AM Body: I would wish something similar, but on the HQL level. We are using Hibernate with the Oracle DBMS and I would like to be able to use my own PL/SQL function in my HQL queries (I would pass some scalar value to this function and it would return another scalar value, just like a built-in TO_CHAR function). Another way to do that is to use session.createSQLQuery(), but I don't want to depend on SQL just for this need. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-158 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-158 Summary: Customizable SQL Type: New Feature Status: Unassigned Priority: Major Project: Hibernate2 Components: core Versions: 2.0.1 Assignee: Reporter: TURIN ACCOUNT Created: Tue, 8 Jul 2003 3:38 PM Updated: Tue, 8 Jul 2003 3:38 PM Description: Ability to be able to get the SQL Hibernate would send to the database for a given query, be able to look at it and possibly tweak it (as a String) and then allow Hibernate to continue - sending the SQL on its way to the database. This allows for subtle hints and other database tricks one is often forced to do when you don't "own" the datamodel. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |