When I create a tableadapter in VS2008 which calls the ora_hash function (oracle 10g db) AND if I pass the password string as a parameter password) rather than passing the password as a string ('hrss3k') I get a different hash value than if I execute the same hash statement in oracle.
I get matching hash value from my tableadapter as I get from sql-plus if execute the Tableadapter with a hardcoded password string...
My gut first told me that maybe when I define a parameter password) in my table adapter that it might be internally using this as a variant or something that pads with spaces before executing the TableAdapter... but I can't get around that if that is what is happening.
Does anybody have any gut reactions to this that might help me track down a way to figure this out?
I am going to post this same problem in an Oracle forum but I think I might be lucky to find any help on this issue.
Thanks!!!
I get matching hash value from my tableadapter as I get from sql-plus if execute the Tableadapter with a hardcoded password string...
My gut first told me that maybe when I define a parameter password) in my table adapter that it might be internally using this as a variant or something that pads with spaces before executing the TableAdapter... but I can't get around that if that is what is happening.
Does anybody have any gut reactions to this that might help me track down a way to figure this out?
I am going to post this same problem in an Oracle forum but I think I might be lucky to find any help on this issue.
Thanks!!!