title: Intellij Idea JPA console cannot run due '[3D000] No database selected'
body: <p>I have a project with JPA module that correctly recognizes all entities.
  <a href="https://i.stack.imgur.com/NwXYe.png" rel="noreferrer"><img src="https://i.stack.imgur.com/NwXYe.png" alt="JPA Console and Persistence tool"></a></p>
  
  <p>Datasource is correctly set and it work well with autocomplete. I have not persistence.xml because I am using annotations.</p>
  
  <p>I'm working a lot with @Query (native=false) on the repositories (extends CrudRepository) so using the JPA console it a really fast way to test queries.
  But when I try to run queries there I am getting:</p>
  
  <pre><code>[3D000] No database selected
  </code></pre>
  
  <p>I cannot use the USE reserved word there. So I am wondering what may be missing on my configuration. </p>