This commit is contained in:
Timo Westkämper 2013-07-09 16:36:48 +03:00
parent 99c050494a
commit 7f7014656f
2 changed files with 54 additions and 0 deletions

View File

@ -0,0 +1,17 @@
package com.mysema.query.domain;
import org.junit.Ignore;
import com.mysema.query.annotations.QueryEntity;
import com.mysema.query.domain.custom.CustomNumber;
@Ignore
public class NumberTest {
@QueryEntity
public static class Entity {
CustomNumber customNumber;
}
}

View File

@ -0,0 +1,37 @@
package com.mysema.query.domain.custom;
public class CustomNumber extends Number implements Comparable<CustomNumber> {
private static final long serialVersionUID = 7054589019600966858L;
@Override
public int intValue() {
// TODO Auto-generated method stub
return 0;
}
@Override
public long longValue() {
// TODO Auto-generated method stub
return 0;
}
@Override
public float floatValue() {
// TODO Auto-generated method stub
return 0;
}
@Override
public double doubleValue() {
// TODO Auto-generated method stub
return 0;
}
@Override
public int compareTo(CustomNumber o) {
// TODO Auto-generated method stub
return 0;
}
}