Sha256: 72441e6d5e19d7df7894bede3ffccd3a537c1903a1fa274fca790eb73866d4f2
Contents?: true
Size: 829 Bytes
Versions: 3
Compression:
Stored size: 829 Bytes
Contents
Before running unit test: 1. Connect to Oracle as sys ```shell $ sqlplus sys/<password_of_sys> as sysdba SQL> ``` 2. Create user ruby ```sql SQL> CREATE USER ruby IDENTIFIED BY oci8; ``` or ```sql SQL> CREATE USER ruby IDENTIFIED BY oci8 2 DEFAULT TABLESPACE users TEMPORARY TABLESPACE temp; ``` 3. Grant the privilege to connect and execute. ```sql SQL> GRANT connect, resource, create view, create synonym TO ruby; SQL> GRANT execute ON dbms_lock TO ruby; ``` 4. Connect as ruby user. ```shell $ sqlplus ruby/oci8 SQL> ``` 5. Create object types ```sql SQL> @test/setup_test_object.sql ``` 6. change $dbname in test/config.rb. Then run the following command: ```shell $ make check ``` or ``` $ nmake check (If your compiler is MS Visual C++.) ````
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ruby-oci8-2.2.7 | test/README.md |
ruby-oci8-2.2.7-x86-mingw32 | test/README.md |
ruby-oci8-2.2.7-x64-mingw32 | test/README.md |