Git Product home page Git Product logo

Comments (4)

miniwark avatar miniwark commented on May 18, 2024

Hi,

i have investigated a bit more about this issue.

  1. The limit to 100 first results is because of node-oracledb default behaviour with the maxRows parameter. See here. For now i will just bypass this by manually setting oracledb.maxRows in/server/core/db/oracle.js.

  2. The recommended way to overturn this limit is apparently to set maxRows or to use resultSet in the connection.execute() method. Setting maxRows from the database Data Packet Size limit may be the easy way here.

from widestage.

miniwark avatar miniwark commented on May 18, 2024

Also... /server/core/db/oracle.js use the query SELECT tablespace_name as table_schema, table_name as name FROM user_tables to get the list of table than the user own. Could it be instead SELECT tablespace_name as table_schema, table_name as name FROM all_tables to have all the table than the user as the right to read (and then add the table shame name in the result list.

This because, the database admin can tailor a limited user, with just read right on a list of tables from other users (or shemas).

from widestage.

miniwark avatar miniwark commented on May 18, 2024

After testing, all_tables may be a bit inconvenient because it also list many tables form the system schemas. It's possible to tailor the query to exclude them, but using two different data sources from the same database with different users may be a way to do this (but #24).

Also dba_tables is better than user_tables & all_tables because views are also listed (but with the same problem than all_tables regarding system tables).

from widestage.

beevou avatar beevou commented on May 18, 2024

We are adding oracle support via JDBC in the next release

from widestage.

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.