Funny, I've only just seen this,

This is exactly the implementation technique we use for persistence of
our preside CMS objects, in fact its a technique also used by fourq i
believe.

this is not hard to achieve without any mods at all we're doing this
with BD now, getmetadata(this) within the component gives you all the
info you need in order to construct your own insert and update queries
and you're quite right Vince, why would you bother having hibernate
adding weight in the middle.

A

On Jul 9, 1:33 am, Vince Bonfanti <[email protected]> wrote:
> I'm on vacation next week, but maybe when I get back I can guide you
> through the initial implementation, if you're up for it. It looks
> pretty straightforward. For example, the following example from Ben's
> blog is basically defining a CREATE TABLE statement:
>
> <cfcomponent persistent="true">
>     <cfproperty name="BOOKID" column="BOOKID" datatype="integer" length="10" 
> />
>     <cfproperty name="AUTHORID" column="AUTHORID" datatype="integer"
> length="10" />
>     <cfproperty name="TITLE" column="TITLE" datatype="string" length="255" />
>     <cfproperty name="BOOKDESCRIPTION" column="BOOKDESCRIPTION"
> datatype="clob" length="2147483647" />
>     <cfproperty name="BOOKIMAGE" column="BOOKIMAGE" datatype="string"
> length="50" />
>     <cfproperty name="THUMBNAILIMAGE" column="THUMBNAILIMAGE"
> datatype="string" length="50" />
>     <cfproperty name="ISSPOTLIGHT" column="ISSPOTLIGHT"
> datatype="character" length="1" />
>     <cfproperty name="GENRE" column="GENRE" datatype="string" length="50" />
> </cfcomponent>
>
> Implementing the EntitySave() function would simply be an exercise in
> turning the above into an INSERT statement; again, very
> straightforward. I don't see any magic here, but you know how Ben
> loves his hyperbole. :-)
>
> On Wed, Jul 8, 2009 at 5:52 PM, Matthew Woodward<[email protected]> wrote:
> > Vince Bonfanti wrote:
>
> >> At first glance it looks like it would be pretty easy to mimic this
> >> implementation for OpenBD on Google App Engine (GAE). Actually, I
> >> don't think it would be too hard to implement this on "regular" BD,
> >> and would not require use of Hibernate.
>
> > I for one would love to see what we could do here.
> > --
> > Matthew Woodward
> > [email protected]
> >http://www.mattwoodward.com/blog
>
> > Please do not send me proprietary file formats such as Word, PowerPoint,
> > etc. as attachments.
> >http://www.gnu.org/philosophy/no-word-attachments.html

--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
 http://groups.google.com/group/openbd?hl=en
 official site @ http://www.openbluedragon.org/

!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---

Reply via email to