[Lift] Re: Reading BLOB (images) from database with Mapper
Hey David, Interesting, thanks excuse my ignorance, but will I need anything else to output those images from the database col? Cheers, Tim On 22/01/2009 19:15, "David Pollak" wrote: > Tim, > > Make it a MappedBinary field. That corresponds to MySQL Blob. > > Thanks, > > David > > On Thu, Jan 22, 2009 at 11:08 AM, Tim Perrett wrote: >> >> Hey guys, >> >> I usually use JPA for my persistence, but have a small project that I just >> need to bang out, so I thought id give Mapper a go. Before I get started, >> does anyone know how one would go about reading a BLOB from mysql that holds >> an image? >> >> Cheers >> >> Tim >> >> >> >> > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Reading BLOB (images) from database with Mapper
Tim, Make it a MappedBinary field. That corresponds to MySQL Blob. Thanks, David On Thu, Jan 22, 2009 at 11:08 AM, Tim Perrett wrote: > > Hey guys, > > I usually use JPA for my persistence, but have a small project that I just > need to bang out, so I thought id give Mapper a go. Before I get started, > does anyone know how one would go about reading a BLOB from mysql that > holds > an image? > > Cheers > > Tim > > > > > > -- Lift, the simply functional web framework http://liftweb.net Collaborative Task Management http://much4.us Follow me: http://twitter.com/dpp Git some: http://github.com/dpp --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---