mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-07 19:58:16 +00:00
HHH-6495 Putting FailureExpected on class level until the component processing via annotation is working
This commit is contained in:
parent
b818f94eb1
commit
ab72eb05ec
@ -28,11 +28,16 @@
|
||||
|
||||
import org.hibernate.testing.FailureExpected;
|
||||
|
||||
import static junit.framework.Assert.assertEquals;
|
||||
import static junit.framework.Assert.assertNotNull;
|
||||
import static org.junit.Assert.assertSame;
|
||||
|
||||
/**
|
||||
* Basic tests of annotation based binding code
|
||||
*
|
||||
* @author Hardy Ferentschik
|
||||
*/
|
||||
@FailureExpected( jiraKey = "HHH-6495" )
|
||||
public class BasicAnnotationBindingTests extends AbstractBasicBindingTests {
|
||||
@Override
|
||||
public void addSourcesForSimpleEntityBinding(MetadataSources sources) {
|
||||
@ -53,10 +58,4 @@ public void addSourcesForManyToOne(MetadataSources sources) {
|
||||
public void addSourcesForComponentBinding(MetadataSources sources) {
|
||||
sources.addAnnotatedClass( SimpleEntityWithSimpleComponent.class );
|
||||
}
|
||||
|
||||
@Override
|
||||
@FailureExpected( jiraKey = "HHH-6495" )
|
||||
public void testSimpleEntityWithSimpleComponentMapping() {
|
||||
super.testSimpleEntityWithSimpleComponentMapping();
|
||||
}
|
||||
}
|
||||
|
@ -24,6 +24,7 @@
|
||||
package org.hibernate.metamodel.binding;
|
||||
|
||||
import javax.persistence.Embeddable;
|
||||
import javax.persistence.Embedded;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Id;
|
||||
|
||||
@ -35,6 +36,7 @@ public class SimpleEntityWithSimpleComponent {
|
||||
@Id
|
||||
private Long id;
|
||||
private String name;
|
||||
@Embedded
|
||||
private SimpleComponent simpleComponent;
|
||||
|
||||
public SimpleEntityWithSimpleComponent() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user