Thanks for the hint. I've tried it together with javax.persistence and without, adding some other packages of hibernate, but had no luck.
I've solved the problem for now by using a EJB injection. I don't know any other way to solve this. Thanks anyway for your answer! Uli >I thought you could use Hibernate's JPA stuff just for JPA, without needing to use the full Hibernate package. For example, > > <dependency> > <groupId>org.hibernate</groupId> > <artifactId>ejb3-persistence</artifactId> > <version>1.0.1.GA</version> > </dependency> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]