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.
[build 20060306] Steps: 1) create new web application with JBoss target server 2) generate Entity classes from DB and create persistence.xml 3) open persistence.xml in XML view ERROR: the file is epmty: <?xml version="1.0" encoding="UTF-8"?> <persistence xmlns="http://java.sun.com/xml/ns/persistence"> </persistence>
The bug is reproducible with Glassfish too.
Fixed in the release55 branch. This issue is related to #73337, caused by data object not being marked as modified in certain cases. http://j2ee.netbeans.org/source/browse/j2ee/persistence/src/org/netbeans/ modules/j2ee/persistence/wizard/fromdb/MultipleEntitySetupPanel.java?r1=1.1.2.4. 2.8&r2=1.1.2.4.2.9 http://j2ee.netbeans.org/source/browse/j2ee/persistence/src/org/netbeans/ modules/j2ee/persistence/unit/PUDataObject.java?r1=1.1.2.6.2.3&r2=1.1.2.6.2.4
v