fixed failing test

This commit is contained in:
Timo Westkämper 2011-08-11 09:06:36 +03:00
parent 2b6db42e15
commit a0bc955af0
4 changed files with 39 additions and 3 deletions

View File

@ -53,8 +53,8 @@
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-annotations</artifactId>
<version>3.4.0.GA</version>
<artifactId>hibernate-core</artifactId>
<version>3.6.1.Final</version>
<scope>test</scope>
</dependency>
<dependency>

View File

@ -0,0 +1,31 @@
package com.mysema.query.domain;
import java.util.Collection;
import javax.persistence.ElementCollection;
import javax.persistence.Embeddable;
import javax.persistence.Entity;
import org.junit.Ignore;
@Ignore
public class EmbeddableInterfaceTest {
@Entity
public class EntityClass {
@ElementCollection(targetClass=EmbeddableClass.class)
Collection<EmbeddableInterface> children;
}
public interface EmbeddableInterface {
}
@Embeddable
public class EmbeddableClass implements EmbeddableInterface {
}
}

View File

@ -234,7 +234,7 @@ public abstract class AbstractStandardTest {
}
@Test
public void AnyUsage() {
public void JoinEmbeddable() {
QBookVersion bookVersion = QBookVersion.bookVersion;
QBookMark bookMark = new QBookMark(PathMetadataFactory.forVariable("bm"));
// query().from(bookVersion)

View File

@ -83,6 +83,11 @@ public class H2JPAEclipseLinkTest extends AbstractJPATest{
// not supported
}
@Override
public void JoinEmbeddable() {
// not supported
}
@Override
public void test(){
// FIXME