Did you create your entities from tables in another database?
If you can't access the tables either from the application of while caturing the schema, something is wrong with your driver settings. We tested Java Persistence with MSSQL 2005 as it's the latest version.
Please also note that the generated code has a bug that has been fixed in the later NB builds:
public void destroy(Users users) {
em.merge(users);
em.remove(users);
}
should be
public void destroy(Users users) {
em.remove(em.merge(users));
}
Regards,
-marina
[Message sent by forum member 'mvatkina' (mvatkina)]
http://forums.java.net/jive/thread.jspa?messageID=215878