Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
48 lines (40 sloc) 1.26 KB
<title>First entity | Intro | Ebean</title>
<meta name="layout" content="_layout/docs_intro_query.html"/>
<meta name="bread2" content="Query abstractions" href="/docs/intro/query-abstractions"/>
<#assign query="active">
<h2>Query abstraction levels</h2>
Ebean provides multiple levels of abstraction from <a href="orm-query">ORM Queries</a>, to
using a bit of SQL in our ORM query and all the way down to using straight SQL queries
with beans at all and down to JDBC directly.
As developers we want to stay at the highest abstraction layer (ORM queries) but as needs occur we
can drop down into bits of SQL and full SQL as needed.
<h5><a href="orm-query">ORM queries</a></h5>
<li>Pure ORM queries</li>
<li>Some SQL in the select or where clause</li>
<li>Using SQL (aka find native)</li>
<h5><a href="dto-query">DTO queries</a></h5>
<li>Using SQL</li>
<h5><a href="sql-query">SqlQuery</a></h5>
<li>SqlQuery using SqlRow</li>
<li>SqlQuery using RowMappers</li>
<h5><a href="jdbc-query">JDBC queries</a></h5>
<li>Straight use of JDBC</li>
<@next_edit "ORM Query" "/docs/intro/query-abstractions/orm-query" "/docs/intro/query-abstractions/index.html"/>
You can’t perform that action at this time.