Hi Plen,
Try
IQuery iq = querySession.CreateQuery(select src from RptDocumentBase src
where
src.RptDocumentCore in (select srcc.DocCoreId from RptDocumentCore
srcc where contains(srcc.Body, 'florida')0)
this should return a List of RptocumentBase object.
On Wed, Aug 17, 2011 at 1:18 AM, PLen
Hi,
When initializing a collection, the prepared SQL that NH generates
comes back with an error saying
System.Data.SqlClient.SqlException: Invalid column name
'StructuredAddrsDistrict'.
However, the prepared SQL does not contain StructuredAddrsDistrict
anywhere in the SQL dump, it's always
ike, for me it seems that with your fluent code you are trying to map a
Dictionary instead of a plain collection... something like this should
work:
mapper.ClassYourClass(map = map.Set(p = p.CurrentlyReading,
set = set.Cascade(Cascade.All),
Apparantly the owner of the burrow project is no longer maintaining
it, and according to blog he has gone ruby (kailuowang)
--
You received this message because you are subscribed to the Google Groups
nhusers group.
To post to this group, send email to nhusers@googlegroups.com.
To unsubscribe
are you perhaps using a view or stored procedure?
--
You received this message because you are subscribed to the Google Groups
nhusers group.
To view this discussion on the web visit
https://groups.google.com/d/msg/nhusers/-/IB94rgbKq6gJ.
To post to this group, send email to
At the moment, my application uses parameterized-dynamic SQL however I
am considering making the switch to NHibernate. I don't have time to
convert the existing dynamic SQL to NHibernate. If I use ISession's
ability to enlist a IDbCommand will it invalidate NHibernate's 1/2
level cache or does
Is there any plan for it to be supported?
Currently it throws LockMode.Force is currently not supported for generated
version properties.
I can't see any technical reason why NH can't do it. One way I can think NH
can do it is to issue the following sql:
update entity set id = id where