The test that fails when tested together with mvn test (or through the ide) is called EmpiricalTest. If I test the file alone it goes t开发者_运维技巧hrough, but not otherwise. Why could that be?
the find method does not return the latest version of an object. somewhere in my code I find an object, change it, merge it and commit my changes. In the database the changes are made but in another f
@Entity public class MUser implements Serializable, MemoEntity { private static final long serialVersionUID = 1L;
Hi I have a problem fetching the skills from the volunteer. for some reason i dont get the list when using this method
My question is similar to Updating one field in JPA entity Basically I have an entity Foo which has some basic fields (enum, String, DateTime) and it has two other fields. One of them is a OneToOne
i\'am using eclipseLink with jpa. in my persistence.xml, i defined to generate a 开发者_如何学JAVAcreate.sql file. the file will be generated, but with missing \';\'-separators for each sql statement.
I have the following database tables: party, with a pk \"pty_id\" connected to a sequence for generating pk values.
I get: diagnostic error: javax.annotation.processing.FilerException: Attempt to recreate a file for type
I am using Glassfish v3 server. Usually the DB connection with EJB3 + JPA (Eclipselink) is 开发者_JS百科done through injection, with @PersistenceUnit or @Persistencecontext.
I\'m using JPA 2 with Eclipselink 2 and a Derby in memory db for my tests. When I start my little test programm I get the following exception: