Comments (5)
I did some debugging and it seems that JDBC driver is returning value 0 when called
def get_bind_variable(stmt, i, type)
case type.to_s.to_sym
when :Fixnum, :Bignum, :Integer
stmt.getInt(i)
...
Its line 308 in jdbc_connection.rb
Maybe we shouldn't be using getInt for Oracle PLS_ITEGER type and the suptypes / synonyms of it.
I have no JDBC to investigate it, except for googling.
from ruby-plsql.
Good spot! I think you're right. We should perhaps try with getObject
- at least to check for null.
from ruby-plsql.
Looking at the code - I suspect that maybe there is a similar issue with :Float
.
I just checked: seems binary_{float|double} are working fine.
from ruby-plsql.
@jgebal , may you take a look at #86 - I think it solves the problem.
from ruby-plsql.
Will look at it next week or Sunday evening. Im on holidays till then.
*sent from mobile
2 cze 2015 23:16 "Yavor Nikolov" [email protected] napisaล(a):
@jgebal https://github.com/jgebal , may you take a look at #86
#86 - I think it solves the
problem.โ
Reply to this email directly or view it on GitHub
#84 (comment).
from ruby-plsql.
Related Issues (20)
- XMLTYPE in/out binds non-functional in 12C HOT 6
- Selecting out a BLOB object results in an error
- Proposal to drop old versions of Rails, CRuby and JRuby HOT 1
- Extended Support for Associative Arrays HOT 3
- NoMethodError: undefined method `match' for nil:NilClass when trying to connect with URL, username, password via JDBC HOT 1
- Release require for Ruby v2.4, v2.5 support with no warnings HOT 4
- Thread safety issue in connection.session_id HOT 1
- Can't kill an app with SIGHUP if listening to queue without dequeue_options_t.wait HOT 1
- PLSQL::Variable metadata may query the wrong schema looking up %TYPE and %ROWTYPE HOT 1
- PL/SQL Constant not found HOT 1
- Add ruby-oci8 as a runtime dependency HOT 2
- Composite arguments and Oracle 18c + HOT 9
- Nested array HOT 1
- Support Oracle Database 18.3.0 or higher HOT 13
- OCI8::Cursor was already closed.
- Complex datatypes are not handled with ruby-plsql v 0.8.0 for oracle 19c HOT 13
- 0.8.0 breaks Oracle function
- ruby-plsql 0.8.0: Procedure with parameters referencing system packages fails HOT 3
- ruby-plsql 0.8.0 / Oracle 19c: "No PL/SQL procedure or variable 'VERSION' found" when accessing plsql.dbms_db_version.version
- Session variables with subtypes crash
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 ruby-plsql.