Hi:

I would like to know whether it's possible to associate a datasource to a Maven EJB project, so that NetBeans IDE checks that the tables and columns indicated in the JPA entity beans really exist in the database.

By "datasource" I'm referring to one created in the "Services" tab, in the "Databases" tree. I'm not referring to the datasource indicated in the "persitence.xml" file, which would complicate this, I guess.

Although I've been using NetBeans IDE for 16 years already, I never thought about this aid until I tried Eclipse IDE and IntelliJ some days ago; they both showed an error as soon as I typed a non-existing table or column. Until now, I've let the application server (Wildfly) detect this type of errors at runtime, which is tiring.

I believe that, when I still used Ant for my projects, NetBeans associated the datasource to the project in someway... But I'm not sure.

Thank you in advance.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to