title: Postgres ltree in hibernate query
body: <p>I use Play Framework 1.2.5.3 and PostgreSQL 9.x.</p>
  
  <p>I have class <code>WorkArea</code> as db model with field</p>
  
  <pre><code>@Column(columnDefinition = "ltree", insertable = false, updatable = false)
  public String tree;
  </code></pre>
  
  <p>In the postgre it is a database table <strong>workareas</strong> with field <strong>tree</strong> (type <strong>ltree</strong>)</p>
  
  <p>I want to use Hibernate query with postgres ltree operations. For example:</p>
  
  <pre><code>List&lt;WorkArea&gt; workAreas = WorkArea.find("tree @&gt; :tree").bind("tree", otherArea.tree).fetch();
  </code></pre>
  
  <p>Or </p>
  
  <pre><code>List&lt;WorkArea&gt; workAreas = WorkArea.find("ltree_isparent(:tree, tree)").bind("tree", otherArea.tree).fetch();
  </code></pre>
  
  <p>How can I do that?</p>