From: David J. <dav...@di...> - 2001-08-01 19:49:50
|
On the database side, I think you will have to experiment and see what works for your database. You may have to fiddle with the jaws type mapping. My impression is that different databases deal with blobs of binary data in vastly different ways, despite the sql "standard" and jdbc. I can't see any problem sending a byte[] to a cmp bean from a client. david jencks On 2001.07.31 19:13:23 -0400 Stephen J . Thompson wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello all, > > I want to store a picture in a CMP bean. I am wondering what would be the > > best data type to use? > > Should I use a byte[] and remap that to a blob? If so can that be passes > from > a java client to the bean? > > Thanks > > Regards, > > Stephen, > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.6 (GNU/Linux) > Comment: For info see http://www.gnupg.org > > iD8DBQE7ZzuTPmm0AnNwb5MRAuPBAJ4/0IRzwMS2WtNqzjg6kGV25//2XQCdEEaP > qqiCAPoBTVw9b992ewrOzKE= > =NRwm > -----END PGP SIGNATURE----- > > _______________________________________________ > JBoss-user mailing list > JBo...@li... > http://lists.sourceforge.net/lists/listinfo/jboss-user > > |