This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Cannot generate JPA entities | ||
---|---|---|---|
Product: | serverplugins | Reporter: | kszewczyk |
Component: | WildFly | Assignee: | ehsavoie <ehsavoie> |
Status: | REOPENED --- | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | 8.1 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | screen |
The same effect I have on Windows platform Currently I resolved problem temporarily. Change webserver from WildFly to Glassfish, generate JPA, change server again - from Glassfish to WildFly. You should create the datasource in WildFly first but the driver needs to be registered in NetBeans Same problem here. Netbeans 8.1 and Netbeans dev release (20160303***) Wildfly 10 (Datasource already created in server and connection created in "services" tab) Oracle database (ojdbc7) Ubuntu OS. Java8. Regards. |
Created attachment 158620 [details] screen I have configured mysql connection so I want to generate entity classes from them. On maven web application right mouse click > new > entity classes from database > data source: on combo list I can see only "java:/jboss/datasource/ExampleDS [jdbc:h2:mem:test;DB_CLOSE ...". I can't add my defined data source or any. See screen in attachment. PS WildFly 9