On Tue, Mar 13, 2012 at 12:30 PM, Ramon Smits <[email protected]> wrote:
> On Tue, Mar 13, 2012 at 1:25 PM, Richard Birkby <[email protected]> wrote: > >> Embedded resource. This is probably the only time I've ever wanted to >> have it on disk so I can modify it in production.... >> > > Does a simple session.CreateCriteria<StaffUserProxy>().List() work? If > not, can you then post your class and your mapping? > > No - querying for a Proxy won't work...... session.CreateCriteria<StaffUser>().List() and session.CreateQuery("from StaffUser").List() both work. Users are extremely fundamental to our system. They work reliably everywhere - except in our latest release for one particular feature we have started seeing this exception. Richard
