<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cc="http://web.resource.org/cc/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">

			<channel>
			<title>ArgumentCollection - Broadchoice Engineering - Hibernate</title>
			<link>http://blog.broadchoice.com/index.cfm</link>
			<description>The Broadchoice engineering team blog.</description>
			<language>en-us</language>
			<pubDate>Mon, 06 Sep 2010 13:37:58 -0400</pubDate>
			<lastBuildDate>Wed, 22 Oct 2008 12:29:00 -0400</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>ac@broadchoice.com</managingEditor>
			<webMaster>ac@broadchoice.com</webMaster>
			<itunes:subtitle></itunes:subtitle>
			<itunes:summary></itunes:summary>
			<itunes:category text="Technology" />
			<itunes:category text="Technology">
				<itunes:category text="Podcasting" />
			</itunes:category>
			<itunes:category text="Technology">
				<itunes:category text="Tech News" />
			</itunes:category>
			<itunes:keywords></itunes:keywords>
			<itunes:author></itunes:author>
			<itunes:owner>
				<itunes:email>ac@broadchoice.com</itunes:email>
				<itunes:name></itunes:name>
			</itunes:owner>
			<itunes:image href="" />
			<image>
				<url></url>
				<title>ArgumentCollection - Broadchoice Engineering</title>
				<link>http://blog.broadchoice.com/index.cfm</link>
			</image>
			<itunes:explicit>no</itunes:explicit>
			
			
			
			
			
			<item>
				<title>Hibernate and Flex?  Please, dev in &quot;Debug&quot;!</title>
				<link>http://blog.broadchoice.com/index.cfm/2008/10/22/Hibernate-and-Flex--Please-dev-in-Debug</link>
				<description>
				
				If you&apos;re using Hibernate as the ORM behind a Flex application, I highly recommend running BlazeDS (or LiveCycle, or ColdFusion) with its services-config set to log &quot;Debug&quot; level to the console.

&lt;strong&gt;Why?&lt;/strong&gt;

Short version:  you may run a lot of unintended SQL, sometimes with really weird consequences.
				 [More]
				</description>
						
				
				<category>Hibernate</category>				
				
				<category>Flex</category>				
				
				<category>BlazeDS</category>				
				
				<pubDate>Wed, 22 Oct 2008 12:29:00 -0400</pubDate>
				<guid>http://blog.broadchoice.com/index.cfm/2008/10/22/Hibernate-and-Flex--Please-dev-in-Debug</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Groovy Multiline Strings + HQL = Bliss.</title>
				<link>http://blog.broadchoice.com/index.cfm/2008/9/16/Groovy-Multiline-Strings--HQL--Bliss</link>
				<description>
				
				In the &lt;a href=&quot;http://blog.broadchoice.com/images/Dashboard%20Alert.jpg&quot; target=&quot;_blank&quot;&gt;home screen / dashboard for the Broadchoice Workspace&lt;/a&gt;, the second folder (&quot;Spaces&quot;) in the tree on the left shows which workspaces Jack Conner participates in.

The data access method that generates this list shows one of my favorite things about combining Groovy and Hibernate:  using Groovy multiline strings to create and run an HQL query.

In Groovy, triple-quotes indicates a string that spans multiple lines, solving one of my least favorite things about Java / C# / many other languages:  writing well-formatted SQL was a pain.  ColdFusion handles this wonderfully with the CFQuery tag.  Groovy can be almost as pretty.  

Here&apos;s what the underlying method for that list looks like: very familiar for ColdFusion folks, especially for Transfer users:

