JRuby

Support SQLite3 using JRuby

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: JRuby 1.1.2
  • Component/s: None
  • Labels:
    None
  • Environment:
    Mac OSX 10.5.2
  • Testcase included:
    yes
  • Patch Submitted:
    Yes
  • Number of attachments :
    2

Description

I think there should be support for the SQLite3 database using JRuby and ActiveRecord-JDBC since SQLite is now the default DB of Rails. I'm attaching a patch which is at least a good starting point for the driver.

All simple tests pass now, except for the rename column test since this feature is not natively supported in SQLite3.

Activity

Hide
Nick Sieger added a comment -

You might start looking to Rails native sqlite3 adapter for inspiration on how to solve some of the remaining issues.

Show
Nick Sieger added a comment - You might start looking to Rails native sqlite3 adapter for inspiration on how to solve some of the remaining issues.
Hide
Nick Sieger added a comment -

Thanks for working on this, this is really cool!

I committed the first patch; please pull from subversion and merge any changes you have if you could, please.

Leaving the ticket open for now, just keep attaching patches if you have more work.

Show
Nick Sieger added a comment - Thanks for working on this, this is really cool! I committed the first patch; please pull from subversion and merge any changes you have if you could, please. Leaving the ticket open for now, just keep attaching patches if you have more work.
Hide
Joe Athman added a comment -

here's another patch to apply. This implements the remove_column functionality and cleans up some other stuff. Now it will run all of the simple tests.

Show
Joe Athman added a comment - here's another patch to apply. This implements the remove_column functionality and cleans up some other stuff. Now it will run all of the simple tests.
Hide
Thomas E Enebo added a comment -

Assigning to Nick. Also indicating that it would be nice for this to be in AR-JDBC around same time we release 1.1.2 (it would be great to have working sqlite3 support for this)

Show
Thomas E Enebo added a comment - Assigning to Nick. Also indicating that it would be nice for this to be in AR-JDBC around same time we release 1.1.2 (it would be great to have working sqlite3 support for this)
Hide
Nick Sieger added a comment -

Thanks again for the patch. If you have any more, just open a new issue.

Show
Nick Sieger added a comment - Thanks again for the patch. If you have any more, just open a new issue.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: