Closed Sheafraidh closed 6 years ago
I fixed it. Could you try the latest source in git?
Install devkit-mingw64-64 here in advance
git clone https://github.com/kubo/ruby-oci8.git # or download https://github.com/kubo/ruby-oci8/archive/master.zip and unzip it.
cd ruby-oci8
gem build ruby-oci8.gemspec
c:\devkit-mingw64-64\devkitvars.bat # if devkit-mingw64-64 is installed here.
gem install .\ruby-oci8-2.2.5.1.gem
I have not tested it enough yet. I'll add test cases for timestamp attributes later, probably at this weekend. Other timestamp datatypes such as timestamp with time zone will be supported later.
I added tests for timestamp datatype in object attributes. Timestamp with time zone is also supported.
It will be included in the next version. But I could not say when. It may not be in near future.
Could you build latest gem and install it as in my previous comment? Otherwise, could you build a binary gem and distribute it in your organization?
Install devkit-mingw64-64 here in advance.
git clone https://github.com/kubo/ruby-oci8.git # or download https://github.com/kubo/ruby-oci8/archive/master.zip and unzip it.
cd ruby-oci8
c:\devkit-mingw64-64\devkitvars.bat # if devkit-mingw64-64 is installed in c:\devkit-mingw64-64.
ruby setup.rb config -- --with-runtime-check
make
gem build ruby-oci8.gemspec -- current
Thank you very much for adding the timestamp!
I finally got some time and some machine where I could build it (ruby as a language is not much compatible with corporate restrictions). Anyway the build and the use of this feature worked seamlessly.
Thank you very much once more.
Best regards, Karel
Hi,
I'm having an issue with timestamp variable, when passed to a procedure as an attribute of an object type. I'm getting this error: unsupported typecode timestamp. The code to reproduce the error is attached bellow. I know the error is self-explaining, but still I wonder if there's some workaround/patch how to overcome this, or some planned implementation in the near future.
Thank you in advance for your reply.
Best regards, Karel
Oracle scripts:
Ruby script:
Error I get: