This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The jdbcmysql and jdbcpostgresql adapters allows to use more Rails like configuration in database.yml, which in turn should make the create:db task work with JDBC connections as well.
After giving this a second thought, I'm downgrading this to P3 on the basis that for MySQL we already have create db functionality that works with JDBC too. Targetting 6.5 nevertheless.
This change affects the documentation (setting-up.html), the book, as well as this FAQ: http://wiki.netbeans.org/FaqRailsJRubyDatabaseAccess. Making a note of this here so I will remember to make these changes when this gets fixed.
*** Issue 138527 has been marked as a duplicate of this issue. ***
See also issue 138527 and http://jira.codehaus.org/browse/JRUBY-2715.
Working on this now. Also need to make sure that the Rails project generator uses the jdbc<db> adapters in database.yml when it makes sense, i.e. at least for JRuby + Rails 2.2, possibly always for JRuby.
Integrated into 'main-golden', will be available in build *200812110201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/78191d62ca77 User: Erno Mononen <emononen@netbeans.org> Log: #138316: Bundle jdbcmysql and jdbcpostgresql adapters - part 1: enabling use of jdbc-mysql in the rails project wizard
The necessary drivers and adapters for both MySQL and PostgreSQL are bundled now. The relevant changeset are annotated, the last one is 5cb92b996274.
Integrated into 'main-golden', will be available in build *200812121401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/5646ee5117e8 User: Erno Mononen <emononen@netbeans.org> Log: #138316: Bundle jdbcmysql and jdbcpostgresql adapters + upgraded activerecord-jdbc to 0.9 + fixed rspec license