mirror of
https://github.com/querydsl/querydsl.git
synced 2026-07-12 21:20:19 +08:00
fixed failing test
This commit is contained in:
parent
2b6db42e15
commit
a0bc955af0
@ -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>
|
||||
|
||||
@ -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 {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@ -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)
|
||||
|
||||
@ -83,6 +83,11 @@ public class H2JPAEclipseLinkTest extends AbstractJPATest{
|
||||
// not supported
|
||||
}
|
||||
|
||||
@Override
|
||||
public void JoinEmbeddable() {
|
||||
// not supported
|
||||
}
|
||||
|
||||
@Override
|
||||
public void test(){
|
||||
// FIXME
|
||||
|
||||
Loading…
Reference in New Issue
Block a user