package org.hibernate.envers.test.integration.interfaces.hbm.allAudited.joined;
import org.hibernate.ejb.Ejb3Configuration;
import org.hibernate.envers.test.integration.interfaces.hbm.allAudited.AbstractAllAuditedTest;
import java.io.File;
import java.net.URISyntaxException;
import java.net.URL;
/**
* @author Hern�n Chanfreau
*/
public class JoinedAllAuditedTest extends AbstractAllAuditedTest {
public void configure(Ejb3Configuration cfg) {
try {
URL url = Thread.currentThread().getContextClassLoader().getResource("mappings/interfaces/joinedAllAuditedMappings.hbm.xml");
cfg.addFile(new File(url.toURI()));
} catch (URISyntaxException e) {
e.printStackTrace();
}
}
}