{"action":"opened","issue":{"url":"https://api.github.com/repos/jOOQ/jOOQ/issues/4372","labels_url":"https://api.github.com/repos/jOOQ/jOOQ/issues/4372/labels{/name}","comments_url":"https://api.github.com/repos/jOOQ/jOOQ/issues/4372/comments","events_url":"https://api.github.com/repos/jOOQ/jOOQ/issues/4372/events","html_url":"https://github.com/jOOQ/jOOQ/issues/4372","id":85733379,"number":4372,"title":"UDTRecord is not \"attached\" when fetched from standalone stored function call","user":{"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},"labels":[{"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/111","html_url":"https://github.com/jOOQ/jOOQ/milestones/Version%203.7.0","labels_url":"https://api.github.com/repos/jOOQ/jOOQ/milestones/111/labels","id":900413,"number":111,"title":"Version 3.7.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":282,"closed_issues":90,"state":"open","created_at":"2014-12-11T12:56:14Z","updated_at":"2015-06-06T10:14:27Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-06-06T10:14:27Z","updated_at":"2015-06-06T10:14:27Z","closed_at":null,"body":"Given:\r\n\r\n```sql\r\nCREATE OR REPLACE TYPE u_author_type AS OBJECT (\r\n  id number(7),\r\n  first_name varchar2(50),\r\n  last_name varchar2(50),\r\n\r\n  member procedure load,\r\n  member procedure get_books (\r\n    book1 OUT u_book_type,\r\n    book2 OUT u_book_type,\r\n    books OUT u_book_table),\r\n\r\n  member function count_books return number,\r\n  static procedure new_author (\r\n    p_id number,\r\n    p_first_name varchar2,\r\n    p_last_name varchar2,\r\n    p_author OUT u_author_type),\r\n\r\n  static function get_author (p_id number) return u_author_type\r\n)\r\n```\r\n\r\n... it should be possible to call:\r\n\r\n```java\r\nGetBooks result = UAuthorType.getAuthor(config, 1).getBooks();\r\n```\r\n\r\nBut it isn't. The intermediate result from `UAuthorType.getAuthor(config, 1)` doesn't have a `Configuration` attached. The following workaround needs to be applied:\r\n\r\n```java\r\nUAuthorTypeRecord author = UAuthorType.getAuthor(create().configuration(), 1);\r\nauthor.attach(config);\r\nGetBooks books = author.getBooks();\r\n```"}}