Skip to content
Switch branches/tags
Go to file
Cannot retrieve contributors at this time
<title>Sqlite | Ebean ORM</title>
<meta name="layout" content="_layout2/base-docs.html"/>
<meta name="bread1" content="Database platforms" href="/docs/database"/>
<meta name="bread2" content="Sqlite" href="/docs/database/sqlite"/>
<#assign n0_docs="active">
<#assign n1_platforms="active">
<#assign n2_sqlite="active">
To test using Sqlite set the <em>platform</em> to <code>sqlite</code> in
Refer to <a href="/docs/testing">docs / testing</a> if application-test.yaml doesn't exist yet.
<pre content="yml">
platform: sqlite # h2, postgres, mysql, oracle, sqlserver
ddlMode: dropCreate # none | dropCreate | migrations
dbName: test
The above will use the following defaults:
<table class="compact w100">
<h2 id="ebean-sqlite">ebean-sqlite dependency</h2>
We can use the <code>io.ebean:ebean-sqlite</code> dependency rather than <code>io.ebean:ebean</code> if we want to only
bring in the Sqlite specific platform code. Depending on <code>io.ebean:ebean</code> will bring in all platforms.
<@next_edit "ClickHouse" "/docs/database/clickhouse" "/docs/database/sqlite/index.html"/>