[nhusers] is nested joined-subclass supported?

2009-10-27 Thread kasvis...@gmail.com
Hi, Is nested joined-subclass supported in Nhibernate. If yes how do i go about implementing it using Fluent Nhibernate. public class Animal { public virtual int Id { get; set; } public virtual string Name { get; set; } } public class Cat : Animal { public virtual int

[nhusers] Re: Encrypting binary columns

2009-10-14 Thread kasvis...@gmail.com
to implement this and let you know if it works. thanks On Oct 13, 4:34 pm, kasvis...@gmail.com kasvis...@gmail.com wrote: In the mapping file, I have declared the column as BinaryBlob. I am not sure if the EncryptedString could be used directly. On Oct 13, 3:34 pm, Tuna Toksoz tehl...@gmail.com

[nhusers] Encrypting binary columns

2009-10-13 Thread kasvis...@gmail.com
Hi, I am developing an application that is storing sensitive data. I have implemented the IUserType EncryptedString to encrypt and decrypt strings. But I also have a requirement to encrypt any attachments before saving it to the database. How do I go about implementing an IUserType for

[nhusers] Re: Encrypting binary columns

2009-10-13 Thread kasvis...@gmail.com
/tuna_toksozhttp://tunatoksoz.comhttp://twitter.com/tehlike On Tue, Oct 13, 2009 at 10:32 PM, kasvis...@gmail.com kasvis...@gmail.comwrote: Hi, I am developing an application that is storing sensitive data. I have implemented the IUserType EncryptedString to encrypt and decrypt strings

[nhusers] oracle auditing - dbms_session.set_context

2009-10-08 Thread kasvis...@gmail.com
Hi, I want to add auditing support to some of the transaction tables in the oracle database. The tables have the following columns for auditing purposes AddedOn AddedBy EditedOn EditedBy I have triggers setup on the table to insert records into the audit table whenever a record is modified or

[nhusers] Re: Batch feature in Oracle

2009-08-22 Thread kasvis...@gmail.com
I tried to use Nhibernate's batching feature (adonet.batch_size) in oracle database. Looks like its not supported. When I changed the configuration to hit the sql server DB, the batching worked. For some reason, setting the batch_size value to something other than 0 (I tried 10 and 100) in the

[nhusers] delete child item without loading the parent.

2009-08-18 Thread kasvis...@gmail.com
I have a need to create a bidirectional many-to-many mapping. I have implemented it as 2 many-to-many mapping. I have a User table. I need to keep track of the User friends. So for example if I add User2 as the friend of User1. Then when i load User2, I should see User1 as Friend of User2. I