Hi Emmet,
emmettwalsh wrote:
What are the basic steps to getting appfuse 2 to work with hsqldb ?
1. I ran the maven command to create the archetype
2. I made hsqldb the default profile by adding a activation tag:
<profile>
<id>hsqldb</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
3.Do i need to download hsqldb myself or does maven download it? and do I
have to start it manually and create a schema ?
You don't need to download it, maven will do that for you. You can use
maven to build your db based on your model classes using Hibernate (it
may also work with Ibatis and/or JPA, but I've not used those). To
build your DB using Maven and Hibernate, run:
mvn hibernate:3:hbm2ddl to create your DDL
and then mvn dbunit:operation to create the DB, load it with any test
data you have in src/test/resources/sample-data.xml and then run your tests.
Hope that helps to get you started.
Cheers,
Rob Hills
Waikiki, Western Australia
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]