&lt;code&gt;
List findUsersJoinedSpaces(User user)
{
	return getHibernateTemplate().find (
		&quot;&quot;&quot;
			select 
				membership.space
			from 
				SpaceMembership as membership
			where 
				membership.user = ?
		&quot;&quot;&quot;,
		user
	)
}
&lt;/code&gt;
				
				</description>
						
				
				<category>Groovy</category>				
				
				<category>Hibernate</category>				
				
				<pubDate>Tue, 16 Sep 2008 17:57:00 -0400</pubDate>
				<guid>http://blog.broadchoice.com/index.cfm/2008/9/16/Groovy-Multiline-Strings--HQL--Bliss</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Behind The Curtain</title>
				<link>http://blog.broadchoice.com/index.cfm/2008/9/7/Behind-The-Curtain</link>
				<description>
				
				&lt;p&gt;As you may have guessed from the content of our earlier blog posts, we&apos;re working on an AIR application that involves some sort of real-time collaboration. As you may also have guessed from the slower flow of postings since mid-August, we&apos;ve been &lt;strong&gt;very&lt;/strong&gt; busy working on that application!&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://blog.broadchoice.com/images/Dashboard Blog.jpg&quot; alt=&quot;Broadchoice Workspace blog&quot; width=&quot;325&quot; vspace=&quot;0&quot; hspace=&quot;5&quot; align=&quot;right&quot; /&gt;We&apos;re finally ready to start showing the world what we&apos;re working on and to talk about the concepts and technologies behind it. &lt;s&gt;We&apos;re also taking &lt;a href=&quot;http://www.broadchoice.com/&quot;&gt;early signups for the forthcoming limited beta program&lt;/a&gt;.&lt;/s&gt; [You can download the public release from the main Broadchoice website]&lt;/p&gt;
&lt;p&gt;This blog post contains the first public unveiling of  the application and its capabilities. The fundamental concept of the application is to provide a central way to collaborate with your colleagues (or friends). All users have a personal workspace containing files they have uploaded, a blog, a GTD-style task manager and useful bookmarks they have found.&lt;/p&gt;
&lt;div style=&quot;clear: both;&quot;&gt;&lt;/div&gt;
				 [More]
				</description>
						
				
				<category>Groovy</category>				
				
				<category>Hibernate</category>				
				
				<category>Flex</category>				
				
				<category>Beta</category>				
				
				<category>Spring</category>				
				
				<category>AIR</category>				
				
				<category>General</category>				
				
				<category>BlazeDS</category>				
				
				<pubDate>Sun, 07 Sep 2008 21:56:00 -0400</pubDate>
				<guid>http://blog.broadchoice.com/index.cfm/2008/9/7/Behind-The-Curtain</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Hibernate and Inheritance</title>
				<link>http://blog.broadchoice.com/index.cfm/2008/9/7/Hibernate-and-Inheritance</link>
				<description>
				
				I&apos;m already used to the magic that is Transfer and I can&apos;t imagine building a ColdFusion application without it. Adobe have said they&apos;re looking at integrating Hibernate into &quot;Centaur&quot; and showed some simple examples of how it might work in their keynote at CFUNITED (I expect we&apos;ll see more at MAX - you are going to MAX, right?). Hibernate is the de facto standard ORM for the Java world and it is very robust, scalable and feature-rich.

We&apos;ve been using Hibernate for a while to manage the persistence of our business objects and that has driven us toward Groovy for those business objects since, right now, you cannot use Hibernate with ColdFusion Components in any meaningful way and we didn&apos;t want to write all the verbose code that Java would require.

A &lt;a href=&quot;http://groups.google.com/group/transfer-dev/browse_thread/thread/75f86980c8831ac7?hl=en&quot;&gt;recent discussion on the Transfer mailing list&lt;/a&gt; has focused on how to model one-to-one relationships and why Transfer doesn&apos;t support them directly. This is one area in which Hibernate&apos;s features go far beyond what Transfer offers - and part of the reason for us to &quot;switch&quot; to Hibernate for future product development.

Another modeling quandary when it comes to persistence is how to handle inheritance.
				 [More]
				</description>
						
				
				<category>Groovy</category>				
				
				<category>Hibernate</category>				
				
				<pubDate>Sun, 07 Sep 2008 21:20:00 -0400</pubDate>
				<guid>http://blog.broadchoice.com/index.cfm/2008/9/7/Hibernate-and-Inheritance</guid>
				
			</item>
			
		 	
			</channel></rss>