I did. There arent too many clear examples like where do I put the
<sql-query> ? 

Anyways, I finally found out that Hibernate's Postgres dialect does not
support resultsets from stored procedures.... :(

I guess I will go with iBatis.

praveen


mraible wrote:
> 
> Have you tried reading Hibernate's documentation?
> 
> http://www.hibernate.org/hib_docs/reference/en/html/querysql.html#sp_query
> 
> Matt
> 
> On 3/11/08, Aakhunaten <[EMAIL PROTECTED]> wrote:
>>
>>  I am using AppFuse 2.0.1 with Hibernate and PostgreSQL. I am not able to
>> make
>>  calls to stored procedures. I tried @NamedQueries and @NamedNativeQuery,
>> no
>>  luck. Maybe I am doing something wrong, maybe thats not even the right
>>  approach. In one of my earlier projects with AppFuse, i used iBatis coz
>> i
>>  could not get hibernate to work with stored procedures. This time
>> around, I
>>  would like to use Hibernate.
>>
>>  Any help would be much appreciated.
>>
>>  praveen
>>
>> --
>>  View this message in context:
>> http://www.nabble.com/How-to-call-a-stored-procedure-tp15992152s2369p15992152.html
>>  Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>>
>>  ---------------------------------------------------------------------
>>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>>  For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-call-a-stored-procedure-tp15992152s2369p16021373.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to