cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r746523 - in /cayenne/main/trunk: framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/query/EJBQLQueryTest.java pom.xml
Date Sat, 21 Feb 2009 15:03:46 GMT
Author: aadamchik
Date: Sat Feb 21 15:03:46 2009
New Revision: 746523

URL: http://svn.apache.org/viewvc?rev=746523&view=rev
Log:
CAY-289 Implement Quoting of identifiers

patch by Olga Tkachova - bumping up sqlite version; removing test ambiguity

Modified:
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/query/EJBQLQueryTest.java
    cayenne/main/trunk/pom.xml

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/query/EJBQLQueryTest.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/query/EJBQLQueryTest.java?rev=746523&r1=746522&r2=746523&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/query/EJBQLQueryTest.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/query/EJBQLQueryTest.java
Sat Feb 21 15:03:46 2009
@@ -100,13 +100,15 @@
         List artists = createDataContext().performQuery(query);
 
         Map row = (Map) artists.get(0);
+        String artistName = (String) row.get("ARTIST_NAME");
+       
         assertTrue(row instanceof DataRow);
 
         Artist artist = (Artist) createDataContext().objectFromDataRow(
                 "Artist",
                 (DataRow) row,
                 true);
-        assertEquals("a0", artist.getArtistName());
+        assertEquals(artistName, artist.getArtistName());
     }
 
     private void insertValue() {

Modified: cayenne/main/trunk/pom.xml
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/pom.xml?rev=746523&r1=746522&r2=746523&view=diff
==============================================================================
--- cayenne/main/trunk/pom.xml (original)
+++ cayenne/main/trunk/pom.xml Sat Feb 21 15:03:46 2009
@@ -821,7 +821,7 @@
 				<dependency>
 					<groupId>org.sqlite</groupId>
 					<artifactId>sqlite-driver</artifactId>
-					<version>0.37</version>
+					<version>0.54</version>
 					<scope>test</scope>
 				</dependency>
 			</dependencies>



Mime
View raw message