| Author |
Need a solution to convert the object get from a database into a public key
|
Kavitha Sundararaj
Greenhorn
Joined: Nov 25, 2004
Posts: 1
|
|
Hi, friends, run the following code: Table structure in Access: table name : table1 field name : pubkey ; Data type : OLE Object. I want to put this key in Oracle/SQL Server. For that, I have to use BLOB, and ntxt respectively. It is not working here. Please try this in Oracle/SQL also. Anyone give me the solution. [edited to add code tags and disable smilies] [ November 25, 2004: Message edited by: Jeanne Boyarsky ]
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26184
|
|
Kavitha, Welcome to JavaRanch! I think this is the root of the problem. Databases generally don't recognize objects. We usually get a binary stream and read it the object type we are looking for. Take a look at the ObjectInputStream and ObjectOutputStream classes.
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
 |
|
|
subject: Need a solution to convert the object get from a database into a public key
|
|
|