{"action":"created","issue":{"url":"https://api.github.com/repos/rana/ora/issues/116","repository_url":"https://api.github.com/repos/rana/ora","labels_url":"https://api.github.com/repos/rana/ora/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/rana/ora/issues/116/comments","events_url":"https://api.github.com/repos/rana/ora/issues/116/events","html_url":"https://github.com/rana/ora/issues/116","id":177126958,"number":116,"title":"TimesTen data type","user":{"login":"ebayaraa","id":11209738,"avatar_url":"https://avatars.githubusercontent.com/u/11209738?v=3","gravatar_id":"","url":"https://api.github.com/users/ebayaraa","html_url":"https://github.com/ebayaraa","followers_url":"https://api.github.com/users/ebayaraa/followers","following_url":"https://api.github.com/users/ebayaraa/following{/other_user}","gists_url":"https://api.github.com/users/ebayaraa/gists{/gist_id}","starred_url":"https://api.github.com/users/ebayaraa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebayaraa/subscriptions","organizations_url":"https://api.github.com/users/ebayaraa/orgs","repos_url":"https://api.github.com/users/ebayaraa/repos","events_url":"https://api.github.com/users/ebayaraa/events{/privacy}","received_events_url":"https://api.github.com/users/ebayaraa/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rana/ora/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/rana/ora/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-15T09:15:34Z","updated_at":"2016-10-03T09:46:21Z","closed_at":null,"body":"I'm connecting TimesTen DB and query with TT_BIGINT data type.\r\nTT_BIGINT's code is SQLT_INT.\r\nPlease add this data code."},"comment":{"url":"https://api.github.com/repos/rana/ora/issues/comments/251066711","html_url":"https://github.com/rana/ora/issues/116#issuecomment-251066711","issue_url":"https://api.github.com/repos/rana/ora/issues/116","id":251066711,"user":{"login":"ebayaraa","id":11209738,"avatar_url":"https://avatars.githubusercontent.com/u/11209738?v=3","gravatar_id":"","url":"https://api.github.com/users/ebayaraa","html_url":"https://github.com/ebayaraa","followers_url":"https://api.github.com/users/ebayaraa/followers","following_url":"https://api.github.com/users/ebayaraa/following{/other_user}","gists_url":"https://api.github.com/users/ebayaraa/gists{/gist_id}","starred_url":"https://api.github.com/users/ebayaraa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebayaraa/subscriptions","organizations_url":"https://api.github.com/users/ebayaraa/orgs","repos_url":"https://api.github.com/users/ebayaraa/repos","events_url":"https://api.github.com/users/ebayaraa/events{/privacy}","received_events_url":"https://api.github.com/users/ebayaraa/received_events","type":"User","site_admin":false},"created_at":"2016-10-03T09:46:21Z","updated_at":"2016-10-03T09:46:21Z","body":"Got following error in timesten:\r\n 2818: Unknown function DUMP\r\nThe command failed.\r\n\r\nBut my problem solved after I added SQLT_INT in rset.go:\r\n```\r\n...\r\n        for n := range rset.defs {\r\n                ocipar := params[n].param\r\n                ociTypeCode := params[n].typeCode\r\n                columnSize := params[n].columnSize\r\n\r\n                switch ociTypeCode {\r\n                case C.SQLT_NUM, C.SQLT_INT:\r\n                        // NUMBER\r\n                        // Get precision\r\n                        var precision C.sb2\r\n                        err = rset.paramAttr(ocipar, unsafe.Pointer(&precision), nil, C.OCI_ATTR_PRECISION)\r\n                        if err != nil {\r\n                                return err\r\n                        }\r\n...\r\n```"}}
{"actor":{"display_login":"ebayaraa"}}