Adding a test scenario for @MappedSuperclass, fixed a couple bugs w.r.t. generating links to entities.

This commit is contained in:
Jon Brisbin
2012-08-07 11:03:02 -05:00
parent e6de869935
commit 81b5f29c1e
7 changed files with 78 additions and 20 deletions

View File

@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence" version="2.0">
<persistence-unit name="jpa.sample">
<class>org.springframework.data.rest.test.webmvc.Address</class>
<class>org.springframework.data.rest.test.webmvc.Family</class>
<class>org.springframework.data.rest.test.webmvc.Person</class>
<class>org.springframework.data.rest.test.webmvc.Profile</class>
<class>org.springframework.data.rest.test.webmvc.Address</class>
<class>org.springframework.data.rest.test.webmvc.UuidTest</class>
<class>org.springframework.data.rest.test.webmvc.WebCustomer</class>
<properties>
<property name="hibernate.dialect" value="org.hibernate.dialect.HSQLDialect"/>
<property name="hibernate.connection.url" value="jdbc:hsqldb:mem:spring"/>