asimondev

Results comments of asimondev

If you can use tnsnames.ora and sqlnet.ora, you should check the sqlnet.ora parameter sqlnet.expire_time (see https://docs.oracle.com/en/database/oracle/oracle-database/12.2/netrf/parameters-for-the-sqlnet-ora-file.html#GUID-1070805B-0703-457C-8D2E-4EEC26193E5F).

The main() function looks like this: ``` db, err := oradb.SetupDatabase(gl.PoolMaxSessions) if err != nil { err.Print(ml.ErrorLog) os.Exit(1) } defer db.Close() rc, err := displayLoop()

Thanks! It will take some days, because I don't have access to this system immediately.

Thanks for thinking on my issue! I really appreciate it.

This is SELECT statement, which produces many rows. That's why I use Query here. In my code below the you would find: for rows.Next() {

I have checked with DB.Close(). The code looks like this: rows, err := mydb.Query(stmt)

I have found a solution. I have placed this code after the for rows.Next() {} loop: if err = rows.Err(); err != nil { return nil, err } The Rows.Err()...

You are right. It's in the example code as well.