{"action":"opened","issue":{"url":"https://api.github.com/repos/mbbender/doctrine-ordered-uuid-generator/issues/1","labels_url":"https://api.github.com/repos/mbbender/doctrine-ordered-uuid-generator/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/mbbender/doctrine-ordered-uuid-generator/issues/1/comments","events_url":"https://api.github.com/repos/mbbender/doctrine-ordered-uuid-generator/issues/1/events","html_url":"https://github.com/mbbender/doctrine-ordered-uuid-generator/issues/1","id":84744339,"number":1,"title":"Can't get ID before persisted","user":{"login":"mbbender","id":1754012,"avatar_url":"https://avatars.githubusercontent.com/u/1754012?v=3","gravatar_id":"","url":"https://api.github.com/users/mbbender","html_url":"https://github.com/mbbender","followers_url":"https://api.github.com/users/mbbender/followers","following_url":"https://api.github.com/users/mbbender/following{/other_user}","gists_url":"https://api.github.com/users/mbbender/gists{/gist_id}","starred_url":"https://api.github.com/users/mbbender/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbbender/subscriptions","organizations_url":"https://api.github.com/users/mbbender/orgs","repos_url":"https://api.github.com/users/mbbender/repos","events_url":"https://api.github.com/users/mbbender/events{/privacy}","received_events_url":"https://api.github.com/users/mbbender/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-03T19:53:47Z","updated_at":"2015-06-03T19:53:47Z","closed_at":null,"body":"If you attempt to use `$entity->getId()` before an `$em->flush()` it returns the binary ID and not the SQL based ID. I guess there is no way around this, but am logging this to investigate further at a later time."}}