mirror of https://github.com/apache/openjpa.git
Re-factor unnecessary String concatenation.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@828079 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f7568decb9
commit
330b1f657a
|
@ -40,7 +40,7 @@ public class TestQueryLock extends BaseQueryTest {
|
||||||
|
|
||||||
public void testJPQLLock() {
|
public void testJPQLLock() {
|
||||||
EntityManager em = currentEntityManager();
|
EntityManager em = currentEntityManager();
|
||||||
Query q = em.createQuery("SELECT o FROM Entity1 o " + "WHERE o.stringField = 'testSimple'");
|
Query q = em.createQuery("SELECT o FROM Entity1 o WHERE o.stringField = 'testSimple'");
|
||||||
|
|
||||||
try {
|
try {
|
||||||
q.setLockMode(LockModeType.NONE);
|
q.setLockMode(LockModeType.NONE);
|
||||||
|
|
Loading…
Reference in New Issue