JRuby

jdbcsqlite3 at JRuby on Rails do not work properly

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: JRuby 1.1.2
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    Windows XP Home
    JRuby on Rails using NetBeans6.1
  • Number of attachments :
    2

Description

I tried many times to implement a SQLite3 sample,then I got failure.
I could make local database creation using SQLite3.
After that when I tried to input data to this database,then I get exception in attachment.
What are wrong?

RoR Project : laszlocustomerapp
database: sqlite3
scaffold modelname: customer
field pairs: zip:integer address:string first_name:string last_name:string birthday:date tel:string mail:string mail_mobile:string note:string

  1. JIRA_Attachment.txt
    28/Jun/08 8:49 PM
    10 kB
    Sotohiro Terashima

Activity

Hide
Charles Oliver Nutter added a comment -

Can you provide a sample Rails app + script to reproduce the problem? That might help this move forward.

Show
Charles Oliver Nutter added a comment - Can you provide a sample Rails app + script to reproduce the problem? That might help this move forward.
Hide
Sotohiro Terashima added a comment -

I will attach the sample Rails app + script to reproduce the problem.

Sotohiro Terashima

Show
Sotohiro Terashima added a comment - I will attach the sample Rails app + script to reproduce the problem. Sotohiro Terashima
Hide
Rene Androsch added a comment -

I uploaded my sample app (migration) and output (mri, jruby113, jruby114) to JRUBY-2647.

Show
Rene Androsch added a comment - I uploaded my sample app (migration) and output (mri, jruby113, jruby114) to JRUBY-2647.
Hide
Miroslav Dubovsky added a comment -

See too my experience with Jruby and Sqlite: http://jira.codehaus.org/browse/JRUBY-2647

Show
Miroslav Dubovsky added a comment - See too my experience with Jruby and Sqlite: http://jira.codehaus.org/browse/JRUBY-2647
Hide
Sotohiro Terashima added a comment -

I found that Thomas E Enobo resolved JRUBY-2647,but when I tried JRUBY-2718 once again,got failure.

Environment:
NetBeans 6.5
JRUBY 1.1.6
activerecord-jdbcsqlite3-adapter(0.9) from GEM
jdbs-sqlite3 3.5.8
rails 2.2.2

Must we untill activerecord-jdbcsqlite3-adapter(0.91) from GEM?

Show
Sotohiro Terashima added a comment - I found that Thomas E Enobo resolved JRUBY-2647,but when I tried JRUBY-2718 once again,got failure. Environment: NetBeans 6.5 JRUBY 1.1.6 activerecord-jdbcsqlite3-adapter(0.9) from GEM jdbs-sqlite3 3.5.8 rails 2.2.2 Must we untill activerecord-jdbcsqlite3-adapter(0.91) from GEM?
Hide
Thomas E Enebo added a comment -

The fix I made will not show up until activerecord-jdbc 0.9.1 is released. It is fixed in trunk now. You could clone ar-jdbc repository and build it yourself if you want to verify this issue is fixed (repository information is at http://kenai.com/projects/activerecord-jdbc). Looking at the scaffold you are setting up I am fairly sure it will work now.

Show
Thomas E Enebo added a comment - The fix I made will not show up until activerecord-jdbc 0.9.1 is released. It is fixed in trunk now. You could clone ar-jdbc repository and build it yourself if you want to verify this issue is fixed (repository information is at http://kenai.com/projects/activerecord-jdbc). Looking at the scaffold you are setting up I am fairly sure it will work now.
Hide
Thomas E Enebo added a comment -

I did a nearly identical migration and app and it works. I am closing as fixed.

Show
Thomas E Enebo added a comment - I did a nearly identical migration and app and it works. I am closing as fixed.
Hide
Sotohiro Terashima added a comment -

I looked at Ruby Gems,but I could not find new Update.
By what means can I experience the reflection of your effort?

Show
Sotohiro Terashima added a comment - I looked at Ruby Gems,but I could not find new Update. By what means can I experience the reflection of your effort?

People

Vote (1)
Watch (3)

Dates

  • Created:
    Updated:
    Resolved: