Blog

Blog Archives - 5 Record(s)

Remove Filter Year: '2012'

ContentBox Modular CMS at the South Florida CFUG

Posted by Luis Majano
Sep 13, 2012 15:55:12 UTC
I am glad to go back to my adoptive home, Miami next week and present at the South Florida CFUG on ContentBox Modular CMS September 20th, 2012.  We will be showcasing our next ContentBox version 1.0.7 and have some great goodies for everybody.  You can read all about the event here.  Hope to see you there!

ColdBox Developer Week - Free Training 4 All

Posted by Luis Majano
Jul 02, 2012 14:04:16 UTC

The ColdBox Engineering Team are proud to announce the first ever ColdBox Developers Week to conmmemorate the ColdBox Platform 3.5 launch and the upcoming ContentBox CMS launch.

It will be a week long series of FREE and live webinars hosted by the ColdBox Team and seasoned ColdBox developers from around the world. These sessions will cover from the basics and essentials of ColdBox and its internal libraries to very advanced topics like AOP, Cloud Development, ORM enhancements, Flex Integrations and so many more.

Read all about it in the engineering blog.

 

ContentBox in San Francisco March 2

Posted by Luis Majano
Mar 05, 2012 09:41:50 UTC

Just a little note that I will be presenting on ContentBox, our new open source CMS, in the San Francisco ColdFusion User Group March 2, 2012.  The meeting starts at 6:30 pm and we will be reviewing, installing and configuring ContentBox!  So if you will be in the area, come and join us, hang out and geek out!

Meetup link: http://www.meetup.com/bacfug/events/51163792/

Hope to see you there!

CF ORM – A collection with cascade=”all-delete-orphan” was no longer referenced by the owning entity instance

Posted by Luis Majano
Jan 17, 2012 22:17:25 UTC
Have you experienced this incredibly odd error using ColdFusion ORM:

HibernateException – A collection with cascade=”all-delete-orphan” was no longer referenced by the owning entity instance

This is really cryptic and most likely you have a parent to child relationship and you are most likely wiping or wanting to wipe all the references of the child.  We usually can do this via:

// wipe out the children

parent.setChildren( [] )

We then proceed to maybe put more children into the collection:

parent.addChild( objX );

parent.addChild( objY );

// Now save

transaction{

entitySave( parent );

}

This is where you get that magical Hibernate error. The issue is that the existing collection is now de-referenced, you completely wiped it so Hibernate has no clue what to do with it. So to resolve this, just clear the collection instead and voila!

// use java

parent.getChildren().clear();

// or use CF

arrayClear( parent.getChildren() );

That's it, this tells Hibernate that the collection is removed first and then you added some more children.

Presenting at the Houston User Group

Posted by Luis Majano
Jan 05, 2012 10:26:21 UTC
I am very excited to be lined up to present at the Houston User Group next week on our new project at Ortus Solutions, ContentBox.

For those of you who do not know what ContentBox is, here is a little insight.  ContentBox is our next major project here at Ortus Solutions, which is a highly modular content platform based on ColdBox architecture and modules.  It is a set ofColdBox modules that work in unison to provide you with blog, cms and development capabilities.  It is still in private alpha, but you can be part of it if you like by just requesting it: [email protected].  The major difference than traditional blogs or cms, is that ContentBox is highly extensible via ColdBox features and event driven programming.  You can easily extend it and create other modules that function outside of ContentBox with their own DI, caching, SES, or extend the content as well.

Site Updates

Archives

Entries Search