From 6f67c88603cd167ed9e911112e41bcafd394e764 Mon Sep 17 00:00:00 2001 From: Michael Dick Date: Thu, 16 Sep 2010 21:01:03 +0000 Subject: [PATCH] convert long->string in testcase. git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@997925 13f79535-47bb-0310-9956-ffa450edef68 --- .../openjpa/persistence/jpql/functions/TestSetParameter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jpql/functions/TestSetParameter.java b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jpql/functions/TestSetParameter.java index 70dc55873..b4ca3777c 100644 --- a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jpql/functions/TestSetParameter.java +++ b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jpql/functions/TestSetParameter.java @@ -123,7 +123,7 @@ public class TestSetParameter extends SingleEMFTestCase { .setParameter(2, "Some City") .setParameter(3, "Some Country") .setParameter(4, "Some Street") - .setParameter(5, System.currentTimeMillis()%10000) + .setParameter(5, String.valueOf(System.currentTimeMillis()%10000)) .executeUpdate(); em.getTransaction().commit(); assertEquals(1, count);