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.
Summary: | Rake task db:creare does not create db if JDBC driver used | ||
---|---|---|---|
Product: | ruby | Reporter: | Mikhail Vaysman <vaysman> |
Component: | Rails | Assignee: | Erno Mononen <emononen> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Mikhail Vaysman
2008-11-29 15:19:49 UTC
Thanks for the report. This a problem in the activerecord-jdbc adapter which the IDE uses; it should get fixed for mysql once we bundle the jdbcmysql adapter (issue 138316). As for JavaDB, I'm not sure now what we should do -- there is no specific jdbc adapter for it that would support creating databases, and while using it in the embedded mode would work, it is not recommended. This should be fixed now by the fixes for issue 138316. The IDE now bundles the jdbcmysql and jdbcpostgresql adapters and the new Rails project wizard uses those adapters in the generated database.yml. Of course, this works out-of-the- box only for the bundled JRuby, for external JRuby installations you need to install those gems. |