in 2.1 there is a way

http://fabiomaulo.blogspot.com/2009/05/nh21-executable-hql.html

Tuna Toksöz
Eternal sunshine of the open source mind.

http://devlicio.us/blogs/tuna_toksoz
http://tunatoksoz.com
http://twitter.com/tehlike




On Thu, Jun 18, 2009 at 7:24 AM, topherdel <[email protected]> wrote:

>
> How do I execute an insert statement using NH v1.2.1?
>
> From what I am seeing, HQL, IQuery, SqlQuery are all select queries.
> I created a SqlCommand and assigned it the nhibernate session's
> connection but when executing the command, it complains of a missing
> transaction.  I am unable to assign the transaction to my command
> object because I am unable to the to the ado transaction object used
> by session.  How do I execute insert's?
>
> Thanks,
> Chris.
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to