Skip to content

Instantly share code, notes, and snippets.

@rogerleite
Created August 18, 2008 16:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rogerleite/6017 to your computer and use it in GitHub Desktop.
Save rogerleite/6017 to your computer and use it in GitHub Desktop.
<defs>
<query>
<class>org.example.entities.Client</class>
<name>SEARCH_CLIENT</name>
<descr>Alguma descrição desatualizada.</descr>
<filter>
<![CDATA[
select id, column1, column2, column3
from tabela_exemplo
where id = ?
]]>
</filter>
<bindings>
<binding property="id" col="id" type="java.lang.String" not-null="true"/>
<binding property="campo1" col="column1" type="java.lang.String" not-null="true"/>
<binding property="campo2" col="column2" type="java.lang.String" not-null="true"/>
<binding property="campo3" col="column3" type="java.lang.String" not-null="false"/>
</bindings>
</query>
</defs>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment