File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How do we read an object in java which is stored in mysql as Blob data type

 
shailesh Kumar Prajapati
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do we read an object in java which is stored in mysql as Blob data type?
MySql Table stored classes Object, like
Class Student implements Serialized{
int roll;
String name;
String course;
Student(int roll, String course, String name)
{
this.roll=roll;
this.name=name;
this.course=course;
}
}
we creat the object of class
Student stud=new Student(1."ram","Java");
Mysql database table stored stud.

How we read and display the object & its containts
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33697
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's a good example of writing a Blob. It's easy to infer what the opposite would be.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic