Skip to content

szeiger/scalaquery-examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project should help you get started with ScalaQuery <http://scalaquery.org>.

You only need a JRE and sbt 0.11 <http://code.google.com/p/simple-build-tool/> installed.

1. Clone this project (or download it manually from
<https://github.com/szeiger/scalaquery-examples/archives/master>):

> git clone git://github.com/szeiger/scalaquery-examples.git

2. Run it with sbt:

> cd scalaquery-examples
> sbt update
> sbt run

All examples can be run as normal applications. "sbt run" will give you a menu
of all available examples:

* FirstExample: Start with this if you are new to ScalaQuery. It creates two
  tables, inserts some data and performs a number of queries.

* MultiDBExample: Shows how to write portable code based on a ScalaQuery
  profile and run it against different DBMSs.

* UseInvoker: Shows various ways of reading data from an Invoker.

* CallNativeDBFunction: Shows how to use a database function which is not
  provided by the ScalaQuery driver.

About

A sample project for getting started with ScalaQuery

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published