Thanks, that helped!
If I want to create some initial items in a table when lift is started
first, where is a good point to do that?
I had a look a Boot.scala but couldn't find an entry point.
Tobias
> Right, sorry about that.
>
> On Apr 6, 10:01 am, Derek Chen-Becker wrote:
>
>> Actually,
Right, sorry about that.
On Apr 6, 10:01 am, Derek Chen-Becker wrote:
> Actually, Derby doesn't have an in-memory mode
> (http://db.apache.org/derby/faq.html#in_memory), and saves the data to disk
> by default. The JDBC connection URL determines the directory that Derby
> saves stuff in. In the
Actually, Derby doesn't have an in-memory mode (
http://db.apache.org/derby/faq.html#in_memory), and saves the data to disk
by default. The JDBC connection URL determines the directory that Derby
saves stuff in. In the ToDo app I believe it's "lift_example", which should
be in your project root dir
The default setup uses Apache Derby[1], which is an in-memory db.
You are free to use other DBs, most commonly used would be MySQL and
PostgreSQL, although there are others.
Take a look here,
http://wiki.liftweb.net/index.php?title=Cheat_Sheet#Connection_String_Quickies
[1] http://db.apache.org
Hi Derek,
This was something that confused me a bit, too. Which kind of database
is Lift using? Its not mentioned at all in the tutorial, or?
I just know it from Turbogears, that they had a tool that could play
with the underlying database and do stuff like delete all tables and
create new em
If you're talking about one of the archetypes (using Derby), just delete the
Derby directory in your project root. Otherwise, you could look at the
destroyTables_!! method on Schemifier. Could you give some more details?
Derek
On Sun, Apr 5, 2009 at 1:06 PM, Tobias Daub wrote:
>
> Hi There,
>
>