Re: Object-Oriented database

2007-05-04 Thread Olexandr Melnyk

You can store any object as blob, but that's not a good idea (unless object
is atomic in terms of your application).

If you want to refer to your data in object-oriented manner, you can use one
of the ORM pattern implementations on the client sise.

As for a separate data type, no, MySQL doesn't have it.

-
Olexandr Melnyk,
http://omelnyk.net/

2007/5/4, sam rumaizan [EMAIL PROTECTED]:


Is there such thing call Object-Oriented database for mysql? Basically can
I store an item as an object in myql?






-
Looking for earth-friendly autos?
Browse Top Cars by Green Rating at Yahoo! Autos' Green Center.


RE: Object-Oriented database

2007-05-04 Thread Jerry Schwartz
If you serialize the object, you can store it in the data base as a blob.

Regards,

Jerry Schwartz
Global Information Incorporated
195 Farmington Ave.
Farmington, CT 06032

860.674.8796 / FAX: 860.674.8341


 -Original Message-
 From: sam rumaizan [mailto:[EMAIL PROTECTED]
 Sent: Friday, May 04, 2007 6:27 AM
 To: mysql@lists.mysql.com
 Subject: Object-Oriented database

 Is there such thing call Object-Oriented database for mysql?
 Basically can I store an item as an object in myql?






 -
 Looking for earth-friendly autos?
  Browse Top Cars by Green Rating at Yahoo! Autos' Green Center.





-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



RE: Object-Oriented database

2007-05-04 Thread David Griffiths
This really isn't what he's talking about - rather than storing data as
rows and tables, you store as objects and methods.

MySQL does not support this; you can get this sort of functionality
using something like Hibernate (an Object-Relational-Mapping tool),
which is free but has a learning curve.

David

-Original Message-
From: Jerry Schwartz [mailto:[EMAIL PROTECTED] 
Sent: May 4, 2007 6:36 AM
To: 'sam rumaizan'; mysql@lists.mysql.com
Subject: RE: Object-Oriented database 

If you serialize the object, you can store it in the data base as a
blob.

Regards,

Jerry Schwartz
Global Information Incorporated
195 Farmington Ave.
Farmington, CT 06032

860.674.8796 / FAX: 860.674.8341


 -Original Message-
 From: sam rumaizan [mailto:[EMAIL PROTECTED]
 Sent: Friday, May 04, 2007 6:27 AM
 To: mysql@lists.mysql.com
 Subject: Object-Oriented database

 Is there such thing call Object-Oriented database for mysql?
 Basically can I store an item as an object in myql?






 -
 Looking for earth-friendly autos?
  Browse Top Cars by Green Rating at Yahoo! Autos' Green Center.





--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:
http://lists.mysql.com/[EMAIL PROTECTED]


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]