Red Hat Bugzilla – Bug 980900
deltaspike-beanbuilder and kitchensink-deltaspike show JPA warning in JBDS 7
Last modified: 2016-10-31 21:37:00 EDT
Description of problem:
deltaspike-beanbuilder and kitchensink-deltaspike quickstarts show a warning (JPA problem) when imported in JBDS 7: "No connection specified for project. No database-specific validation will be performed."
Version-Release number of selected component (if applicable):
Import the quickstarts into JBDS.
Warning is shown: "No connection specified for project. No database-specific validation will be performed."
? (This warning provides only very little valuable information, and might drown out other more valuable warnings. Not sure what's the "expected result".)
In deltaspike-beanmanagerprovider, this was resolved by adding <m2e.jpa.activation>false</m2e.jpa.activation> to the pom.xml, which disables the JPA facet of the project altogether. IMHO it's not reasonable to disable the JPA facet just to get rid of a warning. The JPA facet might still be useful. It would be more appropriate to maybe document the behaviour in README and leave the "<m2e.jpa.activation>false</m2e.jpa.activation>" in pom.xml, commented out, with a note about what it does.