On Thu, Dec 3, 2009 at 11:57 AM, Vince Bonfanti <[email protected]> wrote: > - You assume that using Hibernate provides more "powerful features" but > that's not necessarily the case--it may, in fact, be limiting. I don't know > if it's due to Hibernate, but in the current CF9 ORM implementation, I > believe that "persistent" CFCs are not allowed to contain functions or > pseudo-constructors.
Not true. Persistent CFCs in ACF9 are full function CFCs. I believe - but I'm not certain - that if you add functions, you introduce a performance overhead compared to simpler persistent CFCs but that's it. But, to back Matt up, yes, there are a lot of subtleties around Hibernate-based ORM that will take CFers a while to get their head around and it might be that CFC persistence can be handled in a more intuitive way. The CFML Advisory Committee did indeed mark ORM as vendor-specific for CFML2009 but the understanding was that this would be revisited for CFML2011 based on what the other engines decide to do in this area. FWIW, the Railo team are planning to integrate Hibernate matching ACF's implementation as closely as possible (but, hey, we're a JBoss project and so is Hibernate so it would be a bit odd if we didn't integrate Hibernate!). It's one of the most requested enhancements for Railo right now along with enhanced CFSCRIPT - both of which are targeted for our next major release. -- Sean A Corfield -- (904) 302-SEAN Railo Technologies US -- http://getrailo.com/ An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you're not really alive." -- Margaret Atwood -- Open BlueDragon Public Mailing List http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon mailing list - http://groups.google.com/group/openbd?hl=en !! save a network - please trim replies before posting !!
