{"action":"created","issue":{"url":"https://api.github.com/repos/jOOQ/jOOQ/issues/4624","labels_url":"https://api.github.com/repos/jOOQ/jOOQ/issues/4624/labels{/name}","comments_url":"https://api.github.com/repos/jOOQ/jOOQ/issues/4624/comments","events_url":"https://api.github.com/repos/jOOQ/jOOQ/issues/4624/events","html_url":"https://github.com/jOOQ/jOOQ/issues/4624","id":110614287,"number":4624,"title":"Column of type \"TIMESTAMP WITH TIME ZONE\" lead to invalid TableImpl in 3.7.0","user":{"login":"michael-simons","id":526383,"avatar_url":"https://avatars.githubusercontent.com/u/526383?v=3","gravatar_id":"","url":"https://api.github.com/users/michael-simons","html_url":"https://github.com/michael-simons","followers_url":"https://api.github.com/users/michael-simons/followers","following_url":"https://api.github.com/users/michael-simons/following{/other_user}","gists_url":"https://api.github.com/users/michael-simons/gists{/gist_id}","starred_url":"https://api.github.com/users/michael-simons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michael-simons/subscriptions","organizations_url":"https://api.github.com/users/michael-simons/orgs","repos_url":"https://api.github.com/users/michael-simons/repos","events_url":"https://api.github.com/users/michael-simons/events{/privacy}","received_events_url":"https://api.github.com/users/michael-simons/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jOOQ/jOOQ/labels/C:%20Code%20Generation","name":"C: Code Generation","color":"0000aa"},{"url":"https://api.github.com/repos/jOOQ/jOOQ/labels/C:%20DB:%20Oracle","name":"C: DB: Oracle","color":"0000aa"},{"url":"https://api.github.com/repos/jOOQ/jOOQ/labels/P:%20High","name":"P: High","color":"ff6666"},{"url":"https://api.github.com/repos/jOOQ/jOOQ/labels/T:%20Defect","name":"T: Defect","color":"cccccc"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/jOOQ/jOOQ/milestones/119","html_url":"https://github.com/jOOQ/jOOQ/milestones/Version%203.8.0","labels_url":"https://api.github.com/repos/jOOQ/jOOQ/milestones/119/labels","id":1094772,"number":119,"title":"Version 3.8.0","description":"","creator":{"login":"lukaseder","id":734593,"avatar_url":"https://avatars.githubusercontent.com/u/734593?v=3","gravatar_id":"","url":"https://api.github.com/users/lukaseder","html_url":"https://github.com/lukaseder","followers_url":"https://api.github.com/users/lukaseder/followers","following_url":"https://api.github.com/users/lukaseder/following{/other_user}","gists_url":"https://api.github.com/users/lukaseder/gists{/gist_id}","starred_url":"https://api.github.com/users/lukaseder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukaseder/subscriptions","organizations_url":"https://api.github.com/users/lukaseder/orgs","repos_url":"https://api.github.com/users/lukaseder/repos","events_url":"https://api.github.com/users/lukaseder/events{/privacy}","received_events_url":"https://api.github.com/users/lukaseder/received_events","type":"User","site_admin":false},"open_issues":314,"closed_issues":1,"state":"open","created_at":"2015-05-04T10:29:41Z","updated_at":"2015-10-09T08:46:58Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-10-09T08:45:45Z","updated_at":"2015-10-09T09:03:06Z","closed_at":null,"body":"Oracle 10g, 10.2.0.3.0, Oracle JDBC Driver 11.2.0.4, Java 8\r\n\r\nI've got this table\r\n\r\n```\r\nCREATE TABLE KA_LASTWERTE\r\n (ID NUMBER(16,0) NOT NULL\r\n ,KA_ANFRAGEN_NEUKUNDEN_ID NUMBER(16,0) NOT NULL\r\n ,ZEITSTEMPEL TIMESTAMP WITH TIME ZONE\r\n ,WERT NUMBER\r\n )\r\n/\r\n```\r\n\r\nEnds up as:\r\n```\r\ndesc ka_lastwerte\r\n Name\t\t\t\t\t   Null?    Typ\r\n ----------------------------------------- -------- ----------------------------\r\n ID\t\t\t\t\t   NOT NULL NUMBER(16)\r\n KA_ANFRAGEN_NEUKUNDEN_ID\t\t   NOT NULL NUMBER(16)\r\n ZEITSTEMPEL\t\t\t\t\t    TIMESTAMP(6) WITH TIME ZONE\r\n WERT\t\t\t\t\t\t    NUMBER\r\n\r\n```\r\n\r\n\r\n\r\nUsing jOOQ 3.6.4, this is represented in the record as\r\n```\r\npublic final TableField<KaLastwerteRecord, Object> ZEITSTEMPEL = createField(\"ZEITSTEMPEL\", org.jooq.impl.DefaultDataType.getDefaultDataType(\"TIMESTAMP(6) WITH TIME ZONE\"), this, \"\");\r\n```\r\n\r\nWhereas in jOOQ 3.7.0 i end up with\r\n\r\n```\r\npublic final TableField<KaLastwerteRecord, OffsetDateTime> ZEITSTEMPEL = createField(\"ZEITSTEMPEL\", org.jooq.impl.SQLDataType.TIMESTAMPWITHTIMEZONE, this, \"\");\r\n```\r\n\r\nBut there's no such attribute in org.jooq.impl.SQLDataType and the class fails to compile."},"comment":{"url":"https://api.github.com/repos/jOOQ/jOOQ/issues/comments/146806678","html_url":"https://github.com/jOOQ/jOOQ/issues/4624#issuecomment-146806678","issue_url":"https://api.github.com/repos/jOOQ/jOOQ/issues/4624","id":146806678,"user":{"login":"michael-simons","id":526383,"avatar_url":"https://avatars.githubusercontent.com/u/526383?v=3","gravatar_id":"","url":"https://api.github.com/users/michael-simons","html_url":"https://github.com/michael-simons","followers_url":"https://api.github.com/users/michael-simons/followers","following_url":"https://api.github.com/users/michael-simons/following{/other_user}","gists_url":"https://api.github.com/users/michael-simons/gists{/gist_id}","starred_url":"https://api.github.com/users/michael-simons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michael-simons/subscriptions","organizations_url":"https://api.github.com/users/michael-simons/orgs","repos_url":"https://api.github.com/users/michael-simons/repos","events_url":"https://api.github.com/users/michael-simons/events{/privacy}","received_events_url":"https://api.github.com/users/michael-simons/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T09:03:06Z","updated_at":"2015-10-09T09:03:06Z","body":"You're welcome. \r\n\r\nAt the moment using that column type is somewhat experimental for us as well… Although it would be nice to have, it seems not very well supported (in Oracle), but i wanted to let know nevertheless. \r\n\r\nThanks for the workaround. "}}