Hibernate SVN: r19448 - core/branches/Branch_3_5/core/src/main/java/org/hibernate/cfg.
by hibernate-commits@lists.jboss.org
Author: steve.ebersole(a)jboss.com
Date: 2010-05-10 08:30:01 -0400 (Mon, 10 May 2010)
New Revision: 19448
Modified:
core/branches/Branch_3_5/core/src/main/java/org/hibernate/cfg/ObjectNameNormalizer.java
Log:
HHH-5006 - hibernate.globally_quoted_identifiers=true and Annotations tests
Modified: core/branches/Branch_3_5/core/src/main/java/org/hibernate/cfg/ObjectNameNormalizer.java
===================================================================
--- core/branches/Branch_3_5/core/src/main/…
[View More]java/org/hibernate/cfg/ObjectNameNormalizer.java 2010-05-10 12:29:29 UTC (rev 19447)
+++ core/branches/Branch_3_5/core/src/main/java/org/hibernate/cfg/ObjectNameNormalizer.java 2010-05-10 12:30:01 UTC (rev 19448)
@@ -98,7 +98,7 @@
* @return The identifier accounting for any quoting that need be applied.
*/
public String normalizeIdentifierQuoting(String identifier) {
- if ( identifier == null ) {
+ if ( StringHelper.isEmpty( identifier ) ) {
return null;
}
[View Less]
14 years, 8 months
Hibernate SVN: r19447 - core/trunk/core/src/main/java/org/hibernate/cfg.
by hibernate-commits@lists.jboss.org
Author: steve.ebersole(a)jboss.com
Date: 2010-05-10 08:29:29 -0400 (Mon, 10 May 2010)
New Revision: 19447
Modified:
core/trunk/core/src/main/java/org/hibernate/cfg/ObjectNameNormalizer.java
Log:
HHH-5006 - hibernate.globally_quoted_identifiers=true and Annotations tests
Modified: core/trunk/core/src/main/java/org/hibernate/cfg/ObjectNameNormalizer.java
===================================================================
--- core/trunk/core/src/main/java/org/hibernate/cfg/…
[View More]ObjectNameNormalizer.java 2010-05-10 10:37:03 UTC (rev 19446)
+++ core/trunk/core/src/main/java/org/hibernate/cfg/ObjectNameNormalizer.java 2010-05-10 12:29:29 UTC (rev 19447)
@@ -98,7 +98,7 @@
* @return The identifier accounting for any quoting that need be applied.
*/
public String normalizeIdentifierQuoting(String identifier) {
- if ( identifier == null ) {
+ if ( StringHelper.isEmpty( identifier ) ) {
return null;
}
[View Less]
14 years, 8 months
Hibernate SVN: r19446 - core/branches/Branch_3_2_4_SP1_CP/test/org/hibernate/test/generatedkeys/seqidentity.
by hibernate-commits@lists.jboss.org
Author: stliu
Date: 2010-05-10 06:37:03 -0400 (Mon, 10 May 2010)
New Revision: 19446
Modified:
core/branches/Branch_3_2_4_SP1_CP/test/org/hibernate/test/generatedkeys/seqidentity/SequenceIdentityTest.java
Log:
JBPAPP-3913 Oracle 11g R2 RAC - Test SequenceIdentityTest fails because first value of sequence is "2"
Modified: core/branches/Branch_3_2_4_SP1_CP/test/org/hibernate/test/generatedkeys/seqidentity/SequenceIdentityTest.java
==============================================================…
[View More]=====
--- core/branches/Branch_3_2_4_SP1_CP/test/org/hibernate/test/generatedkeys/seqidentity/SequenceIdentityTest.java 2010-05-10 10:34:18 UTC (rev 19445)
+++ core/branches/Branch_3_2_4_SP1_CP/test/org/hibernate/test/generatedkeys/seqidentity/SequenceIdentityTest.java 2010-05-10 10:37:03 UTC (rev 19446)
@@ -44,7 +44,7 @@
session.save( e );
// this insert should happen immediately!
- assertEquals( "id not generated through forced insertion", new Long(1), e.getId() );
+ assertNotNull( "id not generated through forced insertion", e.getId() );
session.delete( e );
session.getTransaction().commit();
[View Less]
14 years, 8 months
Hibernate SVN: r19445 - core/trunk/testsuite/src/test/java/org/hibernate/test/generatedkeys/seqidentity.
by hibernate-commits@lists.jboss.org
Author: stliu
Date: 2010-05-10 06:34:18 -0400 (Mon, 10 May 2010)
New Revision: 19445
Modified:
core/trunk/testsuite/src/test/java/org/hibernate/test/generatedkeys/seqidentity/SequenceIdentityTest.java
Log:
HHH-5208 Oracle 11g R2 RAC - Test SequenceIdentityTest fails because first value of sequence is "2"
Modified: core/trunk/testsuite/src/test/java/org/hibernate/test/generatedkeys/seqidentity/SequenceIdentityTest.java
===================================================================
--- …
[View More]core/trunk/testsuite/src/test/java/org/hibernate/test/generatedkeys/seqidentity/SequenceIdentityTest.java 2010-05-10 10:32:22 UTC (rev 19444)
+++ core/trunk/testsuite/src/test/java/org/hibernate/test/generatedkeys/seqidentity/SequenceIdentityTest.java 2010-05-10 10:34:18 UTC (rev 19445)
@@ -43,7 +43,7 @@
session.save( e );
// this insert should happen immediately!
- assertEquals( "id not generated through forced insertion", new Long(1), e.getId() );
+ assertNotNull( "id not generated through forced insertion", e.getId() );
session.delete( e );
session.getTransaction().commit();
[View Less]
14 years, 8 months
Hibernate SVN: r19444 - core/branches/Branch_3_5/testsuite/src/test/java/org/hibernate/test/generatedkeys/seqidentity.
by hibernate-commits@lists.jboss.org
Author: stliu
Date: 2010-05-10 06:32:22 -0400 (Mon, 10 May 2010)
New Revision: 19444
Modified:
core/branches/Branch_3_5/testsuite/src/test/java/org/hibernate/test/generatedkeys/seqidentity/SequenceIdentityTest.java
Log:
HHH-5208 Oracle 11g R2 RAC - Test SequenceIdentityTest fails because first value of sequence is "2"
Modified: core/branches/Branch_3_5/testsuite/src/test/java/org/hibernate/test/generatedkeys/seqidentity/SequenceIdentityTest.java
=============================================…
[View More]======================
--- core/branches/Branch_3_5/testsuite/src/test/java/org/hibernate/test/generatedkeys/seqidentity/SequenceIdentityTest.java 2010-05-10 09:55:30 UTC (rev 19443)
+++ core/branches/Branch_3_5/testsuite/src/test/java/org/hibernate/test/generatedkeys/seqidentity/SequenceIdentityTest.java 2010-05-10 10:32:22 UTC (rev 19444)
@@ -43,7 +43,7 @@
session.save( e );
// this insert should happen immediately!
- assertEquals( "id not generated through forced insertion", new Long(1), e.getId() );
+ assertNotNull( "id not generated through forced insertion", e.getId() );
session.delete( e );
session.getTransaction().commit();
[View Less]
14 years, 8 months
Hibernate SVN: r19443 - core/branches/Branch_3_5/testsuite/src/test/java/org/hibernate/test/sql/hand/custom/db2.
by hibernate-commits@lists.jboss.org
Author: stliu
Date: 2010-05-10 05:55:30 -0400 (Mon, 10 May 2010)
New Revision: 19443
Modified:
core/branches/Branch_3_5/testsuite/src/test/java/org/hibernate/test/sql/hand/custom/db2/Mappings.hbm.xml
Log:
HHH-5211 no need to create a schema first when run this test org.hibernate.test.sql.hand.custom.db2.DB2CustomSQLTest
Modified: core/branches/Branch_3_5/testsuite/src/test/java/org/hibernate/test/sql/hand/custom/db2/Mappings.hbm.xml
==========================================================…
[View More]=========
--- core/branches/Branch_3_5/testsuite/src/test/java/org/hibernate/test/sql/hand/custom/db2/Mappings.hbm.xml 2010-05-10 09:35:18 UTC (rev 19442)
+++ core/branches/Branch_3_5/testsuite/src/test/java/org/hibernate/test/sql/hand/custom/db2/Mappings.hbm.xml 2010-05-10 09:55:30 UTC (rev 19443)
@@ -180,19 +180,19 @@
<sql-query name="simpleScalar" callable="true">
<return-scalar column="name" type="string"/>
<return-scalar column="value" type="long"/>
- { call HIBDB2TST.simpleScalar(:number) }
+ { call simpleScalar(:number) }
</sql-query>
<sql-query name="paramhandling" callable="true">
<return-scalar column="value" type="long"/>
<return-scalar column="value2" type="long"/>
- { call HIBDB2TST.paramHandling(?,?) }
+ { call paramHandling(?,?) }
</sql-query>
<sql-query name="paramhandling_mixed" callable="true">
<return-scalar column="value" type="long" />
<return-scalar column="value2" type="long" />
- { call HIBDB2TST.paramHandling(?,:second) }
+ { call paramHandling(?,:second) }
</sql-query>
<sql-query name="selectAllEmployments" callable="true">
@@ -210,7 +210,7 @@
<return-column name="CURRENCY"/>
</return-property>
</return>
- { call HIBDB2TST.selectAllEmployments() }
+ { call selectAllEmployments() }
</sql-query>
<sql-query name="textholder">
@@ -222,16 +222,10 @@
<return alias="h" class="ImageHolder" lock-mode="upgrade"/>
SELECT ID AS {h.id}, PHOTO AS {h.photo} FROM IMAGEHOLDER WHERE ID=? /*FOR UPDATE*/
</sql-query>
-
- <!-- DB2 seem to *require* users to specify explicit schema/location when executing a stored procedure *stupid* -->
- <database-object>
- <create>CREATE SCHEMA HIBDB2TST</create>
- <drop>DROP SCHEMA HIBDB2TST RESTRICT</drop>
- </database-object>
<database-object>
<create>
- CREATE PROCEDURE HIBDB2TST.selectAllEmployments () RESULT SETS 1
+ CREATE PROCEDURE selectAllEmployments () RESULT SETS 1
P1: BEGIN
DECLARE C1 CURSOR WITH RETURN FOR
SELECT EMPLOYEE, EMPLOYER, STARTDATE, ENDDATE,
@@ -241,14 +235,14 @@
END P1
</create>
<drop>
- DROP PROCEDURE HIBDB2TST.selectAllEmployments
+ DROP PROCEDURE selectAllEmployments
</drop>
</database-object>
<database-object>
<create>
- CREATE PROCEDURE HIBDB2TST.paramHandling (IN j SMALLINT, IN i SMALLINT) RESULT SETS 1
+ CREATE PROCEDURE paramHandling (IN j SMALLINT, IN i SMALLINT) RESULT SETS 1
P1: BEGIN
DECLARE C1 CURSOR WITH RETURN FOR
SELECT j as value, i as value2 from sysibm.sysdummy1;
@@ -256,13 +250,13 @@
END P1
</create>
<drop>
- DROP PROCEDURE HIBDB2TST.paramHandling
+ DROP PROCEDURE paramHandling
</drop>
</database-object>
<database-object>
<create>
- CREATE PROCEDURE HIBDB2TST.simpleScalar (IN j SMALLINT) RESULT SETS 1
+ CREATE PROCEDURE simpleScalar (IN j SMALLINT) RESULT SETS 1
P1: BEGIN
DECLARE C1 CURSOR WITH RETURN FOR
SELECT j as value, 'getAll' as name from sysibm.sysdummy1;
@@ -270,7 +264,7 @@
END P1
</create>
<drop>
- DROP PROCEDURE HIBDB2TST.simpleScalar
+ DROP PROCEDURE simpleScalar
</drop>
</database-object>
</hibernate-mapping>
[View Less]
14 years, 8 months
Hibernate SVN: r19442 - core/branches/Branch_3_2_4_SP1_CP/test/org/hibernate/test/sql/hand/custom/db2.
by hibernate-commits@lists.jboss.org
Author: stliu
Date: 2010-05-10 05:35:18 -0400 (Mon, 10 May 2010)
New Revision: 19442
Modified:
core/branches/Branch_3_2_4_SP1_CP/test/org/hibernate/test/sql/hand/custom/db2/Mappings.hbm.xml
Log:
JBPAPP-4261 HHH-5211 no need to create a schema first when run this test org.hibernate.test.sql.hand.custom.db2.DB2CustomSQLTest
Modified: core/branches/Branch_3_2_4_SP1_CP/test/org/hibernate/test/sql/hand/custom/db2/Mappings.hbm.xml
==================================================================…
[View More]=
--- core/branches/Branch_3_2_4_SP1_CP/test/org/hibernate/test/sql/hand/custom/db2/Mappings.hbm.xml 2010-05-10 09:31:20 UTC (rev 19441)
+++ core/branches/Branch_3_2_4_SP1_CP/test/org/hibernate/test/sql/hand/custom/db2/Mappings.hbm.xml 2010-05-10 09:35:18 UTC (rev 19442)
@@ -150,19 +150,19 @@
<sql-query name="simpleScalar" callable="true">
<return-scalar column="name" type="string"/>
<return-scalar column="value" type="long"/>
- { call HIBDB2TST.simpleScalar(:number) }
+ { call simpleScalar(:number) }
</sql-query>
<sql-query name="paramhandling" callable="true">
<return-scalar column="value" type="long"/>
<return-scalar column="value2" type="long"/>
- { call HIBDB2TST.paramHandling(?,?) }
+ { call paramHandling(?,?) }
</sql-query>
<sql-query name="paramhandling_mixed" callable="true">
<return-scalar column="value" type="long" />
<return-scalar column="value2" type="long" />
- { call HIBDB2TST.paramHandling(?,:second) }
+ { call paramHandling(?,:second) }
</sql-query>
<sql-query name="selectAllEmployments" callable="true">
@@ -180,18 +180,13 @@
<return-column name="CURRENCY"/>
</return-property>
</return>
- { call HIBDB2TST.selectAllEmployments() }
+ { call selectAllEmployments() }
</sql-query>
- <!-- DB2 seem to *require* users to specify explicit schema/location when executing a stored procedure *stupid* -->
- <database-object>
- <create>CREATE SCHEMA HIBDB2TST</create>
- <drop>DROP SCHEMA HIBDB2TST RESTRICT</drop>
- </database-object>
<database-object>
<create>
- CREATE PROCEDURE HIBDB2TST.selectAllEmployments () RESULT SETS 1
+ CREATE PROCEDURE selectAllEmployments () RESULT SETS 1
P1: BEGIN
DECLARE C1 CURSOR WITH RETURN FOR
SELECT EMPLOYEE, EMPLOYER, STARTDATE, ENDDATE,
@@ -201,14 +196,14 @@
END P1
</create>
<drop>
- DROP PROCEDURE HIBDB2TST.selectAllEmployments
+ DROP PROCEDURE selectAllEmployments
</drop>
</database-object>
<database-object>
<create>
- CREATE PROCEDURE HIBDB2TST.paramHandling (IN j SMALLINT, IN i SMALLINT) RESULT SETS 1
+ CREATE PROCEDURE paramHandling (IN j SMALLINT, IN i SMALLINT) RESULT SETS 1
P1: BEGIN
DECLARE C1 CURSOR WITH RETURN FOR
SELECT j as value, i as value2 from sysibm.sysdummy1;
@@ -216,13 +211,13 @@
END P1
</create>
<drop>
- DROP PROCEDURE HIBDB2TST.paramHandling
+ DROP PROCEDURE paramHandling
</drop>
</database-object>
<database-object>
<create>
- CREATE PROCEDURE HIBDB2TST.simpleScalar (IN j SMALLINT) RESULT SETS 1
+ CREATE PROCEDURE simpleScalar (IN j SMALLINT) RESULT SETS 1
P1: BEGIN
DECLARE C1 CURSOR WITH RETURN FOR
SELECT j as value, 'getAll' as name from sysibm.sysdummy1;
@@ -230,7 +225,7 @@
END P1
</create>
<drop>
- DROP PROCEDURE HIBDB2TST.simpleScalar
+ DROP PROCEDURE simpleScalar
</drop>
</database-object>
</hibernate-mapping>
[View Less]
14 years, 8 months
Hibernate SVN: r19441 - core/trunk/testsuite/src/test/java/org/hibernate/test/sql/hand/custom/db2.
by hibernate-commits@lists.jboss.org
Author: stliu
Date: 2010-05-10 05:31:20 -0400 (Mon, 10 May 2010)
New Revision: 19441
Modified:
core/trunk/testsuite/src/test/java/org/hibernate/test/sql/hand/custom/db2/Mappings.hbm.xml
Log:
HHH-5211 no need to create a schema first when run this test org.hibernate.test.sql.hand.custom.db2.DB2CustomSQLTest
Modified: core/trunk/testsuite/src/test/java/org/hibernate/test/sql/hand/custom/db2/Mappings.hbm.xml
===================================================================
--- core/trunk/…
[View More]testsuite/src/test/java/org/hibernate/test/sql/hand/custom/db2/Mappings.hbm.xml 2010-05-10 09:28:06 UTC (rev 19440)
+++ core/trunk/testsuite/src/test/java/org/hibernate/test/sql/hand/custom/db2/Mappings.hbm.xml 2010-05-10 09:31:20 UTC (rev 19441)
@@ -180,19 +180,19 @@
<sql-query name="simpleScalar" callable="true">
<return-scalar column="name" type="string"/>
<return-scalar column="value" type="long"/>
- { call HIBDB2TST.simpleScalar(:number) }
+ { call simpleScalar(:number) }
</sql-query>
<sql-query name="paramhandling" callable="true">
<return-scalar column="value" type="long"/>
<return-scalar column="value2" type="long"/>
- { call HIBDB2TST.paramHandling(?,?) }
+ { call paramHandling(?,?) }
</sql-query>
<sql-query name="paramhandling_mixed" callable="true">
<return-scalar column="value" type="long" />
<return-scalar column="value2" type="long" />
- { call HIBDB2TST.paramHandling(?,:second) }
+ { call paramHandling(?,:second) }
</sql-query>
<sql-query name="selectAllEmployments" callable="true">
@@ -210,7 +210,7 @@
<return-column name="CURRENCY"/>
</return-property>
</return>
- { call HIBDB2TST.selectAllEmployments() }
+ { call selectAllEmployments() }
</sql-query>
<sql-query name="textholder">
@@ -223,15 +223,10 @@
SELECT ID AS {h.id}, PHOTO AS {h.photo} FROM IMAGEHOLDER WHERE ID=? /*FOR UPDATE*/
</sql-query>
- <!-- DB2 seem to *require* users to specify explicit schema/location when executing a stored procedure *stupid* -->
- <database-object>
- <create>CREATE SCHEMA HIBDB2TST</create>
- <drop>DROP SCHEMA HIBDB2TST RESTRICT</drop>
- </database-object>
<database-object>
<create>
- CREATE PROCEDURE HIBDB2TST.selectAllEmployments () RESULT SETS 1
+ CREATE PROCEDURE selectAllEmployments () RESULT SETS 1
P1: BEGIN
DECLARE C1 CURSOR WITH RETURN FOR
SELECT EMPLOYEE, EMPLOYER, STARTDATE, ENDDATE,
@@ -241,14 +236,14 @@
END P1
</create>
<drop>
- DROP PROCEDURE HIBDB2TST.selectAllEmployments
+ DROP PROCEDURE selectAllEmployments
</drop>
</database-object>
<database-object>
<create>
- CREATE PROCEDURE HIBDB2TST.paramHandling (IN j SMALLINT, IN i SMALLINT) RESULT SETS 1
+ CREATE PROCEDURE paramHandling (IN j SMALLINT, IN i SMALLINT) RESULT SETS 1
P1: BEGIN
DECLARE C1 CURSOR WITH RETURN FOR
SELECT j as value, i as value2 from sysibm.sysdummy1;
@@ -256,13 +251,13 @@
END P1
</create>
<drop>
- DROP PROCEDURE HIBDB2TST.paramHandling
+ DROP PROCEDURE paramHandling
</drop>
</database-object>
<database-object>
<create>
- CREATE PROCEDURE HIBDB2TST.simpleScalar (IN j SMALLINT) RESULT SETS 1
+ CREATE PROCEDURE simpleScalar (IN j SMALLINT) RESULT SETS 1
P1: BEGIN
DECLARE C1 CURSOR WITH RETURN FOR
SELECT j as value, 'getAll' as name from sysibm.sysdummy1;
@@ -270,7 +265,7 @@
END P1
</create>
<drop>
- DROP PROCEDURE HIBDB2TST.simpleScalar
+ DROP PROCEDURE simpleScalar
</drop>
</database-object>
</hibernate-mapping>
[View Less]
14 years, 8 months
Hibernate SVN: r19440 - core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/java/org/hibernate/test/sql/hand/custom/db2.
by hibernate-commits@lists.jboss.org
Author: stliu
Date: 2010-05-10 05:28:06 -0400 (Mon, 10 May 2010)
New Revision: 19440
Modified:
core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/java/org/hibernate/test/sql/hand/custom/db2/Mappings.hbm.xml
Log:
JBPAPP-4261 HHH-5211 no need to create a schema first when run this test org.hibernate.test.sql.hand.custom.db2.DB2CustomSQLTest
Modified: core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/java/org/hibernate/test/sql/hand/custom/db2/Mappings.hbm.xml
==============================…
[View More]=====================================
--- core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/java/org/hibernate/test/sql/hand/custom/db2/Mappings.hbm.xml 2010-05-10 08:30:39 UTC (rev 19439)
+++ core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/java/org/hibernate/test/sql/hand/custom/db2/Mappings.hbm.xml 2010-05-10 09:28:06 UTC (rev 19440)
@@ -149,19 +149,19 @@
<sql-query name="simpleScalar" callable="true">
<return-scalar column="name" type="string"/>
<return-scalar column="value" type="long"/>
- { call HIBDB2TST.simpleScalar(:number) }
+ { call simpleScalar(:number) }
</sql-query>
<sql-query name="paramhandling" callable="true">
<return-scalar column="value" type="long"/>
<return-scalar column="value2" type="long"/>
- { call HIBDB2TST.paramHandling(?,?) }
+ { call paramHandling(?,?) }
</sql-query>
<sql-query name="paramhandling_mixed" callable="true">
<return-scalar column="value" type="long" />
<return-scalar column="value2" type="long" />
- { call HIBDB2TST.paramHandling(?,:second) }
+ { call paramHandling(?,:second) }
</sql-query>
<sql-query name="selectAllEmployments" callable="true">
@@ -179,17 +179,17 @@
<return-column name="CURRENCY"/>
</return-property>
</return>
- { call HIBDB2TST.selectAllEmployments() }
+ { call selectAllEmployments() }
</sql-query>
<!-- DB2 seem to *require* users to specify explicit schema/location when executing a stored procedure *stupid* -->
- <database-object>
+ <!--<database-object>
<create>CREATE SCHEMA HIBDB2TST</create>
<drop>DROP SCHEMA HIBDB2TST RESTRICT</drop>
</database-object>
- <database-object>
+ --><database-object>
<create>
- CREATE PROCEDURE HIBDB2TST.selectAllEmployments () RESULT SETS 1
+ CREATE PROCEDURE selectAllEmployments () RESULT SETS 1
P1: BEGIN
DECLARE C1 CURSOR WITH RETURN FOR
SELECT EMPLOYEE, EMPLOYER, STARTDATE, ENDDATE,
@@ -199,14 +199,14 @@
END P1
</create>
<drop>
- DROP PROCEDURE HIBDB2TST.selectAllEmployments
+ DROP PROCEDURE selectAllEmployments
</drop>
</database-object>
<database-object>
<create>
- CREATE PROCEDURE HIBDB2TST.paramHandling (IN j SMALLINT, IN i SMALLINT) RESULT SETS 1
+ CREATE PROCEDURE paramHandling (IN j SMALLINT, IN i SMALLINT) RESULT SETS 1
P1: BEGIN
DECLARE C1 CURSOR WITH RETURN FOR
SELECT j as value, i as value2 from sysibm.sysdummy1;
@@ -214,13 +214,13 @@
END P1
</create>
<drop>
- DROP PROCEDURE HIBDB2TST.paramHandling
+ DROP PROCEDURE paramHandling
</drop>
</database-object>
<database-object>
<create>
- CREATE PROCEDURE HIBDB2TST.simpleScalar (IN j SMALLINT) RESULT SETS 1
+ CREATE PROCEDURE simpleScalar (IN j SMALLINT) RESULT SETS 1
P1: BEGIN
DECLARE C1 CURSOR WITH RETURN FOR
SELECT j as value, 'getAll' as name from sysibm.sysdummy1;
@@ -228,7 +228,7 @@
END P1
</create>
<drop>
- DROP PROCEDURE HIBDB2TST.simpleScalar
+ DROP PROCEDURE simpleScalar
</drop>
</database-object>
</hibernate-mapping>
[View Less]
14 years, 8 months
Hibernate SVN: r19439 - core/branches/Branch_3_3_2_GA_CP/cache-oscache/src/main/java/org/hibernate/cache.
by hibernate-commits@lists.jboss.org
Author: stliu
Date: 2010-05-10 04:30:39 -0400 (Mon, 10 May 2010)
New Revision: 19439
Modified:
core/branches/Branch_3_3_2_GA_CP/cache-oscache/src/main/java/org/hibernate/cache/OSCache.java
Log:
JBPAPP-4256 Useless String Value Of : No need to call String.valueOf to append to a string.
Modified: core/branches/Branch_3_3_2_GA_CP/cache-oscache/src/main/java/org/hibernate/cache/OSCache.java
===================================================================
--- core/branches/Branch_3_3_2_GA_CP/…
[View More]cache-oscache/src/main/java/org/hibernate/cache/OSCache.java 2010-05-10 08:28:58 UTC (rev 19438)
+++ core/branches/Branch_3_3_2_GA_CP/cache-oscache/src/main/java/org/hibernate/cache/OSCache.java 2010-05-10 08:30:39 UTC (rev 19439)
@@ -43,7 +43,7 @@
private final String regionName;
private String toString(Object key) {
- return String.valueOf(key) + '.' + regionName;
+ return key + "." +regionName;
}
public OSCache(int refreshPeriod, String cron, String region) {
[View Less]
14 years, 8 months