Code Monkey home page Code Monkey logo

Comments (6)

ened avatar ened commented on June 19, 2024

Also tried version 1.1.3 - no luck.

from activerecord-jdbc-adapter.

nicksieger avatar nicksieger commented on June 19, 2024

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.

ened avatar ened commented on June 19, 2024

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.

alexgb avatar alexgb commented on June 19, 2024

I'm having a similar issues with database views. Seems like the SQL generated from from arjdbc/jdbc/RubyJdbcConnection.java:121:incolumns'` 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.

alexgb avatar alexgb commented on June 19, 2024

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.

kares avatar kares commented on June 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.