cancel
Showing results for 
Search instead for 
Did you mean: 

create a new H2 database

fahad1
Champ in-the-making
Champ in-the-making
From the "book cdi app" I learnt that the application creates h2 database by these properties..
  <bean id="processEngineConfiguration" class="org.activiti.cdi.CdiJtaProcessEngineConfiguration">
    <property name="dataSourceJndiName" value="java:jboss/datasources/ExampleDS" />
    <property name="databaseType" value="h2" />

Someone can tel me how to create a new DB of type h2 for my own application and what will be the schema?
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
H2 is an in memory database. Simply creating a connection to the database creates the database in memory.