Comments (6)
Also tried version 1.1.3 - no luck.
from activerecord-jdbc-adapter.
I don't know of any problems, but this could certainly be a bug. Can you try running again with the debug flag -d
turned on? It should dump a stacktrace of any error at the JDBC level.
from activerecord-jdbc-adapter.
Did that and the output was similar. The error seems to be related to
ALL_USERS being a view instead a table.
I will try with regular tables as well. Even though user$ is a regular
table, it contain a unreadable column. Will take a closer look and let u
know
On Thursday, August 25, 2011, nicksieger <
[email protected]>
wrote:
I don't know of any problems, but this could certainly be a bug. Can you
try running again with the debug flag-d
turned on? It should dump a
stacktrace of any error at the JDBC level.Reply to this email directly or view it on GitHub:
https://github.com/nicksieger/activerecord-jdbc-adapter/issues/93#issuecomment-1900989
from activerecord-jdbc-adapter.
I'm having a similar issues with database views. Seems like the SQL generated from from arjdbc/jdbc/RubyJdbcConnection.java:121:in
columns'` which is a necessary call for almost any ActiveRecord feature to work, explicitly specifies tables.
I'm using the oracle adapter and am not even sure if column information is available for views rather than tables.
from activerecord-jdbc-adapter.
In case anyone else comes across this issue, I've come up with this monkey patch to get activerecord to query an oracle view. https://gist.github.com/1667390
from activerecord-jdbc-adapter.
fixed with 5f2deb4 and tested at d190960 (on master - expect this in 1.3.0) sorry for the delay
from activerecord-jdbc-adapter.
Related Issues (20)
- jdbc-mysql gem includes multiple driver .jar files HOT 1
- Update for CVE-2021-2471 ? HOT 1
- H2 2.0
- Unusual exception while running GitHub Action
- Error 'uninitialized constant ... ::PG' when trying to use activerecord-jdbc-adapter with Postgres
- activerecord-jdbcsqlite3-adapter v61.1 is not working with activerecord v6.1.5 HOT 12
- Error starting rails 6.1.5 server & creating database on ARM64 Mac in JRuby 9.3.4.0 HOT 2
- Mac ARM64 "Error opening connection" with activerecord-jdbcsqlite3-adapter HOT 5
- Error running db:migrate on JRuby 9.4.0 and rails 7.0.4 HOT 14
- make release for activerecord-jdbcpostgresql-adapter 70.x HOT 6
- Missing File arjdbc/oracle/column HOT 1
- SQLite3 No suitable driver HOT 7
- Updates for JDBC drivers HOT 4
- mysql-connector-java deprecated for new namespace
- require 'activerecord-jdbc-adapter' seemes like crash Puppet7 server
- `ArgumentError: wrong number of arguments (given 4, expected 1..3)` for `activerecord-jdbcsqlite3-adapter` HOT 1
- undefined method `execute' for nil:NilClass HOT 1
- Performance regression in checking out connections between Rails 4.2 and 6.1 HOT 1
- Cannot connect to database: `ArgumentError: wrong number of arguments (given 4, expected 1..3)` HOT 3
- CVE against connector/j 8.0.30
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from activerecord-jdbc-adapter.