In an application I am developing, I need to populate a database table based on the results of a Criteria API query that will be generated based on some user input (like filtering options for a report).
I understand that I cannot do inserts using Criteria API, so is there a way I could get the SQL query generated by NHibernate without actually executing the query? Because then, I could use that query as part of a native SQL query that can do the bulk insert. If not, is there another option? -- 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.
