I'm running into a problem currently. I'm trying to use nh to implement a
persistence service for windows workflow foundation, because the persistence
service that MS provides only supports MS sql server, I want to use it on
Oracle or other RDMS.

Because the persistence service serializes the workflow instance to binary
and save the whole infomation to database, and update it frequently. The
major problem is when I update or delete the entity from database, I have to
load the whole entity to memory. Because these workflow instances may be
large , I don't want to load it, and loading them is not necessary just for
deleting or updating. So I want to know what is the best way to deal with
blob on this scenario.  Maybe my question is, can I update or delete a
entity without loading it?

I have read this
post<http://blogs.hibernatingrhinos.com/nhibernate/archive/2008/11/17/lazy-loading-blobs-and-the-like-in-nhibernate.aspx>,
it gave me some ideas, but I think it can't solve my problem.

If I use StatelessSession, is it better than Session on this scenario?

Thank you very much.

-- 
Regards,
Karron

--~--~---------~--~----~------------~-------~--~----~
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