cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Evgeny Ryabitskiy (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CAY-1354) Wrong Types mapping for selected values in Row Queries
Date Wed, 13 Jan 2010 13:24:54 GMT

     [ https://issues.apache.org/jira/browse/CAY-1354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Evgeny Ryabitskiy updated CAY-1354:
-----------------------------------

    Attachment: 0005-CAY-1354.patch

Merged with last commit.
fuf....!

Final result:

* SQL Server + JTDS *

 WITHOUT PATCH

Failed tests: 
  testShouldMergeChanges(org.apache.cayenne.access.DataContextDelegateSharedCacheTest)
  testFetchLimitWithOffset(org.apache.cayenne.query.SelectQueryTest)
  testSelectLikeCaseSensitive(org.apache.cayenne.query.SelectQueryTest)

Tests in error: 
  testLongIn(org.apache.cayenne.exp.ExpressionFactoryTest)

Tests run: 1987, Failures: 3, Errors: 1, Skipped: 0

 WITH PATCH

Failed tests: 
  testFetchLimitWithOffset(org.apache.cayenne.query.SelectQueryTest)
  testSelectLikeCaseSensitive(org.apache.cayenne.query.SelectQueryTest)
  testDECIMAL(org.apache.cayenne.access.ReturnTypesMappingTest)
  testDECIMAL2(org.apache.cayenne.access.ReturnTypesMappingTest)
  testFLOAT(org.apache.cayenne.access.ReturnTypesMappingTest)
  testNUMERIC(org.apache.cayenne.access.ReturnTypesMappingTest)
  testNUMERIC2(org.apache.cayenne.access.ReturnTypesMappingTest)
  testTIME(org.apache.cayenne.access.ReturnTypesMappingTest)

Tests in error: 
  testLongIn(org.apache.cayenne.exp.ExpressionFactoryTest)
  testBINARY(org.apache.cayenne.access.ReturnTypesMappingTest)
  testBINARY2(org.apache.cayenne.access.ReturnTypesMappingTest)
  testVARBINARY(org.apache.cayenne.access.ReturnTypesMappingTest)
  testVARBINARY2(org.apache.cayenne.access.ReturnTypesMappingTest)

Tests run: 2031, Failures: 8, Errors: 5, Skipped: 0


* postgres *

 WITHOUT PATCH

Tests in error: 
  testNullParameter(org.apache.cayenne.query.EJBQLQueryTest)

Tests run: 1987, Failures: 0, Errors: 1, Skipped: 0

 WITH PATCH

Failed tests: 
  testBLOB(org.apache.cayenne.access.ReturnTypesMappingTest)
  testFLOAT(org.apache.cayenne.access.ReturnTypesMappingTest)
  testTINYINT(org.apache.cayenne.access.ReturnTypesMappingTest)

Tests in error: 
  testNullParameter(org.apache.cayenne.query.EJBQLQueryTest)

Tests run: 2031, Failures: 3, Errors: 1, Skipped: 0

> Wrong Types mapping for selected values in Row Queries
> ------------------------------------------------------
>
>                 Key: CAY-1354
>                 URL: https://issues.apache.org/jira/browse/CAY-1354
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Core Library
>    Affects Versions: 3.1M1
>            Reporter: Evgeny Ryabitskiy
>            Assignee: Evgeny Ryabitskiy
>            Priority: Critical
>             Fix For: 3.1M1
>
>         Attachments: 0001-CAY-1354.patch, 0002-CAY-1354.patch, 0003-CAY-1354.patch, 0004-CAY-1354.patch,
0005-CAY-1354.patch, CAY-1354.patch, CAY-1354.patch, CAY-1354.patch, CAY-1354_TEST.patch,
ReturnTypesMappingTest.java
>
>
>  By default every SQL type is mapped to some Java type by modeler.
> I am expecting same behavior in common DataRow queries (without ORM).
> But in fact half of types are not mapped correctly....
> Attached JUnit test can to explain problem with more details...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message