#Intro Very basic example of:
- Scala 2.9.1
- Maven
- Circumflex ORM
- MySQL
Create a blank MySQL database and update the pom.xml properties to match your MySQL configuration:
<orm.connection.driver>com.mysql.jdbc.Driver</orm.connection.driver>
<orm.connection.url>jdbc:mysql://localhost:8889/circumflex-orm-sample</orm.connection.url>
<orm.connection.username>root</orm.connection.username>
<orm.connection.password>root</orm.connection.password>
My development environment:
- Eclipse Helios 3.6.2
- M2Eclipse
- Scala IDE 2.0.0-beta10
To make the sample work with Scala 2.9.1 I had to recompile Circumflex. See this post how to compile and install Circumflex.
mvn clean compile cx:schema
mvn scala:run -Dlauncher=sample