Lines 22-29
Link Here
|
22 |
import javax.persistence.Query; |
22 |
import javax.persistence.Query; |
23 |
import javax.persistence.TemporalType; |
23 |
import javax.persistence.TemporalType; |
24 |
|
24 |
|
25 |
import org.eclipse.persistence.platform.database.OraclePlatform; |
|
|
26 |
import org.eclipse.persistence.testing.framework.wdf.Issue; |
27 |
import org.eclipse.persistence.testing.framework.wdf.JPAEnvironment; |
25 |
import org.eclipse.persistence.testing.framework.wdf.JPAEnvironment; |
28 |
import org.eclipse.persistence.testing.models.wdf.jpa1.types.BasicTypesFieldAccess; |
26 |
import org.eclipse.persistence.testing.models.wdf.jpa1.types.BasicTypesFieldAccess; |
29 |
import org.eclipse.persistence.testing.models.wdf.jpa1.types.UserDefinedEnum; |
27 |
import org.eclipse.persistence.testing.models.wdf.jpa1.types.UserDefinedEnum; |
Lines 598-604
Link Here
|
598 |
|
596 |
|
599 |
// arrays |
597 |
// arrays |
600 |
@Test |
598 |
@Test |
601 |
@Issue(issueid=13, databases=OraclePlatform.class) |
|
|
602 |
public void testPrimitiveByteArray2Binary() { |
599 |
public void testPrimitiveByteArray2Binary() { |
603 |
final byte[] UNCHANGED = new byte[] { 0, 1, 2, 3, 4, 5, 6, 7 }; |
600 |
final byte[] UNCHANGED = new byte[] { 0, 1, 2, 3, 4, 5, 6, 7 }; |
604 |
Validator validator = new Validator() { |
601 |
Validator validator = new Validator() { |
Lines 658-664
Link Here
|
658 |
} |
655 |
} |
659 |
|
656 |
|
660 |
@Test |
657 |
@Test |
661 |
@Issue(issueid=13, databases=OraclePlatform.class) |
|
|
662 |
public void testPrimitiveCharArray2Varchar() { |
658 |
public void testPrimitiveCharArray2Varchar() { |
663 |
final char[] UNCHANGED = new char[] { 'U', 'N', 'C', 'H', 'A', 'N', 'G', 'E', 'D' }; |
659 |
final char[] UNCHANGED = new char[] { 'U', 'N', 'C', 'H', 'A', 'N', 'G', 'E', 'D' }; |
664 |
Validator validator = new Validator() { |
660 |
Validator validator = new Validator() { |
Lines 699-705
Link Here
|
699 |
} |
695 |
} |
700 |
|
696 |
|
701 |
@Test |
697 |
@Test |
702 |
@Issue(issueid=13, databases=OraclePlatform.class) |
|
|
703 |
public void testWrapperByteArray2Binary() { |
698 |
public void testWrapperByteArray2Binary() { |
704 |
final Byte[] UNCHANGED = new Byte[] { Byte.valueOf((byte) 0), Byte.valueOf((byte) 1), Byte.valueOf((byte) 2), |
699 |
final Byte[] UNCHANGED = new Byte[] { Byte.valueOf((byte) 0), Byte.valueOf((byte) 1), Byte.valueOf((byte) 2), |
705 |
Byte.valueOf((byte) 3), Byte.valueOf((byte) 4), Byte.valueOf((byte) 5), Byte.valueOf((byte) 6), |
700 |
Byte.valueOf((byte) 3), Byte.valueOf((byte) 4), Byte.valueOf((byte) 5), Byte.valueOf((byte) 6), |
Lines 766-772
Link Here
|
766 |
|
761 |
|
767 |
@SuppressWarnings("boxing") |
762 |
@SuppressWarnings("boxing") |
768 |
@Test |
763 |
@Test |
769 |
@Issue(issueid=13, databases=OraclePlatform.class) |
|
|
770 |
public void testWrapperCharArray2Varchar() { |
764 |
public void testWrapperCharArray2Varchar() { |
771 |
final Character[] UNCHANGED = new Character[] { 'U', 'N', 'C', 'H', 'A', 'N', 'G', 'E', 'D' }; |
765 |
final Character[] UNCHANGED = new Character[] { 'U', 'N', 'C', 'H', 'A', 'N', 'G', 'E', 'D' }; |
772 |
Validator validator = new Validator() { |
766 |
Validator validator = new Validator() { |