Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Store Arbitrary binary objects in a Database

Posted on 2004-08-18
4
204 Views
Last Modified: 2010-03-31
Hi Experts,
I need to store java binary objects into a database, i need to store arbitrary objects. I have seen JDO, like castor, but they're no good because they need to define an object descriptor, i need my objects to be serialized, just like the way the're serialized in files.


Thanks
0
Comment
Question by:tsunamiq8
  • 3
4 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 11830622
Just use a blob field and then use ObjectOutputStream
0
 
LVL 86

Accepted Solution

by:
CEHJ earned 500 total points
ID: 11830636
0
 

Author Comment

by:tsunamiq8
ID: 11830859
Than You CEHJ
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 11831044
8-)
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
eclipse shortcuts 9 63
check java version using powershell 13 177
going to wrong jsp page 2 33
Delphi Firemonkey: if the Sms contain special characters it won't send it 3 44
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question