Pavel Derendyaev
Pavel Derendyaev
Seems like driver from @mattn doesn't support LastInsertId, see https://github.com/mattn/go-oci8/issues/78. I've achieved to fetch LastInsertId by using [second driver](https://github.com/rana/ora). It looks like this: ``` stmt, _ := db.Prepare("INSERT INTO person_project...
There is another problem regarding [Oracle Schema Object Names and Qualifiers](https://docs.oracle.com/cd/B19306_01/server.102/b14200/sql_elements008.htm): - A quoted identifier begins and ends with double quotation marks ("). If you name a schema object using...
@AlekSi, thanks for reply. I observe some problems here. **1. LastInsertId - solved.** mattn/go-oci8 driver do not suit for that because it implements returning of [ROWID](https://docs.oracle.com/cd/B19306_01/server.102/b14200/pseudocolumns008.htm) (not arbitrary ID field)....
I didn't examine Travis CI integration yet. Right now I use this docker-compose.yml: ``` oracle12c: image: sath89/oracle-12c ports: ['1521:1521'] ``` Code is published in https://github.com/dddpaul/reform/tree/oracle.
Forget to mention. To run tests locally you also need `sqlplus` binary which will be available after [Oracle Instant Client](http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html) install.
One more :) To compile both Go drivers against Oracle Instant Client you need to put [oci8.pc](https://github.com/mattn/go-oci8/blob/master/oci8.pc) to directory included in `PKG_CONFIG_PATH` environment variable. Or simple to `/usr/lib/pkgconfig`. Links: -...
@AlekSi I've achived some success with running builds on Travis for another Go & Oracle project. But then I've stumbled with the real show-stopper for Oracle integration. The point is...
I think it's reasonable to suggest that Oracle client is installed if ORACLE_HOME environment variable is set. So if this variable is set then build Oracle-enabled reform binary. If not...
Hi. Try to build it with gradle wrapper ``` ./gradlew ... ``` It seems like you tried to build it with your system gradle.
Seems like gd/gd-devel is required: http://danxlog.blogspot.ru/2010/07/nagios-missing-statusmapcgi.html