{"action":"opened","issue":{"url":"https://api.github.com/repos/serge-rider/dbeaver/issues/273","repository_url":"https://api.github.com/repos/serge-rider/dbeaver","labels_url":"https://api.github.com/repos/serge-rider/dbeaver/issues/273/labels{/name}","comments_url":"https://api.github.com/repos/serge-rider/dbeaver/issues/273/comments","events_url":"https://api.github.com/repos/serge-rider/dbeaver/issues/273/events","html_url":"https://github.com/serge-rider/dbeaver/issues/273","id":139708192,"number":273,"title":"Not connected to database","user":{"login":"infectormp","id":9958813,"avatar_url":"https://avatars.githubusercontent.com/u/9958813?v=3","gravatar_id":"","url":"https://api.github.com/users/infectormp","html_url":"https://github.com/infectormp","followers_url":"https://api.github.com/users/infectormp/followers","following_url":"https://api.github.com/users/infectormp/following{/other_user}","gists_url":"https://api.github.com/users/infectormp/gists{/gist_id}","starred_url":"https://api.github.com/users/infectormp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infectormp/subscriptions","organizations_url":"https://api.github.com/users/infectormp/orgs","repos_url":"https://api.github.com/users/infectormp/repos","events_url":"https://api.github.com/users/infectormp/events{/privacy}","received_events_url":"https://api.github.com/users/infectormp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-09T21:38:42Z","updated_at":"2016-03-09T21:38:42Z","closed_at":null,"body":"I have strange issue. \r\n\r\nWhen i try persist changes (for mysql user privileges) i get \r\n```org.jkiss.dbeaver.DBException: DBException: Not connected to database```\r\n\r\nhere details from Error log:\r\n```\r\norg.jkiss.dbeaver.DBException: Not connected to database \r\nat org.jkiss.dbeaver.model.impl.edit.AbstractCommandContext.saveChanges(AbstractCommandContext.java:82)\r\n\tat org.jkiss.dbeaver.ui.editors.entity.EntityEditor.saveCommandContext(EntityEditor.java:267)\r\n\tat org.jkiss.dbeaver.ui.editors.entity.EntityEditor.access$1(EntityEditor.java:252)\r\n\tat org.jkiss.dbeaver.ui.editors.entity.EntityEditor$SaveJob.run(EntityEditor.java:851)\r\n\tat org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:99)\r\n\tat org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)\r\n```\r\nAnd i still get this error even i Invalidate connection for this DB.\r\n\r\nBut when i copy code from SQL Preview to SQL Editor and run all fine, i not get ```Not connected to database```"}}