paulfras wrote:
Trying to setup weblog in 10 mins tutorial with Derby and Activerecord-JDBC
Unfortunately, most info on the web for this tutorial uses MySql.

Migrate seems to work OK but the tables are not added to Database.

(in C:/Users/paulf/Documents/NetBeansProjects/MyRail)
== CreateMyentries: migrating
=================================================
-- create_table(:myentries)
   -> 0.3590s
== CreateMyentries: migrated (0.3590s)
========================================

Is this a known problem. I have tried many different db setups, paths etc.,
but none seem to work.

Thanks

Paul Fraser
That seems strange. Derby is one of the most solid implementations for AR-JDBC. We fixed that for Mingle. It seems that the tables get creates too. Are you sure you haven't created a JDBC url that include create=true?
In that case, the database will be recreated each time you connect to it.


Cheers

--
Ola Bini (http://ola-bini.blogspot.com) JRuby Core Developer
Developer, ThoughtWorks Studios (http://studios.thoughtworks.com)
Practical JRuby on Rails (http://apress.com/book/view/9781590598818)

"Yields falsehood when quined" yields falsehood when quined.



---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to