Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: JRuby 0.9.9
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:Mac OSX
-
Number of attachments :
Description
The following bug was filed in the NetBeans Ruby support issue tracker as http://www.netbeans.org/issues/show_bug.cgi?id=104038 . It looks like a generic JRuby issue (or maybe ActiveJDBC?) to me so I'm posting it here instead of closing the NetBeans issue with a pointer to it.
The issue body text was:
Using Latest JDBC Oracle drivers,
http://download.oracle.com/otn/utilities_drivers/jdbc/10203/ojdbc14.jar
Against a 9iR2 database. I have tried the 9i JDBC drivers with the same result.
When trying to migrate db, getting the error below.
rake aborted!
java.sql.SQLException: ORA-01424: missing or illegal character following the
escape character
(See full trace by running task with --trace)
database.yml is setup as follows
development:
adapter: jdbc
driver: oracle.jdbc.driver.OracleDriver
url: jdbc:oracle:thin:@host.foo.com:1521:DEV
username: app
password: app
The tables are actually created, but after a long wait, rake eventually aborts
SQL> select table_name from user_tables;
TABLE_NAME
------------------------------
POSTS
SCHEMA_INFO
SQL>
I'm getting the same error, it occurs durring the db:schema:dump task.