#Best way to connect a go app to a jdbc DB?

14 messages · Page 1 of 1 (latest)

fast summit
#

I just need to read a few rows.
What would be the easy way to open a jdbc connection?

sterile schooner
#

well, j in jdbc stands for java

fast summit
#

ya im aware. I need to get a few rows out of a old version of Navision ><

#

is the only way to install odbc?

#

i can't seem to find any resources about this😔

sterile schooner
#

i'm not familiar with navision. what protocol does it speak?

fast summit
#

i need to install unixODBC on machine before right?

#

alexbrainman/odbc seems to be the only way.. theres not much info on how to use it

#

for a noob atleast 😒

fast summit
#

okay my bad

#

Navision thing uses a SQL server
So I can use whatever SQL driver is typically used with go

#

😄

fathom minnow
#

The Dynamics NAV database doesn't support SQL by default unless you also setup Microsoft SQL. If you did install it then you can use a Microsoft SQL driver for go.