Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
63 lines (52 sloc) 1.63 KB
<html>
<head>
<title>NuoDB | Ebean ORM</title>
<meta name="layout" content="_layout2/base-docs.html"/>
<meta name="bread1" content="Database platforms" href="/docs/database"/>
<meta name="bread2" content="NuoDB" href="/docs/database/nuodb"/>
<#assign n0_docs="active">
<#assign n1_platforms="active">
<#assign n2_nuodb="active">
</head>
<body>
<h2>NuoDB</h2>
<h3>Testing</h3>
<p>
To test against NuoDB docker test container set the <em>platform</em> to <code>postgres</code> in
<code>src/test/resources/application-test.yaml</code>
</p>
<p>
Refer to <a href="/docs/testing">docs / testing</a> if application-test.yaml doesn't exist yet.
</p>
```yml
ebean:
test:
platform: nuodb # h2, nuodb, postgres, ...
ddlMode: dropCreate # none | dropCreate | migrations
dbName: my_app
```
<h2 id="types">Types</h2>
<h5>UUID</h5>
<p>
NuoDB does not have a native UUID type. Instead this will be mapped to database <em>binary(16)</em> or
<em>varchar(40)</em> based on the setting of PlatformConfig.DbUuid.
</p>
<h5>Array types</h5>
<p>
NuoDB does not have array types and these types are instead simulated.
</p>
<h5>JSON</h5>
<p>
Properties with <code>@DbJson</code> and <code>@DbJsonB</code> are mapped to database varchar or clob.
</p>
<h2 id="history">History support</h2>
<p>
History support for NuoDB is provided by generating triggers and history table.
</p>
<h2 id="partitioning">Table Partitioning</h2>
<p>
NuoDB supports table partitioning but this is not supported by Ebean yet (via <em>@DbPartition</em>).
</p>
<@next_edit "ElasticSearch" "/docs/database/elasticsearch" "/docs/database/nuodb/index.html"/>
</body>
</html>
You can’t perform that action at this time.