Hibernate SVN: r17791 - annotations/branches/v3_4_0_GA_CP/src/test/org/hibernate/test/annotations/entity.
by hibernate-commits@lists.jboss.org
Author: stliu
Date: 2009-10-19 09:16:08 -0400 (Mon, 19 Oct 2009)
New Revision: 17791
Modified:
annotations/branches/v3_4_0_GA_CP/src/test/org/hibernate/test/annotations/entity/Forest.java
Log:
JBPAPP-1068 HHH-4500 Annotations - MSSQL, Oracle - Mapping inconsistency
Modified: annotations/branches/v3_4_0_GA_CP/src/test/org/hibernate/test/annotations/entity/Forest.java
===================================================================
--- annotations/branches/v3_4_0_GA_CP/src/test/org/hibernate/test/annotations/entity/Forest.java 2009-10-19 13:15:07 UTC (rev 17790)
+++ annotations/branches/v3_4_0_GA_CP/src/test/org/hibernate/test/annotations/entity/Forest.java 2009-10-19 13:16:08 UTC (rev 17791)
@@ -11,6 +11,7 @@
import org.hibernate.annotations.FilterDef;
import org.hibernate.annotations.Filters;
import org.hibernate.annotations.Index;
+import org.hibernate.annotations.OptimisticLock;
import org.hibernate.annotations.OptimisticLockType;
import org.hibernate.annotations.ParamDef;
import org.hibernate.annotations.Parameter;
@@ -46,7 +47,8 @@
private String smallText;
private String bigText;
private Country country;
-
+
+ @OptimisticLock(excluded=true)
@Type(type = "text")
public String getLongDescription() {
return longDescription;
14 years, 7 months
Hibernate SVN: r17790 - core/trunk/annotations/src/test/java/org/hibernate/test/annotations/entity.
by hibernate-commits@lists.jboss.org
Author: stliu
Date: 2009-10-19 09:15:07 -0400 (Mon, 19 Oct 2009)
New Revision: 17790
Modified:
core/trunk/annotations/src/test/java/org/hibernate/test/annotations/entity/Forest.java
Log:
HHH-4500 MSSQL, Oracle - Mapping inconsistency
Modified: core/trunk/annotations/src/test/java/org/hibernate/test/annotations/entity/Forest.java
===================================================================
--- core/trunk/annotations/src/test/java/org/hibernate/test/annotations/entity/Forest.java 2009-10-19 09:41:10 UTC (rev 17789)
+++ core/trunk/annotations/src/test/java/org/hibernate/test/annotations/entity/Forest.java 2009-10-19 13:15:07 UTC (rev 17790)
@@ -11,6 +11,7 @@
import org.hibernate.annotations.FilterDef;
import org.hibernate.annotations.Filters;
import org.hibernate.annotations.Index;
+import org.hibernate.annotations.OptimisticLock;
import org.hibernate.annotations.OptimisticLockType;
import org.hibernate.annotations.ParamDef;
import org.hibernate.annotations.Parameter;
@@ -46,7 +47,8 @@
private String smallText;
private String bigText;
private Country country;
-
+
+ @OptimisticLock(excluded=true)
@Type(type = "text")
public String getLongDescription() {
return longDescription;
14 years, 7 months
Hibernate SVN: r17789 - search/branches/Branch_3_1.
by hibernate-commits@lists.jboss.org
Author: jcosta(a)redhat.com
Date: 2009-10-19 05:41:10 -0400 (Mon, 19 Oct 2009)
New Revision: 17789
Modified:
search/branches/Branch_3_1/pom.xml
Log:
HSEARCH-404 - Fixed DB2 v9.7 driver's version
Modified: search/branches/Branch_3_1/pom.xml
===================================================================
--- search/branches/Branch_3_1/pom.xml 2009-10-19 09:40:57 UTC (rev 17788)
+++ search/branches/Branch_3_1/pom.xml 2009-10-19 09:41:10 UTC (rev 17789)
@@ -470,12 +470,12 @@
<dependency>
<groupId>com.ibm</groupId>
<artifactId>db2jcc</artifactId>
- <version>3.57.82</version>
+ <version>3.57.86</version>
</dependency>
<dependency>
<groupId>com.ibm</groupId>
<artifactId>db2jcc_license_cu</artifactId>
- <version>3.57.82</version>
+ <version>3.57.86</version>
</dependency>
</dependencies>
<properties>
14 years, 7 months
Hibernate SVN: r17788 - search/branches/v3_1_1_GA_CP.
by hibernate-commits@lists.jboss.org
Author: jcosta(a)redhat.com
Date: 2009-10-19 05:40:57 -0400 (Mon, 19 Oct 2009)
New Revision: 17788
Modified:
search/branches/v3_1_1_GA_CP/pom.xml
Log:
HSEARCH-404 - Fixed DB2 v9.7 driver's version
Modified: search/branches/v3_1_1_GA_CP/pom.xml
===================================================================
--- search/branches/v3_1_1_GA_CP/pom.xml 2009-10-19 09:40:36 UTC (rev 17787)
+++ search/branches/v3_1_1_GA_CP/pom.xml 2009-10-19 09:40:57 UTC (rev 17788)
@@ -470,12 +470,12 @@
<dependency>
<groupId>com.ibm</groupId>
<artifactId>db2jcc</artifactId>
- <version>3.57.82</version>
+ <version>3.57.86</version>
</dependency>
<dependency>
<groupId>com.ibm</groupId>
<artifactId>db2jcc_license_cu</artifactId>
- <version>3.57.82</version>
+ <version>3.57.86</version>
</dependency>
</dependencies>
<properties>
14 years, 7 months
Hibernate SVN: r17787 - search/trunk.
by hibernate-commits@lists.jboss.org
Author: jcosta(a)redhat.com
Date: 2009-10-19 05:40:36 -0400 (Mon, 19 Oct 2009)
New Revision: 17787
Modified:
search/trunk/pom.xml
Log:
HSEARCH-404 - Fixed DB2 v9.7 driver's version
Modified: search/trunk/pom.xml
===================================================================
--- search/trunk/pom.xml 2009-10-16 16:53:47 UTC (rev 17786)
+++ search/trunk/pom.xml 2009-10-19 09:40:36 UTC (rev 17787)
@@ -522,12 +522,12 @@
<dependency>
<groupId>com.ibm</groupId>
<artifactId>db2jcc</artifactId>
- <version>3.57.82</version>
+ <version>3.57.86</version>
</dependency>
<dependency>
<groupId>com.ibm</groupId>
<artifactId>db2jcc_license_cu</artifactId>
- <version>3.57.82</version>
+ <version>3.57.86</version>
</dependency>
</dependencies>
<properties>
14 years, 7 months
Your internet access is going to get suspended
by ICS Monitoring Team
Your internet access is going to get suspended
The Internet Service Provider Consorcium was made to protect the rights of software authors, artists.
We conduct regular wiretapping on our networks, to monitor criminal acts.
We are aware of your illegal activities on the internet wich were originating from
You can check the report of your activities in the past 6 month that we have attached. We strongly advise you to stop your activities regarding the illegal downloading of copyrighted material of your internet access will be suspended.
Sincerely
ICS Monitoring Team
14 years, 7 months
Hibernate SVN: r17786 - in core/branches/Branch_3_3_2_GA_CP/core/src/main/java/org/hibernate: hql/ast/exec and 1 other directory.
by hibernate-commits@lists.jboss.org
Author: stliu
Date: 2009-10-16 12:53:47 -0400 (Fri, 16 Oct 2009)
New Revision: 17786
Modified:
core/branches/Branch_3_3_2_GA_CP/core/src/main/java/org/hibernate/dialect/Dialect.java
core/branches/Branch_3_3_2_GA_CP/core/src/main/java/org/hibernate/dialect/MySQLDialect.java
core/branches/Branch_3_3_2_GA_CP/core/src/main/java/org/hibernate/hql/ast/exec/AbstractStatementExecutor.java
Log:
JBPAPP-2900 HHH-4486 : Account for MySQL's <DROP TEMPORARY TABLE> statement
Modified: core/branches/Branch_3_3_2_GA_CP/core/src/main/java/org/hibernate/dialect/Dialect.java
===================================================================
--- core/branches/Branch_3_3_2_GA_CP/core/src/main/java/org/hibernate/dialect/Dialect.java 2009-10-16 16:44:01 UTC (rev 17785)
+++ core/branches/Branch_3_3_2_GA_CP/core/src/main/java/org/hibernate/dialect/Dialect.java 2009-10-16 16:53:47 UTC (rev 17786)
@@ -487,6 +487,15 @@
public boolean supportsIdentityColumns() {
return false;
}
+
+ /**
+ * Command used to drop a temporary table.
+ *
+ * @return The command used to drop a temporary table.
+ */
+ public String getDropTemporaryTableString() {
+ return "drop table";
+ }
/**
* Does the dialect support some form of inserting and selecting
Modified: core/branches/Branch_3_3_2_GA_CP/core/src/main/java/org/hibernate/dialect/MySQLDialect.java
===================================================================
--- core/branches/Branch_3_3_2_GA_CP/core/src/main/java/org/hibernate/dialect/MySQLDialect.java 2009-10-16 16:44:01 UTC (rev 17785)
+++ core/branches/Branch_3_3_2_GA_CP/core/src/main/java/org/hibernate/dialect/MySQLDialect.java 2009-10-16 16:53:47 UTC (rev 17786)
@@ -277,7 +277,17 @@
public String getCreateTemporaryTableString() {
return "create temporary table if not exists";
}
+
+ public String getDropTemporaryTableString() {
+ return "drop temporary table";
+ }
+ public Boolean performTemporaryTableDDLInIsolation() {
+ // because we [drop *temporary* table...] we do not
+ // have to perform these in isolation.
+ return Boolean.FALSE;
+ }
+
public String getCastTypeName(int code) {
if ( code==Types.INTEGER ) {
return "signed";
@@ -321,11 +331,7 @@
return true;
}
- public Boolean performTemporaryTableDDLInIsolation() {
- return Boolean.FALSE;
- }
-
// Overridden informational metadata ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
public boolean supportsEmptyInList() {
Modified: core/branches/Branch_3_3_2_GA_CP/core/src/main/java/org/hibernate/hql/ast/exec/AbstractStatementExecutor.java
===================================================================
--- core/branches/Branch_3_3_2_GA_CP/core/src/main/java/org/hibernate/hql/ast/exec/AbstractStatementExecutor.java 2009-10-16 16:44:01 UTC (rev 17785)
+++ core/branches/Branch_3_3_2_GA_CP/core/src/main/java/org/hibernate/hql/ast/exec/AbstractStatementExecutor.java 2009-10-16 16:53:47 UTC (rev 17786)
@@ -182,8 +182,12 @@
public void doWork(Connection connection) throws HibernateException {
Statement stmnt = null;
try {
+ final String command = session.getFactory()
+ .getSettings().getDialect()
+ .getDropTemporaryTableString()
+ + " " + persister.getTemporaryIdTableName();
stmnt = connection.createStatement();
- stmnt.executeUpdate( "drop table " + persister.getTemporaryIdTableName() );
+ stmnt.executeUpdate(command);
}
catch( Throwable t ) {
log.warn( "unable to drop temporary id table after use [" + t.getMessage() + "]" );
14 years, 7 months
Hibernate SVN: r17785 - in core/branches/Branch_3_2_4_SP1_CP/src/org/hibernate: hql/ast/exec and 1 other directory.
by hibernate-commits@lists.jboss.org
Author: stliu
Date: 2009-10-16 12:44:01 -0400 (Fri, 16 Oct 2009)
New Revision: 17785
Modified:
core/branches/Branch_3_2_4_SP1_CP/src/org/hibernate/dialect/Dialect.java
core/branches/Branch_3_2_4_SP1_CP/src/org/hibernate/dialect/MySQLDialect.java
core/branches/Branch_3_2_4_SP1_CP/src/org/hibernate/hql/ast/exec/AbstractStatementExecutor.java
Log:
JBPAPP-2900 HHH-4486 : Account for MySQL's <DROP TEMPORARY TABLE> statement
Modified: core/branches/Branch_3_2_4_SP1_CP/src/org/hibernate/dialect/Dialect.java
===================================================================
--- core/branches/Branch_3_2_4_SP1_CP/src/org/hibernate/dialect/Dialect.java 2009-10-16 16:22:29 UTC (rev 17784)
+++ core/branches/Branch_3_2_4_SP1_CP/src/org/hibernate/dialect/Dialect.java 2009-10-16 16:44:01 UTC (rev 17785)
@@ -1046,6 +1046,15 @@
public String getCreateTemporaryTablePostfix() {
return "";
}
+
+ /**
+ * Command used to drop a temporary table.
+ *
+ * @return The command used to drop a temporary table.
+ */
+ public String getDropTemporaryTableString() {
+ return "drop table";
+ }
/**
* Does the dialect require that temporary table DDL statements occur in
Modified: core/branches/Branch_3_2_4_SP1_CP/src/org/hibernate/dialect/MySQLDialect.java
===================================================================
--- core/branches/Branch_3_2_4_SP1_CP/src/org/hibernate/dialect/MySQLDialect.java 2009-10-16 16:22:29 UTC (rev 17784)
+++ core/branches/Branch_3_2_4_SP1_CP/src/org/hibernate/dialect/MySQLDialect.java 2009-10-16 16:44:01 UTC (rev 17785)
@@ -281,6 +281,16 @@
return "create temporary table if not exists";
}
+ public String getDropTemporaryTableString() {
+ return "drop temporary table";
+ }
+
+ public Boolean performTemporaryTableDDLInIsolation() {
+ // because we [drop *temporary* table...] we do not
+ // have to perform these in isolation.
+ return Boolean.FALSE;
+ }
+
public String getCastTypeName(int code) {
if ( code==Types.INTEGER ) {
return "signed";
@@ -324,11 +334,7 @@
return true;
}
- public Boolean performTemporaryTableDDLInIsolation() {
- return Boolean.FALSE;
- }
-
// Overridden informational metadata ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
public boolean supportsEmptyInList() {
Modified: core/branches/Branch_3_2_4_SP1_CP/src/org/hibernate/hql/ast/exec/AbstractStatementExecutor.java
===================================================================
--- core/branches/Branch_3_2_4_SP1_CP/src/org/hibernate/hql/ast/exec/AbstractStatementExecutor.java 2009-10-16 16:22:29 UTC (rev 17784)
+++ core/branches/Branch_3_2_4_SP1_CP/src/org/hibernate/hql/ast/exec/AbstractStatementExecutor.java 2009-10-16 16:44:01 UTC (rev 17785)
@@ -158,8 +158,12 @@
public void doWork(Connection connection) throws HibernateException {
Statement stmnt = null;
try {
+ final String command = session.getFactory()
+ .getSettings().getDialect()
+ .getDropTemporaryTableString()
+ + " " + persister.getTemporaryIdTableName();
stmnt = connection.createStatement();
- stmnt.executeUpdate( "drop table " + persister.getTemporaryIdTableName() );
+ stmnt.executeUpdate(command);
}
catch( Throwable t ) {
log.warn( "unable to drop temporary id table after use [" + t.getMessage() + "]" );
14 years, 7 months
Hibernate SVN: r17784 - in core/branches/Branch_3_3/core/src/main/java/org/hibernate: hql/ast/exec and 1 other directory.
by hibernate-commits@lists.jboss.org
Author: steve.ebersole(a)jboss.com
Date: 2009-10-16 12:22:29 -0400 (Fri, 16 Oct 2009)
New Revision: 17784
Modified:
core/branches/Branch_3_3/core/src/main/java/org/hibernate/dialect/Dialect.java
core/branches/Branch_3_3/core/src/main/java/org/hibernate/dialect/MySQLDialect.java
core/branches/Branch_3_3/core/src/main/java/org/hibernate/hql/ast/exec/AbstractStatementExecutor.java
Log:
HHH-4486 : MySQL [DROP TEMPORARY TABLE] support
Modified: core/branches/Branch_3_3/core/src/main/java/org/hibernate/dialect/Dialect.java
===================================================================
--- core/branches/Branch_3_3/core/src/main/java/org/hibernate/dialect/Dialect.java 2009-10-16 16:22:06 UTC (rev 17783)
+++ core/branches/Branch_3_3/core/src/main/java/org/hibernate/dialect/Dialect.java 2009-10-16 16:22:29 UTC (rev 17784)
@@ -1090,6 +1090,15 @@
}
/**
+ * Command used to drop a temporary table.
+ *
+ * @return The command used to drop a temporary table.
+ */
+ public String getDropTemporaryTableString() {
+ return "drop table";
+ }
+
+ /**
* Does the dialect require that temporary table DDL statements occur in
* isolation from other statements? This would be the case if the creation
* would cause any current transaction to get committed implicitly.
Modified: core/branches/Branch_3_3/core/src/main/java/org/hibernate/dialect/MySQLDialect.java
===================================================================
--- core/branches/Branch_3_3/core/src/main/java/org/hibernate/dialect/MySQLDialect.java 2009-10-16 16:22:06 UTC (rev 17783)
+++ core/branches/Branch_3_3/core/src/main/java/org/hibernate/dialect/MySQLDialect.java 2009-10-16 16:22:29 UTC (rev 17784)
@@ -278,6 +278,16 @@
return "create temporary table if not exists";
}
+ public String getDropTemporaryTableString() {
+ return "drop temporary table";
+ }
+
+ public Boolean performTemporaryTableDDLInIsolation() {
+ // because we [drop *temporary* table...] we do not
+ // have to perform these in isolation.
+ return Boolean.FALSE;
+ }
+
public String getCastTypeName(int code) {
if ( code==Types.INTEGER ) {
return "signed";
@@ -321,11 +331,7 @@
return true;
}
- public Boolean performTemporaryTableDDLInIsolation() {
- return Boolean.FALSE;
- }
-
// Overridden informational metadata ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
public boolean supportsEmptyInList() {
Modified: core/branches/Branch_3_3/core/src/main/java/org/hibernate/hql/ast/exec/AbstractStatementExecutor.java
===================================================================
--- core/branches/Branch_3_3/core/src/main/java/org/hibernate/hql/ast/exec/AbstractStatementExecutor.java 2009-10-16 16:22:06 UTC (rev 17783)
+++ core/branches/Branch_3_3/core/src/main/java/org/hibernate/hql/ast/exec/AbstractStatementExecutor.java 2009-10-16 16:22:29 UTC (rev 17784)
@@ -181,8 +181,10 @@
public void doWork(Connection connection) throws HibernateException {
Statement stmnt = null;
try {
+ final String command = session.getFactory().getSettings().getDialect().getDropTemporaryTableString()
+ + " " + persister.getTemporaryIdTableName();
stmnt = connection.createStatement();
- stmnt.executeUpdate( "drop table " + persister.getTemporaryIdTableName() );
+ stmnt.executeUpdate( command );
}
catch( Throwable t ) {
log.warn( "unable to drop temporary id table after use [" + t.getMessage() + "]" );
14 years, 7 months