Datasource support for database views

I tried the "release candidate" build of IDEA, and the "new" table and column check inspection in JPA annotations is really good.
Unfortunately in our projects entities are mapped quite often to database views, but the "Load Tables" in the Datasource dialog doesn't load views from the database, so our mappings are always full of errors.

There's a workaround? There's a possibility that this feature will be added in the final release?

2 comments

http://www.jetbrains.net/jira/browse/IDEADEV-10004
Now Views are loaded as well as Tables.

Salvatore Insalaco wrote:

I tried the "release candidate" build of IDEA, and the "new" table and column check inspection in JPA annotations is really good.
Unfortunately in our projects entities are mapped quite often to database views, but the "Load Tables" in the Datasource dialog doesn't load views from the database, so our mappings are always full of errors.

There's a workaround? There's a possibility that this feature will be added in the final release?

0

Please sign in to leave a comment.