{"action":"created","issue":{"url":"https://api.github.com/repos/Raizlabs/DBFlow/issues/416","labels_url":"https://api.github.com/repos/Raizlabs/DBFlow/issues/416/labels{/name}","comments_url":"https://api.github.com/repos/Raizlabs/DBFlow/issues/416/comments","events_url":"https://api.github.com/repos/Raizlabs/DBFlow/issues/416/events","html_url":"https://github.com/Raizlabs/DBFlow/issues/416","id":109909548,"number":416,"title":"Bug with statement Update cause of argument Class","user":{"login":"machei","id":7736131,"avatar_url":"https://avatars.githubusercontent.com/u/7736131?v=3","gravatar_id":"","url":"https://api.github.com/users/machei","html_url":"https://github.com/machei","followers_url":"https://api.github.com/users/machei/followers","following_url":"https://api.github.com/users/machei/following{/other_user}","gists_url":"https://api.github.com/users/machei/gists{/gist_id}","starred_url":"https://api.github.com/users/machei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/machei/subscriptions","organizations_url":"https://api.github.com/users/machei/orgs","repos_url":"https://api.github.com/users/machei/repos","events_url":"https://api.github.com/users/machei/events{/privacy}","received_events_url":"https://api.github.com/users/machei/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-06T00:00:25Z","updated_at":"2015-10-10T22:40:43Z","closed_at":null,"body":"Java:\r\n```\r\nimport com.raizlabs.android.dbflow.sql.language.Update;\r\n\r\n[...]\r\n\r\nWhere update = new Update().table(UserAccount.class)\r\n\t.set(Condition.column(UserAccount$Table.MODE_SYNC).eq(user.mode_sync))\r\n\t.where(Condition.column(UserAccount$Table._ID).is(user.getUserID()));\r\nupdate.queryClose();\r\n```\r\nError:\r\n```\r\nError:(314, 28) error: constructor Update in class Update<ModelClass> cannot be applied to given types;\r\nrequired: Class\r\nfound: no arguments\r\nreason: actual and formal argument lists differ in length\r\nwhere ModelClass is a type-variable:\r\nModelClass extends Model declared in class Update\r\n```\r\n\r\n![screenshot_4](https://cloud.githubusercontent.com/assets/7736131/10296931/a4a9c5a8-6bcd-11e5-900d-c765aa2e5d9f.png)\r\n\r\nDBFlow - version: 2.2.1"},"comment":{"url":"https://api.github.com/repos/Raizlabs/DBFlow/issues/comments/147131262","html_url":"https://github.com/Raizlabs/DBFlow/issues/416#issuecomment-147131262","issue_url":"https://api.github.com/repos/Raizlabs/DBFlow/issues/416","id":147131262,"user":{"login":"agrosner","id":2117859,"avatar_url":"https://avatars.githubusercontent.com/u/2117859?v=3","gravatar_id":"","url":"https://api.github.com/users/agrosner","html_url":"https://github.com/agrosner","followers_url":"https://api.github.com/users/agrosner/followers","following_url":"https://api.github.com/users/agrosner/following{/other_user}","gists_url":"https://api.github.com/users/agrosner/gists{/gist_id}","starred_url":"https://api.github.com/users/agrosner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agrosner/subscriptions","organizations_url":"https://api.github.com/users/agrosner/orgs","repos_url":"https://api.github.com/users/agrosner/repos","events_url":"https://api.github.com/users/agrosner/events{/privacy}","received_events_url":"https://api.github.com/users/agrosner/received_events","type":"User","site_admin":false},"created_at":"2015-10-10T22:40:42Z","updated_at":"2015-10-10T22:40:42Z","body":"@machei , correct. the `Update` class changed to enforce the constructor _or_ the `Update.table()`  static method."}}