I merged my new patch with Olga's changes. Almost everything is working!!!
SQL Server + JTDS Failed tests: testFetchLimitWithOffset(org.apache.cayenne.query.SelectQueryTest) testSelectLikeCaseSensitive(org.apache.cayenne.query.SelectQueryTest) testFLOAT(org.apache.cayenne.access.ReturnTypesMappingTest) Tests in error: testLongIn(org.apache.cayenne.exp.ExpressionFactoryTest) Tests run: 2032, Failures: 3, Errors: 1, Skipped: 0 first 2 was before. 2 last are related to JTDS Driver specific.... testFLOAT: http://jtds.sourceforge.net/typemap.html testLongIn - JTDS limit for parameters is 2000 (test is using 2006) Posgres 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: 2032, Failures: 3, Errors: 1, Skipped: 0 testNullParameter was before. So If no body mind I will commit this stuff? :) Evgeny. 2010/1/13 Evgeny Ryabitskiy (JIRA) <[email protected]>: > > [ > https://issues.apache.org/jira/browse/CAY-1354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12799737#action_12799737 > ] > > Evgeny Ryabitskiy commented on CAY-1354: > ---------------------------------------- > > So you can see that my changes didn't break anything. > I suggest to commit changes and successful tests and think what to do with > what left. > >> 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. > >
