Oracle does not publish the specification of its SQL.Net protocol, so no clean room implementation is possible. Either Oracle provides such a driver, or you have to use what it provides: OCI.
A small help in the right direction is github.com/oracle/odpi and gopkg.in/goracle.v2 - it does NOT need the InstantClient at compile time, only at runtime. And it is a standard dtabase/sql driver, allowing everything through the standard interface. 2018. szeptember 21., péntek 15:32:40 UTC+2 időpontban Alvin Carrasca a következőt írta: > > He has a valid point. Most of the enterprise applications uses Oracle DB. > I for one is looking for an oracle driver similar to what JDBC does (a > simple to use, no separate installation needed). All of Go oracle drivers > available uses Oracle Instant Client. I am currently in a hunt to migrate > all our Java-based projects to different language. Right now, my options > are .Net Core 2 and Go. I am more lean to Go in terms of memory footprints, > but I find it difficult to find the necessary packages/libraries to connect > to Oracle database. > > If Google is very serious to attract enterprises to migrate their projects > to Go, then I think they should fill those void. Don't expect that > enterprises will migrate their DBs to PostgreSql or MySQL. That will be a > big NO for migration. > > just my 2 cents. ;) > > On Saturday, January 15, 2011 at 2:27:49 AM UTC+9, Jim Teeuwen wrote: >> >> You could also just write your own ;) >> >> Most of the those database wrappers are all community projects. The Go >> developers have better things to do at this point. Improving the >> language/runtime trumps third party lib support at this point. This is >> where the community comes in. If you need support for something, which is >> not around yet. By all means try to write it yourself and share, so others >> can benefit from your work. >> > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
