Reputation: 5262
I would like to use the JPA annotations but I don't need any JPA implementation. Where can I get the from? I didn't find anything at Oracle's Java pages ...
Upvotes: 1
Views: 1100
Reputation: 280030
The following maven artifact contains the javax.persistence
types.
<dependency>
<groupId>org.hibernate.javax.persistence</groupId>
<artifactId>hibernate-jpa-2.0-api</artifactId>
<version>1.0.1.Final</version>
</dependency>
You can get the binaries here. Don't be fooled by the hibernate name, it does not contain any implementation.
Upvotes: 6