<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>torque-dev@db.apache.org Archives</title>
<link rel="self" href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/?format=atom"/>
<link href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/"/>
<id>http://mail-archives.apache.org/mod_mbox/db-torque-dev/</id>
<updated>2013-05-20T19:32:37Z</updated>
<entry>
<title>Build failed in Jenkins: torque4-test-project-derby #343</title>
<author><name>Apache Jenkins Server  &lt;jenkins@builds.apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/201305.mbox/%3c1212965942.4616.1369013919642.JavaMail.hudson@aegis%3e"/>
<id>urn:uuid:%3c1212965942-4616-1369013919642-JavaMail-hudson@aegis%3e</id>
<updated>2013-05-20T01:38:39Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
See &lt;https://builds.apache.org/job/torque4-test-project-derby/343/&gt;&#010;&#010;------------------------------------------&#010;[...truncated 1713 lines...]&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseAutoincrementIdbrokerManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseInheritanceTestManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseInheritanceClassnameTestManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseSummarize1Manager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseSkipSqlManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseAbstractManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseTestInterfaceManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseLocalTestInterfaceManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseOptimisticLockingManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseOptimisticLockingSimpleManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseIncludedManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseIncludedFromIncludedManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/types-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseTypesObjectManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseTypesPrimitiveManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseBitTypeManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseBlobTypeManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseClobTypeManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseBinaryTypeManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseVarbinaryTypeManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseLongvarbinaryTypeManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseBintBcharTypeManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseDateTimeTimestampTypeManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseIntegerTypeManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseBigintTypeManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseVarcharTypeManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing output torque.om.baseManagerForView&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/bookstore-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseBookAuthorsManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/databaseMapInit-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - No start Elements found for path all-views/view&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/default-value-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - No start Elements found for path all-views/view&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/foreign-key-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - No start Elements found for path all-views/view&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/index.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - No start Elements found for path all-views/view&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/pk-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - No start Elements found for path all-views/view&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/qualified-table-name-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - No start Elements found for path all-views/view&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/save-method-in-peer-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - No start Elements found for path all-views/view&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/test-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - No start Elements found for path all-views/view&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/types-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - No start Elements found for path all-views/view&#010;[INFO] Generation successful&#010;[INFO] [torque:generate {execution: generate-sql}]&#010;INFO  org.apache.torque.generator.control.Controller - readConfiguration() : Starting to read&#010;configuration files&#010;May 20, 2013 1:37:44 AM org.codehaus.groovy.runtime.m12n.SimpleExtensionModule getMetaMethods&#010;WARNING: Module [groovy-all] - Unable to load extension class [class org.codehaus.groovy.jsr223.ScriptExtensions]&#010;due to [javax/script/ScriptEngine]. Maybe this module is not supported by your JVM version.&#010;May 20, 2013 1:37:44 AM org.codehaus.groovy.runtime.m12n.SimpleExtensionModule getMetaMethods&#010;WARNING: Module [groovy-all] - Unable to load extension class [class org.codehaus.groovy.jsr223.ScriptStaticExtensions]&#010;due to [javax/script/ScriptEngineManager]. Maybe this module is not supported by your JVM&#010;version.&#010;INFO  org.apache.torque.generator.control.Controller - readConfiguration() : Configuration&#010;read.&#010;INFO  org.apache.torque.generator.control.Controller - Processing output torque.sql.ddl&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/bookstore-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/bookstore-schema.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/databaseMapInit-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/databaseMapInit-schema.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/default-value-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/default-value-schema.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/foreign-key-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/foreign-key-schema.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/id-table-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/id-table-schema.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/index.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/index.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/pk-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/pk-schema.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/qualified-table-name-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/qualified-table-name-schema.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/save-method-in-peer-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/save-method-in-peer-schema.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/test-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/test-schema.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/types-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/types-schema.sql&gt;&#010;[INFO] Generation successful&#010;[INFO] [torque:generate {execution: generate-createdb-sql}]&#010;INFO  org.apache.torque.generator.control.Controller - readConfiguration() : Starting to read&#010;configuration files&#010;INFO  org.apache.torque.generator.control.Controller - readConfiguration() : Configuration&#010;read.&#010;INFO  org.apache.torque.generator.control.Controller - Processing output torque.sql.createdb&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/bookstore-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-createdb-sql/bookstore-schema-create.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/databaseMapInit-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-createdb-sql/databaseMapInit-schema-create.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/default-value-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-createdb-sql/default-value-schema-create.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/foreign-key-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-createdb-sql/foreign-key-schema-create.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/index.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-createdb-sql/index-create.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/pk-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-createdb-sql/pk-schema-create.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/qualified-table-name-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-createdb-sql/qualified-table-name-schema-create.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/save-method-in-peer-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-createdb-sql/save-method-in-peer-schema-create.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/test-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-createdb-sql/test-schema-create.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/types-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-createdb-sql/types-schema-create.sql&gt;&#010;[INFO] Generation successful&#010;[INFO] [torque:generate {execution: generate-idtable-sql}]&#010;INFO  org.apache.torque.generator.control.Controller - readConfiguration() : Starting to read&#010;configuration files&#010;INFO  org.apache.torque.generator.control.Controller - readConfiguration() : Configuration&#010;read.&#010;INFO  org.apache.torque.generator.control.Controller - Processing output torque.sql.idtable.idtable&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/./bookstore-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/bookstore-schema-idtable-init.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/./databaseMapInit-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/databaseMapInit-schema-idtable-init.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/./default-value-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/default-value-schema-idtable-init.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/./ext-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/ext-schema-idtable-init.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/./extext-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/extext-schema-idtable-init.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/./foreign-key-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/foreign-key-schema-idtable-init.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/./included-from-included-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/included-from-included-schema-idtable-init.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/./included-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/included-schema-idtable-init.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/./pk-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/pk-schema-idtable-init.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/./qualified-table-name-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/qualified-table-name-schema-idtable-init.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/./save-method-in-peer-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/save-method-in-peer-schema-idtable-init.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/./test-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/test-schema-idtable-init.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/./types-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/types-schema-idtable-init.sql&gt;&#010;[INFO] Generation successful&#010;[INFO] [torque:generate {execution: generate-html-doc}]&#010;INFO  org.apache.torque.generator.control.Controller - readConfiguration() : Starting to read&#010;configuration files&#010;INFO  org.apache.torque.generator.control.Controller - readConfiguration() : Configuration&#010;read.&#010;INFO  org.apache.torque.generator.control.Controller - Processing output torque.doc.html.css&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/bookstore-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-docs/datamodel.css&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/databaseMapInit-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-docs/datamodel.css&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/default-value-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-docs/datamodel.css&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/foreign-key-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-docs/datamodel.css&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/index.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-docs/datamodel.css&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/pk-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-docs/datamodel.css&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/qualified-table-name-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-docs/datamodel.css&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/save-method-in-peer-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-docs/datamodel.css&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/test-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-docs/datamodel.css&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/types-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-docs/datamodel.css&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing output torque.doc.html.html&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/bookstore-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-docs/bookstore-schema.html&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/databaseMapInit-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-docs/databaseMapInit-schema.html&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/default-value-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-docs/default-value-schema.html&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/foreign-key-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-docs/foreign-key-schema.html&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/index.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-docs/index.html&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/pk-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-docs/pk-schema.html&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/qualified-table-name-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-docs/qualified-table-name-schema.html&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/save-method-in-peer-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-docs/save-method-in-peer-schema.html&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/test-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-docs/test-schema.html&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/torque/test/schema/types-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-docs/types-schema.html&gt;&#010;[INFO] Generation successful&#010;[WARNING] The parameter expression: 'project.build.resources' used in mojo: 'process' has&#010;been deprecated. Use 'project.resources' instead.&#010;[INFO] [remote-resources:process {execution: default}]&#010;[debug] execute contextualize&#010;[INFO] [resources:resources {execution: default-resources}]&#010;[INFO] Using 'ISO-8859-1' encoding to copy filtered resources.&#010;[INFO] skip non existing resourceDirectory &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/src/main/resources&gt;&#010;[INFO] Copying 3 resources&#010;[INFO] [compiler:compile {execution: default-compile}]&#010;[INFO] Compiling 670 source files to &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/classes&gt;&#010;[INFO] [sql:execute {execution: execute-ddl}]&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/bookstore-schema.sql&gt;&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/databaseMapInit-schema.sql&gt;&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/default-value-schema.sql&gt;&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/foreign-key-schema.sql&gt;&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/id-table-schema.sql&gt;&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/index.sql&gt;&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/pk-schema.sql&gt;&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/qualified-table-name-schema.sql&gt;&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/save-method-in-peer-schema.sql&gt;&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/test-schema.sql&gt;&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/types-schema.sql&gt;&#010;[INFO] 120 of 120 SQL statements executed successfully&#010;[INFO] [sql:execute {execution: execute-idtable-sql}]&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/bookstore-schema-idtable-init.sql&gt;&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/databaseMapInit-schema-idtable-init.sql&gt;&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/default-value-schema-idtable-init.sql&gt;&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/ext-schema-idtable-init.sql&gt;&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/extext-schema-idtable-init.sql&gt;&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/foreign-key-schema-idtable-init.sql&gt;&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/pk-schema-idtable-init.sql&gt;&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/qualified-table-name-schema-idtable-init.sql&gt;&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/save-method-in-peer-schema-idtable-init.sql&gt;&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/test-schema-idtable-init.sql&gt;&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/generated-sql/types-schema-idtable-init.sql&gt;&#010;[INFO] 75 of 75 SQL statements executed successfully&#010;[INFO] [sql:execute {execution: shutdown-db-after-ddl}]&#010;[debug] execute contextualize&#010;[INFO] [resources:testResources {execution: default-testResources}]&#010;[INFO] Using 'ISO-8859-1' encoding to copy filtered resources.&#010;[INFO] Copying 6 resources&#010;[INFO] Copying 3 resources&#010;[INFO] [compiler:testCompile {execution: default-testCompile}]&#010;[INFO] Compiling 52 source files to &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/target/test-classes&gt;&#010;[INFO] -------------------------------------------------------------&#010;[ERROR] COMPILATION ERROR : &#010;[INFO] -------------------------------------------------------------&#010;[ERROR] &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/src/test/java/org/apache/torque/DataTest.java&gt;:[1388,11]&#010;org.apache.torque.DataTest.DoNothingMapper is not abstract and does not override abstract&#010;method processRow(java.sql.ResultSet,int,org.apache.torque.criteria.CriteriaInterface&lt;?&gt;)&#010;in org.apache.torque.om.mapper.RecordMapper&#010;&#010;[INFO] 1error&#010;[INFO] -------------------------------------------------------------&#010;[JENKINS] Archiving &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/pom.xml&gt;&#010;to /home/hudson/hudson/jobs/torque4-test-project-derby/modules/org.apache.torque$torque-test/builds/2013-05-20_01-36-41/archive/org.apache.torque/torque-test/4.1-SNAPSHOT/torque-test-4.1-SNAPSHOT.pom&#010;[INFO] ------------------------------------------------------------------------&#010;[ERROR] BUILD FAILURE&#010;[INFO] ------------------------------------------------------------------------&#010;[INFO] Compilation failure&#010;&lt;https://builds.apache.org/job/torque4-test-project-derby/ws/src/test/java/org/apache/torque/DataTest.java&gt;:[1388,11]&#010;org.apache.torque.DataTest.DoNothingMapper is not abstract and does not override abstract&#010;method processRow(java.sql.ResultSet,int,org.apache.torque.criteria.CriteriaInterface&lt;?&gt;)&#010;in org.apache.torque.om.mapper.RecordMapper&#010;&#010;&#010;[INFO] ------------------------------------------------------------------------&#010;[INFO] For more information, run Maven with the -e switch&#010;[INFO] ------------------------------------------------------------------------&#010;[INFO] Total time: 1 minute 31 seconds&#010;[INFO] Finished at: Mon May 20 01:38:37 UTC 2013&#010;[INFO] Final Memory: 52M/320M&#010;[INFO] ------------------------------------------------------------------------&#010;Waiting for Jenkins to finish collecting data&#010;Sending e-mails to: torque-dev@db.apache.org&#010;channel stopped&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org&#010;For additional commands, e-mail: torque-dev-help@db.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Build failed in Jenkins: torque4-test-project-derby » Torque Test Project #343</title>
<author><name>Apache Jenkins Server  &lt;jenkins@builds.apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/201305.mbox/%3c1658079914.4615.1369013918933.JavaMail.hudson@aegis%3e"/>
<id>urn:uuid:%3c1658079914-4615-1369013918933-JavaMail-hudson@aegis%3e</id>
<updated>2013-05-20T01:38:38Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
See &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/343/&gt;&#010;&#010;------------------------------------------&#010;[...truncated 1697 lines...]&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseAutoincrementNativeManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseAutoincrementNoneManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseAutoincrementIdbrokerManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseInheritanceTestManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseInheritanceClassnameTestManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseSummarize1Manager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseSkipSqlManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseAbstractManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseTestInterfaceManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseLocalTestInterfaceManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseOptimisticLockingManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseOptimisticLockingSimpleManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseIncludedManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseIncludedFromIncludedManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/types-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseTypesObjectManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseTypesPrimitiveManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseBitTypeManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseBlobTypeManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseClobTypeManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseBinaryTypeManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseVarbinaryTypeManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseLongvarbinaryTypeManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseBintBcharTypeManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseDateTimeTimestampTypeManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseIntegerTypeManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseBigintTypeManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseVarcharTypeManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing output torque.om.baseManagerForView&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/bookstore-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sources/org/apache/torque/test/manager/base/BaseBookAuthorsManager.java&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/databaseMapInit-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - No start Elements found for path all-views/view&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/default-value-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - No start Elements found for path all-views/view&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/foreign-key-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - No start Elements found for path all-views/view&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/index.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - No start Elements found for path all-views/view&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/pk-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - No start Elements found for path all-views/view&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/qualified-table-name-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - No start Elements found for path all-views/view&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/save-method-in-peer-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - No start Elements found for path all-views/view&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/test-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - No start Elements found for path all-views/view&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/types-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - No start Elements found for path all-views/view&#010;[INFO] Generation successful&#010;[INFO] [torque:generate {execution: generate-sql}]&#010;INFO  org.apache.torque.generator.control.Controller - readConfiguration() : Starting to read&#010;configuration files&#010;May 20, 2013 1:37:44 AM org.codehaus.groovy.runtime.m12n.SimpleExtensionModule getMetaMethods&#010;WARNING: Module [groovy-all] - Unable to load extension class [class org.codehaus.groovy.jsr223.ScriptExtensions]&#010;due to [javax/script/ScriptEngine]. Maybe this module is not supported by your JVM version.&#010;May 20, 2013 1:37:44 AM org.codehaus.groovy.runtime.m12n.SimpleExtensionModule getMetaMethods&#010;WARNING: Module [groovy-all] - Unable to load extension class [class org.codehaus.groovy.jsr223.ScriptStaticExtensions]&#010;due to [javax/script/ScriptEngineManager]. Maybe this module is not supported by your JVM&#010;version.&#010;INFO  org.apache.torque.generator.control.Controller - readConfiguration() : Configuration&#010;read.&#010;INFO  org.apache.torque.generator.control.Controller - Processing output torque.sql.ddl&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/bookstore-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/bookstore-schema.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/databaseMapInit-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/databaseMapInit-schema.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/default-value-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/default-value-schema.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/foreign-key-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/foreign-key-schema.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/id-table-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/id-table-schema.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/index.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/index.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/pk-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/pk-schema.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/qualified-table-name-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/qualified-table-name-schema.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/save-method-in-peer-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/save-method-in-peer-schema.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/test-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/test-schema.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/types-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/types-schema.sql&gt;&#010;[INFO] Generation successful&#010;[INFO] [torque:generate {execution: generate-createdb-sql}]&#010;INFO  org.apache.torque.generator.control.Controller - readConfiguration() : Starting to read&#010;configuration files&#010;INFO  org.apache.torque.generator.control.Controller - readConfiguration() : Configuration&#010;read.&#010;INFO  org.apache.torque.generator.control.Controller - Processing output torque.sql.createdb&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/bookstore-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-createdb-sql/bookstore-schema-create.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/databaseMapInit-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-createdb-sql/databaseMapInit-schema-create.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/default-value-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-createdb-sql/default-value-schema-create.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/foreign-key-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-createdb-sql/foreign-key-schema-create.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/index.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-createdb-sql/index-create.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/pk-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-createdb-sql/pk-schema-create.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/qualified-table-name-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-createdb-sql/qualified-table-name-schema-create.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/save-method-in-peer-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-createdb-sql/save-method-in-peer-schema-create.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/test-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-createdb-sql/test-schema-create.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/types-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-createdb-sql/types-schema-create.sql&gt;&#010;[INFO] Generation successful&#010;[INFO] [torque:generate {execution: generate-idtable-sql}]&#010;INFO  org.apache.torque.generator.control.Controller - readConfiguration() : Starting to read&#010;configuration files&#010;INFO  org.apache.torque.generator.control.Controller - readConfiguration() : Configuration&#010;read.&#010;INFO  org.apache.torque.generator.control.Controller - Processing output torque.sql.idtable.idtable&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/./bookstore-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/bookstore-schema-idtable-init.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/./databaseMapInit-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/databaseMapInit-schema-idtable-init.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/./default-value-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/default-value-schema-idtable-init.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/./ext-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/ext-schema-idtable-init.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/./extext-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/extext-schema-idtable-init.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/./foreign-key-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/foreign-key-schema-idtable-init.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/./included-from-included-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/included-from-included-schema-idtable-init.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/./included-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/included-schema-idtable-init.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/./pk-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/pk-schema-idtable-init.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/./qualified-table-name-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/qualified-table-name-schema-idtable-init.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/./save-method-in-peer-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/save-method-in-peer-schema-idtable-init.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/./test-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/test-schema-idtable-init.sql&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/./types-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/types-schema-idtable-init.sql&gt;&#010;[INFO] Generation successful&#010;[INFO] [torque:generate {execution: generate-html-doc}]&#010;INFO  org.apache.torque.generator.control.Controller - readConfiguration() : Starting to read&#010;configuration files&#010;INFO  org.apache.torque.generator.control.Controller - readConfiguration() : Configuration&#010;read.&#010;INFO  org.apache.torque.generator.control.Controller - Processing output torque.doc.html.css&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/bookstore-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-docs/datamodel.css&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/databaseMapInit-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-docs/datamodel.css&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/default-value-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-docs/datamodel.css&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/foreign-key-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-docs/datamodel.css&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/index.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-docs/datamodel.css&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/pk-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-docs/datamodel.css&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/qualified-table-name-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-docs/datamodel.css&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/save-method-in-peer-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-docs/datamodel.css&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/test-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-docs/datamodel.css&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/types-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-docs/datamodel.css&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing output torque.doc.html.html&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/bookstore-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-docs/bookstore-schema.html&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/databaseMapInit-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-docs/databaseMapInit-schema.html&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/default-value-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-docs/default-value-schema.html&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/foreign-key-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-docs/foreign-key-schema.html&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/index.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-docs/index.html&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/pk-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-docs/pk-schema.html&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/qualified-table-name-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-docs/qualified-table-name-schema.html&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/save-method-in-peer-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-docs/save-method-in-peer-schema.html&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/test-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-docs/test-schema.html&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Processing source &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/torque/test/schema/types-schema.xml&gt;&#010;INFO  org.apache.torque.generator.control.Controller - Start generation of File &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-docs/types-schema.html&gt;&#010;[INFO] Generation successful&#010;[WARNING] The parameter expression: 'project.build.resources' used in mojo: 'process' has&#010;been deprecated. Use 'project.resources' instead.&#010;[INFO] [remote-resources:process {execution: default}]&#010;[debug] execute contextualize&#010;[INFO] [resources:resources {execution: default-resources}]&#010;[INFO] Using 'ISO-8859-1' encoding to copy filtered resources.&#010;[INFO] skip non existing resourceDirectory &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/src/main/resources&gt;&#010;[INFO] Copying 3 resources&#010;[INFO] [compiler:compile {execution: default-compile}]&#010;[INFO] Compiling 670 source files to &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/classes&gt;&#010;[INFO] [sql:execute {execution: execute-ddl}]&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/bookstore-schema.sql&gt;&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/databaseMapInit-schema.sql&gt;&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/default-value-schema.sql&gt;&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/foreign-key-schema.sql&gt;&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/id-table-schema.sql&gt;&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/index.sql&gt;&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/pk-schema.sql&gt;&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/qualified-table-name-schema.sql&gt;&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/save-method-in-peer-schema.sql&gt;&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/test-schema.sql&gt;&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/types-schema.sql&gt;&#010;[INFO] 120 of 120 SQL statements executed successfully&#010;[INFO] [sql:execute {execution: execute-idtable-sql}]&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/bookstore-schema-idtable-init.sql&gt;&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/databaseMapInit-schema-idtable-init.sql&gt;&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/default-value-schema-idtable-init.sql&gt;&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/ext-schema-idtable-init.sql&gt;&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/extext-schema-idtable-init.sql&gt;&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/foreign-key-schema-idtable-init.sql&gt;&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/pk-schema-idtable-init.sql&gt;&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/qualified-table-name-schema-idtable-init.sql&gt;&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/save-method-in-peer-schema-idtable-init.sql&gt;&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/test-schema-idtable-init.sql&gt;&#010;[INFO] Executing file: &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/generated-sql/types-schema-idtable-init.sql&gt;&#010;[INFO] 75 of 75 SQL statements executed successfully&#010;[INFO] [sql:execute {execution: shutdown-db-after-ddl}]&#010;[debug] execute contextualize&#010;[INFO] [resources:testResources {execution: default-testResources}]&#010;[INFO] Using 'ISO-8859-1' encoding to copy filtered resources.&#010;[INFO] Copying 6 resources&#010;[INFO] Copying 3 resources&#010;[INFO] [compiler:testCompile {execution: default-testCompile}]&#010;[INFO] Compiling 52 source files to &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/target/test-classes&gt;&#010;[INFO] -------------------------------------------------------------&#010;[ERROR] COMPILATION ERROR : &#010;[INFO] -------------------------------------------------------------&#010;[ERROR] &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/src/test/java/org/apache/torque/DataTest.java&gt;:[1388,11]&#010;org.apache.torque.DataTest.DoNothingMapper is not abstract and does not override abstract&#010;method processRow(java.sql.ResultSet,int,org.apache.torque.criteria.CriteriaInterface&lt;?&gt;)&#010;in org.apache.torque.om.mapper.RecordMapper&#010;&#010;[INFO] 1error&#010;[INFO] -------------------------------------------------------------&#010;[JENKINS] Archiving &lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/pom.xml&gt;&#010;to /home/hudson/hudson/jobs/torque4-test-project-derby/modules/org.apache.torque$torque-test/builds/2013-05-20_01-36-41/archive/org.apache.torque/torque-test/4.1-SNAPSHOT/torque-test-4.1-SNAPSHOT.pom&#010;[INFO] ------------------------------------------------------------------------&#010;[ERROR] BUILD FAILURE&#010;[INFO] ------------------------------------------------------------------------&#010;[INFO] Compilation failure&#010;&lt;https://builds.apache.org/job/torque4-test-project-derby/org.apache.torque$torque-test/ws/src/test/java/org/apache/torque/DataTest.java&gt;:[1388,11]&#010;org.apache.torque.DataTest.DoNothingMapper is not abstract and does not override abstract&#010;method processRow(java.sql.ResultSet,int,org.apache.torque.criteria.CriteriaInterface&lt;?&gt;)&#010;in org.apache.torque.om.mapper.RecordMapper&#010;&#010;&#010;[INFO] ------------------------------------------------------------------------&#010;[INFO] For more information, run Maven with the -e switch&#010;[INFO] ------------------------------------------------------------------------&#010;[INFO] Total time: 1 minute 31 seconds&#010;[INFO] Finished at: Mon May 20 01:38:37 UTC 2013&#010;[INFO] Final Memory: 52M/320M&#010;[INFO] ------------------------------------------------------------------------&#010;Waiting for Jenkins to finish collecting data&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org&#010;For additional commands, e-mail: torque-dev-help@db.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Jenkins build is back to normal : Torque4-trunk #434</title>
<author><name>Apache Jenkins Server  &lt;jenkins@builds.apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/201305.mbox/%3c2082440165.4586.1369009384009.JavaMail.hudson@aegis%3e"/>
<id>urn:uuid:%3c2082440165-4586-1369009384009-JavaMail-hudson@aegis%3e</id>
<updated>2013-05-20T00:23:04Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
See &lt;https://builds.apache.org/job/Torque4-trunk/434/changes&gt;&#010;&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org&#010;For additional commands, e-mail: torque-dev-help@db.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r1484364 - /db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/Transaction.java</title>
<author><name>tfischer@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/201305.mbox/%3c20130519222938.099CC2388A29@eris.apache.org%3e"/>
<id>urn:uuid:%3c20130519222938-099CC2388A29@eris-apache-org%3e</id>
<updated>2013-05-19T22:29:37Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: tfischer&#010;Date: Sun May 19 22:29:37 2013&#010;New Revision: 1484364&#010;&#010;URL: http://svn.apache.org/r1484364&#010;Log:&#010;TORQUE-287 add method Transaction.getTransactionManager()&#010;use final modifier in method parameters&#010;&#010;Modified:&#010;    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/Transaction.java&#010;&#010;Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/Transaction.java&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/Transaction.java?rev=1484364&amp;r1=1484363&amp;r2=1484364&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/Transaction.java&#010;(original)&#010;+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/Transaction.java&#010;Sun May 19 22:29:37 2013&#010;@@ -35,7 +35,7 @@ import org.apache.torque.TorqueException&#010;  */&#010; public final class Transaction&#010; {&#010;-    /** The transaction manager to sue. */&#010;+    /** The transaction manager to use. */&#010;     private static TransactionManager transactionManager;&#010; &#010;     /**&#010;@@ -55,12 +55,22 @@ public final class Transaction&#010;      * @param transactionManager the transaction manager to use.&#010;      */&#010;     public static void setTransactionManager(&#010;-            TransactionManager transactionManager)&#010;+            final TransactionManager transactionManager)&#010;     {&#010;         Transaction.transactionManager = transactionManager;&#010;     }&#010; &#010;     /**&#010;+     * Returns the current transaction manager.&#010;+     *&#010;+     * @return the current transaction manager.&#010;+     */&#010;+    public static TransactionManager getTransactionManager()&#010;+    {&#010;+        return transactionManager;&#010;+    }&#010;+&#010;+    /**&#010;      * Begin a transaction by retrieving a connection from the default database&#010;      * connection pool.&#010;      * WARNING: If the database does not support transaction or the pool has set&#010;@@ -89,7 +99,7 @@ public final class Transaction&#010;      *&#010;      * @throws TorqueException If the connection cannot be retrieved.&#010;      */&#010;-    public static Connection begin(String dbName) throws TorqueException&#010;+    public static Connection begin(final String dbName) throws TorqueException&#010;     {&#010;         return transactionManager.begin(dbName);&#010;     }&#010;@@ -104,7 +114,7 @@ public final class Transaction&#010;      * @throws TorqueException Any exceptions caught during processing will be&#010;      *         rethrown wrapped into a TorqueException.&#010;      */&#010;-    public static void commit(Connection con) throws TorqueException&#010;+    public static void commit(final Connection con) throws TorqueException&#010;     {&#010;         transactionManager.commit(con);&#010;     }&#010;@@ -119,7 +129,7 @@ public final class Transaction&#010;      * @throws TorqueException Any exceptions caught during processing will be&#010;      *         rethrown wrapped into a TorqueException.&#010;      */&#010;-    public static void rollback(Connection con) throws TorqueException&#010;+    public static void rollback(final Connection con) throws TorqueException&#010;     {&#010;         transactionManager.rollback(con);&#010;     }&#010;@@ -132,7 +142,7 @@ public final class Transaction&#010;      * @param con The Connection for the transaction.&#010;      * @see Transaction#rollback(Connection)&#010;      */&#010;-    public static void safeRollback(Connection con)&#010;+    public static void safeRollback(final Connection con)&#010;     {&#010;         transactionManager.safeRollback(con);&#010;     }&#010;&#010;&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org&#010;For additional commands, e-mail: torque-dev-help@db.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] [Updated] (TORQUE-287) Transaction.getTransactionManager() method is missing</title>
<author><name>&quot;Thomas Fox (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/201305.mbox/%3cJIRA.12648368.1369002466596.344997.1369002556074@arcas%3e"/>
<id>urn:uuid:%3cJIRA-12648368-1369002466596-344997-1369002556074@arcas%3e</id>
<updated>2013-05-19T22:29:16Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&#010;     [ https://issues.apache.org/jira/browse/TORQUE-287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&#010;]&#010;&#010;Thomas Fox updated TORQUE-287:&#010;------------------------------&#010;&#010;    Priority: Minor  (was: Major)&#010;    &#010;&gt; Transaction.getTransactionManager() method is missing&#010;&gt; -----------------------------------------------------&#010;&gt;&#010;&gt;                 Key: TORQUE-287&#010;&gt;                 URL: https://issues.apache.org/jira/browse/TORQUE-287&#010;&gt;             Project: Torque&#010;&gt;          Issue Type: Improvement&#010;&gt;          Components: Runtime&#010;&gt;    Affects Versions: 4.0&#010;&gt;            Reporter: Thomas Fox&#010;&gt;            Priority: Minor&#010;&gt;             Fix For: 4.1&#010;&gt;&#010;&gt;&#010;&gt; The method should be added.&#010;&#010;--&#010;This message is automatically generated by JIRA.&#010;If you think it was sent incorrectly, please contact your JIRA administrators&#010;For more information on JIRA, see: http://www.atlassian.com/software/jira&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org&#010;For additional commands, e-mail: torque-dev-help@db.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] [Created] (TORQUE-287) Transaction.getTransactionManager() method is missing</title>
<author><name>&quot;Thomas Fox (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/201305.mbox/%3cJIRA.12648368.1369002466596.344996.1369002556004@arcas%3e"/>
<id>urn:uuid:%3cJIRA-12648368-1369002466596-344996-1369002556004@arcas%3e</id>
<updated>2013-05-19T22:29:16Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Thomas Fox created TORQUE-287:&#010;---------------------------------&#010;&#010;             Summary: Transaction.getTransactionManager() method is missing&#010;                 Key: TORQUE-287&#010;                 URL: https://issues.apache.org/jira/browse/TORQUE-287&#010;             Project: Torque&#010;          Issue Type: Improvement&#010;          Components: Runtime&#010;    Affects Versions: 4.0&#010;            Reporter: Thomas Fox&#010;             Fix For: 4.1&#010;&#010;&#010;The method should be added.&#010;&#010;--&#010;This message is automatically generated by JIRA.&#010;If you think it was sent incorrectly, please contact your JIRA administrators&#010;For more information on JIRA, see: http://www.atlassian.com/software/jira&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org&#010;For additional commands, e-mail: torque-dev-help@db.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] [Resolved] (TORQUE-285) DatabaseMap.getName() should be public</title>
<author><name>&quot;Thomas Fox (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/201305.mbox/%3cJIRA.12648366.1368996085466.344995.1369002435941@arcas%3e"/>
<id>urn:uuid:%3cJIRA-12648366-1368996085466-344995-1369002435941@arcas%3e</id>
<updated>2013-05-19T22:27:15Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&#010;     [ https://issues.apache.org/jira/browse/TORQUE-285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&#010;]&#010;&#010;Thomas Fox resolved TORQUE-285.&#010;-------------------------------&#010;&#010;    Resolution: Fixed&#010;    &#010;&gt; DatabaseMap.getName() should be public&#010;&gt; --------------------------------------&#010;&gt;&#010;&gt;                 Key: TORQUE-285&#010;&gt;                 URL: https://issues.apache.org/jira/browse/TORQUE-285&#010;&gt;             Project: Torque&#010;&gt;          Issue Type: Improvement&#010;&gt;          Components: Runtime&#010;&gt;    Affects Versions: 4.0&#010;&gt;            Reporter: Thomas Fox&#010;&gt;            Assignee: Thomas Fox&#010;&gt;            Priority: Minor&#010;&gt;             Fix For: 4.1&#010;&gt;&#010;&gt;&#010;&#010;&#010;--&#010;This message is automatically generated by JIRA.&#010;If you think it was sent incorrectly, please contact your JIRA administrators&#010;For more information on JIRA, see: http://www.atlassian.com/software/jira&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org&#010;For additional commands, e-mail: torque-dev-help@db.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r1484359 - /db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/map/DatabaseMap.java</title>
<author><name>tfischer@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/201305.mbox/%3c20130519222529.4767923889DE@eris.apache.org%3e"/>
<id>urn:uuid:%3c20130519222529-4767923889DE@eris-apache-org%3e</id>
<updated>2013-05-19T22:25:29Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: tfischer&#010;Date: Sun May 19 22:25:28 2013&#010;New Revision: 1484359&#010;&#010;URL: http://svn.apache.org/r1484359&#010;Log:&#010;TORQUE-285 DatabaseMap.getName() should be public&#010;use final modifiers in method parameters&#010;&#010;Modified:&#010;    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/map/DatabaseMap.java&#010;&#010;Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/map/DatabaseMap.java&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/map/DatabaseMap.java?rev=1484359&amp;r1=1484358&amp;r2=1484359&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/map/DatabaseMap.java&#010;(original)&#010;+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/map/DatabaseMap.java&#010;Sun May 19 22:25:28 2013&#010;@@ -111,7 +111,7 @@ public class DatabaseMap implements Seri&#010;     /**&#010;      * Constructs a new DatabaseMap.&#010;      */&#010;-    public DatabaseMap(Database database)&#010;+    public DatabaseMap(final Database database)&#010;     {&#010;         if (database == null)&#010;         {&#010;@@ -125,7 +125,7 @@ public class DatabaseMap implements Seri&#010;      *&#010;      * @return the database name, not null.&#010;      */&#010;-    String getName()&#010;+    public String getName()&#010;     {&#010;         return name;&#010;     }&#010;@@ -136,7 +136,7 @@ public class DatabaseMap implements Seri&#010;      * @param table The TableMap representation of the table.&#010;      * @return True if the database contains the table.&#010;      */&#010;-    public boolean containsTable(TableMap table)&#010;+    public boolean containsTable(final TableMap table)&#010;     {&#010;         return containsTable(table.getName());&#010;     }&#010;@@ -172,7 +172,7 @@ public class DatabaseMap implements Seri&#010;      * @param name Name of the table.&#010;      * @return A TableMap, null if the table was not found.&#010;      */&#010;-    public TableMap getTable(String name)&#010;+    public TableMap getTable(final String name)&#010;     {&#010;         TableMap result = tables.get(name);&#010;         if (result != null)&#010;@@ -228,7 +228,7 @@ public class DatabaseMap implements Seri&#010;      *&#010;      * @return the new table map.&#010;      */&#010;-    public TableMap addTable(String tableName)&#010;+    public TableMap addTable(final String tableName)&#010;     {&#010;         TableMap tmap = new TableMap(tableName, this);&#010;         tables.put(tableName, tmap);&#010;@@ -240,7 +240,7 @@ public class DatabaseMap implements Seri&#010;      *&#010;      * @param idTableMap The TableMap representation.&#010;      */&#010;-    public void setIdTable(TableMap idTableMap)&#010;+    public void setIdTable(final TableMap idTableMap)&#010;     {&#010;         this.idTable = idTableMap;&#010;     }&#010;@@ -261,7 +261,7 @@ public class DatabaseMap implements Seri&#010;      * @param key the key of the option&#010;      * @param value the value of the option.&#010;      */&#010;-    public void setOption(String key, String value)&#010;+    public void setOption(final String key, final String value)&#010;     {&#010;         optionsMap.put(key, value);&#010;     }&#010;@@ -273,7 +273,7 @@ public class DatabaseMap implements Seri&#010;      *&#010;      * @return the value of the option, or null if not set.&#010;      */&#010;-    public String getOption(String key)&#010;+    public String getOption(final String key)&#010;     {&#010;         return optionsMap.get(key);&#010;     }&#010;@@ -417,7 +417,7 @@ public class DatabaseMap implements Seri&#010;      *&#010;      * @param databaseMap the database map to copy from, not null.&#010;      */&#010;-    public void copyFrom(DatabaseMap databaseMap)&#010;+    public void copyFrom(final DatabaseMap databaseMap)&#010;     {&#010;         this.isInitialized = databaseMap.isInitialized;&#010;         this.optionsMap.clear();&#010;&#010;&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org&#010;For additional commands, e-mail: torque-dev-help@db.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] [Created] (TORQUE-286) BasePeerImpl.doUpdate(ColumnValues) and BasePeerImpl.doUpdate(ColumnValues, Connection) did not work</title>
<author><name>&quot;Thomas Fox (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/201305.mbox/%3cJIRA.12648367.1369001759729.344975.1369001835708@arcas%3e"/>
<id>urn:uuid:%3cJIRA-12648367-1369001759729-344975-1369001835708@arcas%3e</id>
<updated>2013-05-19T22:17:15Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Thomas Fox created TORQUE-286:&#010;---------------------------------&#010;&#010;             Summary: BasePeerImpl.doUpdate(ColumnValues) and BasePeerImpl.doUpdate(ColumnValues,&#010;Connection) did not work&#010;                 Key: TORQUE-286&#010;                 URL: https://issues.apache.org/jira/browse/TORQUE-286&#010;             Project: Torque&#010;          Issue Type: Bug&#010;          Components: Runtime&#010;    Affects Versions: 4.0&#010;            Reporter: Thomas Fox&#010;             Fix For: 4.1&#010;&#010;&#010;The primary key was not determined correctly, it could not be found, so the method always&#010;threw&#010;new TorqueException("No PK specified for database update")&#010;&#010;--&#010;This message is automatically generated by JIRA.&#010;If you think it was sent incorrectly, please contact your JIRA administrators&#010;For more information on JIRA, see: http://www.atlassian.com/software/jira&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org&#010;For additional commands, e-mail: torque-dev-help@db.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] [Created] (TORQUE-285) DatabaseMap.getName() should be public</title>
<author><name>&quot;Thomas Fox (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/201305.mbox/%3cJIRA.12648366.1368996085466.344839.1368996195558@arcas%3e"/>
<id>urn:uuid:%3cJIRA-12648366-1368996085466-344839-1368996195558@arcas%3e</id>
<updated>2013-05-19T20:43:15Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Thomas Fox created TORQUE-285:&#010;---------------------------------&#010;&#010;             Summary: DatabaseMap.getName() should be public&#010;                 Key: TORQUE-285&#010;                 URL: https://issues.apache.org/jira/browse/TORQUE-285&#010;             Project: Torque&#010;          Issue Type: Improvement&#010;          Components: Runtime&#010;    Affects Versions: 4.0&#010;            Reporter: Thomas Fox&#010;            Assignee: Thomas Fox&#010;            Priority: Minor&#010;             Fix For: 4.1&#010;&#010;&#010;&#010;&#010;--&#010;This message is automatically generated by JIRA.&#010;If you think it was sent incorrectly, please contact your JIRA administrators&#010;For more information on JIRA, see: http://www.atlassian.com/software/jira&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org&#010;For additional commands, e-mail: torque-dev-help@db.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] [Created] (TORQUE-284) Object ColumnValues contains unused constructor arguments table</title>
<author><name>&quot;Thomas Fox (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/201305.mbox/%3cJIRA.12648365.1368995960222.344837.1368996076079@arcas%3e"/>
<id>urn:uuid:%3cJIRA-12648365-1368995960222-344837-1368996076079@arcas%3e</id>
<updated>2013-05-19T20:41:16Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Thomas Fox created TORQUE-284:&#010;---------------------------------&#010;&#010;             Summary: Object ColumnValues contains unused constructor arguments table&#010;                 Key: TORQUE-284&#010;                 URL: https://issues.apache.org/jira/browse/TORQUE-284&#010;             Project: Torque&#010;          Issue Type: Improvement&#010;          Components: Runtime&#010;    Affects Versions: 4.0&#010;            Reporter: Thomas Fox&#010;            Assignee: Thomas Fox&#010;            Priority: Minor&#010;             Fix For: 4.1&#010;&#010;&#010;These constructor arguments should be removed.&#010;&#010;--&#010;This message is automatically generated by JIRA.&#010;If you think it was sent incorrectly, please contact your JIRA administrators&#010;For more information on JIRA, see: http://www.atlassian.com/software/jira&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org&#010;For additional commands, e-mail: torque-dev-help@db.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Build failed in Jenkins: Torque4-trunk #433</title>
<author><name>Apache Jenkins Server  &lt;jenkins@builds.apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/201305.mbox/%3c305943078.4533.1368995424889.JavaMail.hudson@aegis%3e"/>
<id>urn:uuid:%3c305943078-4533-1368995424889-JavaMail-hudson@aegis%3e</id>
<updated>2013-05-19T20:30:24Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
See &lt;https://builds.apache.org/job/Torque4-trunk/433/changes&gt;&#010;&#010;Changes:&#010;&#010;[tfischer] TORQUE-283 Remove unsupported xalanOutlet from generator configuration xsd&#010;&#010;------------------------------------------&#010;[...truncated 349 lines...]&#010;Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.045 sec&#010;Cobertura: Loaded information on 111 classes.&#010;Cobertura: Saved information on 111 classes.&#010;Running org.apache.torque.util.functions.SumTest&#010;Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 sec&#010;Cobertura: Loaded information on 111 classes.&#010;Cobertura: Saved information on 111 classes.&#010;Running org.apache.torque.criteria.CriterionTest&#010;Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.256 sec&#010;Cobertura: Loaded information on 111 classes.&#010;Cobertura: Saved information on 111 classes.&#010;Running org.apache.torque.util.functions.AggregateFunctionTest&#010;Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053 sec&#010;Cobertura: Loaded information on 111 classes.&#010;Cobertura: Saved information on 111 classes.&#010;Running org.apache.torque.util.functions.AvgTest&#010;Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 sec&#010;Cobertura: Loaded information on 111 classes.&#010;Cobertura: Saved information on 111 classes.&#010;Running org.apache.torque.util.functions.CountTest&#010;Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.045 sec&#010;Cobertura: Loaded information on 111 classes.&#010;Cobertura: Saved information on 111 classes.&#010;Running org.apache.torque.util.functions.AbstractFunctionTest&#010;Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.057 sec&#010;Cobertura: Loaded information on 111 classes.&#010;Cobertura: Saved information on 111 classes.&#010;Running org.apache.torque.sql.SqlBuilderTest&#010;Tests run: 115, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.698 sec&#010;Cobertura: Loaded information on 111 classes.&#010;Cobertura: Saved information on 111 classes.&#010;Running org.apache.torque.om.mapper.StringMapperTest&#010;Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.465 sec&#010;Cobertura: Loaded information on 111 classes.&#010;Cobertura: Saved information on 111 classes.&#010;Running org.apache.torque.util.functions.MinTest&#010;Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.045 sec&#010;Cobertura: Loaded information on 111 classes.&#010;Cobertura: Saved information on 111 classes.&#010;Running org.apache.torque.ColumnImplTest&#010;Tests run: 41, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.344 sec&#010;Cobertura: Loaded information on 111 classes.&#010;Cobertura: Saved information on 111 classes.&#010;Running org.apache.torque.map.ColumnMapTest&#010;Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.19 sec&#010;Cobertura: Loaded information on 111 classes.&#010;Cobertura: Saved information on 111 classes.&#010;Running org.apache.torque.om.mapper.BigDecimalMapperTest&#010;Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.466 sec&#010;Cobertura: Loaded information on 111 classes.&#010;Cobertura: Saved information on 111 classes.&#010;Running org.apache.torque.avalon.AvalonTest&#010;[DEBUG] Starting container...&#010;[DEBUG] Loading the service container class org.apache.fulcrum.yaafi.framework.container.ServiceContainerImpl&#010;[DEBUG] Instantiating the service container class org.apache.fulcrum.yaafi.framework.container.ServiceContainerImpl&#010;[DEBUG] Using the following configuration : &lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;fulcrum-yaafi&gt;&lt;containerFlavour&gt;yaafi&lt;/containerFlavour&gt;&lt;containerClazzName&gt;org.apache.fulcrum.yaafi.framework.container.ServiceContainerImpl&lt;/containerClazzName&gt;&lt;componentRoles&gt;&lt;location&gt;src/test/resources/TestRoleConfig.xml&lt;/location&gt;&lt;isEncrypted&gt;false&lt;/isEncrypted&gt;&lt;/componentRoles&gt;&lt;componentConfiguration&gt;&lt;location&gt;src/test/resources/TestComponentConfig.xml&lt;/location&gt;&lt;isEncrypted&gt;false&lt;/isEncrypted&gt;&lt;/componentConfiguration&gt;&lt;parameters&gt;&lt;location/&gt;&lt;isEncrypted&gt;false&lt;/isEncrypted&gt;&lt;/parameters&gt;&lt;/fulcrum-yaafi&gt;&#010;[DEBUG] Using the following container type : yaafi&#010;[DEBUG] YAAFI Service Framework is starting up&#010;[DEBUG] Setting applicationRootDir to &lt;https://builds.apache.org/job/Torque4-trunk/ws/torque4-trunk/torque-runtime&gt;&#010;[DEBUG] Setting tempRootDir to /tmp&#010;[DEBUG] Looking for src/test/resources/TestRoleConfig.xml in the root directory&#010;[DEBUG] Found src/test/resources/TestRoleConfig.xml as &lt;https://builds.apache.org/job/Torque4-trunk/ws/torque4-trunk/torque-runtime/src/test/resources/TestRoleConfig.xml&gt;&#010;[DEBUG] Looking for src/test/resources/TestComponentConfig.xml in the root directory&#010;[DEBUG] Found src/test/resources/TestComponentConfig.xml as &lt;https://builds.apache.org/job/Torque4-trunk/ws/torque4-trunk/torque-runtime/src/test/resources/TestComponentConfig.xml&gt;&#010;[DEBUG] Looking for /componentConfiguration.properties in the root directory&#010;[DEBUG] Looking for /componentConfiguration.properties as absolute file location&#010;[DEBUG] Looking for /componentConfiguration.properties using the class loader&#010;[WARNING] Unable to find any resource with the name '/componentConfiguration.properties'&#010;[DEBUG] Unable to load the following optional file :/componentConfiguration.properties&#010;[DEBUG] Using the following componentConfigurationProperties: {java.runtime.name=Java(TM)&#010;2 Runtime Environment, Standard Edition, urn:avalon:temp=/tmp, sun.boot.library.path=/home/jenkins/tools/java/jdk1.5.0_22-32/jre/lib/i386,&#010;java.vm.version=1.5.0_22-b03, urn:avalon:home=&lt;https://builds.apache.org/job/Torque4-trunk/ws/torque4-trunk/torque-runtime,&gt;&#010;java.vm.vendor=Sun Microsystems Inc., java.vendor.url=http://java.sun.com/, path.separator=:,&#010;java.vm.name=Java HotSpot(TM) Server VM, file.encoding.pkg=sun.io, user.country=US, sun.java.launcher=SUN_STANDARD,&#010;sun.os.patch.level=unknown, urn:avalon:name=fulcrum-yaafi, java.vm.specification.name=Java&#010;Virtual Machine Specification, user.dir=&lt;https://builds.apache.org/job/Torque4-trunk/ws/torque4-trunk/torque-runtime,&gt;&#010;urn:avalon:partition=root, java.runtime.version=1.5.0_22-b03, java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment,&#010;basedir=&lt;https://builds.apache.org/job/Torque4-trunk/ws/torque4-trunk/torque-runtime,&gt;&#010;java.endorsed.dirs=/home/jenkins/tools/java/jdk1.5.0_22-32/jre/lib/endorsed, os.arch=i386,&#010;java.io.tmpdir=/tmp, line.separator=&#010;, java.vm.specification.vendor=Sun Microsystems Inc., os.name=Linux, sun.jnu.encoding=ANSI_X3.4-1968,&#010;java.library.path=/home/jenkins/tools/java/jdk1.5.0_22-32/jre/lib/i386/server:/home/jenkins/tools/java/jdk1.5.0_22-32/jre/lib/i386:/home/jenkins/tools/java/jdk1.5.0_22-32/jre/../lib/i386:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/server:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64:/usr/lib/jvm/java-6-openjdk-amd64/jre/../lib/amd64,&#010;java.specification.name=Java Platform API Specification, java.class.version=49.0, sun.management.compiler=HotSpot&#010;Server Compiler, os.version=3.2.0-38-generic, user.home=/home/jenkins, user.timezone=, java.awt.printerjob=sun.print.PSPrinterJob,&#010;file.encoding=ANSI_X3.4-1968, java.specification.version=1.5, user.name=jenkins, java.class.path=/tmp/surefirebooter8449826451220271578.jar,&#010;java.vm.specification.version=1.0, sun.arch.data.model=32, java.home=/home/jenkins/tools/java/jdk1.5.0_22-32/jre,&#010;java.specification.vendor=Sun Microsystems Inc., user.language=en, java.vm.info=mixed mode,&#010;java.version=1.5.0_22, java.ext.dirs=/home/jenkins/tools/java/jdk1.5.0_22-32/jre/lib/ext,&#010;sun.boot.class.path=/home/jenkins/tools/java/jdk1.5.0_22-32/jre/lib/rt.jar:/home/jenkins/tools/java/jdk1.5.0_22-32/jre/lib/i18n.jar:/home/jenkins/tools/java/jdk1.5.0_22-32/jre/lib/sunrsasign.jar:/home/jenkins/tools/java/jdk1.5.0_22-32/jre/lib/jsse.jar:/home/jenkins/tools/java/jdk1.5.0_22-32/jre/lib/jce.jar:/home/jenkins/tools/java/jdk1.5.0_22-32/jre/lib/charsets.jar:/home/jenkins/tools/java/jdk1.5.0_22-32/jre/classes,&#010;java.vendor=Sun Microsystems Inc., localRepository=/home/jenkins/jenkins-slave/maven-repositories/0,&#010;file.separator=/, derby.stream.error.file=target/derby.log, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi,&#010;sun.cpu.endian=little, sun.io.unicode.encoding=UnicodeLittle, sun.cpu.isalist=}&#010;[DEBUG] Looking for /parameters.properties in the root directory&#010;[DEBUG] Looking for /parameters.properties as absolute file location&#010;[DEBUG] Looking for /parameters.properties using the class loader&#010;[WARNING] Unable to find any resource with the name '/parameters.properties'&#010;[DEBUG] Configuring the service component TorqueComponent&#010;[DEBUG] Incarnating the service TorqueComponent&#010;[DEBUG] Instantiating the implementation class for TorqueComponent&#010;[DEBUG] Incarnating the service TorqueComponent&#010;[DEBUG] LogEnabled.enableLogging() for TorqueComponent&#010;[DEBUG] Contextualizable.contextualize() for TorqueComponent&#010;[DEBUG] Configurable.configure() for TorqueComponent&#010;[DEBUG] configure(TorqueComponent::&lt;no value&gt;:@null:20:22)&#010;[DEBUG] Config File changes to src/test/resources/Torque.properties&#010;[DEBUG] Config File is &lt;https://builds.apache.org/job/Torque4-trunk/ws/torque4-trunk/torque-runtime/src/test/resources/Torque.properties&gt;&#010;[DEBUG] Initializable.initialize() for TorqueComponent&#010;[DEBUG] initialize()&#010;[DEBUG] YAAFI Avalon Service Container is up and running&#010;[INFO] YaffiContainer ready.&#010;[DEBUG] Located the service 'org.apache.torque.avalon.Torque' in the local container&#010;[DEBUG] Disposing of container...&#010;[DEBUG] Disposing all services&#010;[DEBUG] Decommision the service TorqueComponent&#010;[DEBUG] Decommisioning the service TorqueComponent&#010;[DEBUG] Disposable.dispose() for TorqueComponent&#010;[DEBUG] dispose()&#010;[DEBUG] Disposing the service TorqueComponent&#010;[DEBUG] All services are disposed&#010;[INFO] YaffiContainer has been disposed.&#010;[DEBUG] Starting container...&#010;[DEBUG] Loading the service container class org.apache.fulcrum.yaafi.framework.container.ServiceContainerImpl&#010;[DEBUG] Instantiating the service container class org.apache.fulcrum.yaafi.framework.container.ServiceContainerImpl&#010;[DEBUG] Using the following configuration : &lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;fulcrum-yaafi&gt;&lt;containerFlavour&gt;yaafi&lt;/containerFlavour&gt;&lt;containerClazzName&gt;org.apache.fulcrum.yaafi.framework.container.ServiceContainerImpl&lt;/containerClazzName&gt;&lt;componentRoles&gt;&lt;location&gt;src/test/resources/TestRoleConfig.xml&lt;/location&gt;&lt;isEncrypted&gt;false&lt;/isEncrypted&gt;&lt;/componentRoles&gt;&lt;componentConfiguration&gt;&lt;location&gt;src/test/resources/TestComponentConfig.xml&lt;/location&gt;&lt;isEncrypted&gt;false&lt;/isEncrypted&gt;&lt;/componentConfiguration&gt;&lt;parameters&gt;&lt;location/&gt;&lt;isEncrypted&gt;false&lt;/isEncrypted&gt;&lt;/parameters&gt;&lt;/fulcrum-yaafi&gt;&#010;[DEBUG] Using the following container type : yaafi&#010;[DEBUG] YAAFI Service Framework is starting up&#010;[DEBUG] Setting applicationRootDir to &lt;https://builds.apache.org/job/Torque4-trunk/ws/torque4-trunk/torque-runtime&gt;&#010;[DEBUG] Setting tempRootDir to /tmp&#010;[DEBUG] Looking for src/test/resources/TestRoleConfig.xml in the root directory&#010;[DEBUG] Found src/test/resources/TestRoleConfig.xml as &lt;https://builds.apache.org/job/Torque4-trunk/ws/torque4-trunk/torque-runtime/src/test/resources/TestRoleConfig.xml&gt;&#010;[DEBUG] Looking for src/test/resources/TestComponentConfig.xml in the root directory&#010;[DEBUG] Found src/test/resources/TestComponentConfig.xml as &lt;https://builds.apache.org/job/Torque4-trunk/ws/torque4-trunk/torque-runtime/src/test/resources/TestComponentConfig.xml&gt;&#010;[DEBUG] Looking for /componentConfiguration.properties in the root directory&#010;[DEBUG] Looking for /componentConfiguration.properties as absolute file location&#010;[DEBUG] Looking for /componentConfiguration.properties using the class loader&#010;[WARNING] Unable to find any resource with the name '/componentConfiguration.properties'&#010;[DEBUG] Unable to load the following optional file :/componentConfiguration.properties&#010;[DEBUG] Using the following componentConfigurationProperties: {java.runtime.name=Java(TM)&#010;2 Runtime Environment, Standard Edition, urn:avalon:temp=/tmp, sun.boot.library.path=/home/jenkins/tools/java/jdk1.5.0_22-32/jre/lib/i386,&#010;java.vm.version=1.5.0_22-b03, urn:avalon:home=&lt;https://builds.apache.org/job/Torque4-trunk/ws/torque4-trunk/torque-runtime,&gt;&#010;java.vm.vendor=Sun Microsystems Inc., java.vendor.url=http://java.sun.com/, path.separator=:,&#010;java.vm.name=Java HotSpot(TM) Server VM, file.encoding.pkg=sun.io, user.country=US, sun.java.launcher=SUN_STANDARD,&#010;sun.os.patch.level=unknown, urn:avalon:name=fulcrum-yaafi, java.vm.specification.name=Java&#010;Virtual Machine Specification, user.dir=&lt;https://builds.apache.org/job/Torque4-trunk/ws/torque4-trunk/torque-runtime,&gt;&#010;urn:avalon:partition=root, java.runtime.version=1.5.0_22-b03, java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment,&#010;basedir=&lt;https://builds.apache.org/job/Torque4-trunk/ws/torque4-trunk/torque-runtime,&gt;&#010;java.endorsed.dirs=/home/jenkins/tools/java/jdk1.5.0_22-32/jre/lib/endorsed, os.arch=i386,&#010;java.io.tmpdir=/tmp, line.separator=&#010;, java.vm.specification.vendor=Sun Microsystems Inc., os.name=Linux, sun.jnu.encoding=ANSI_X3.4-1968,&#010;java.library.path=/home/jenkins/tools/java/jdk1.5.0_22-32/jre/lib/i386/server:/home/jenkins/tools/java/jdk1.5.0_22-32/jre/lib/i386:/home/jenkins/tools/java/jdk1.5.0_22-32/jre/../lib/i386:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/server:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64:/usr/lib/jvm/java-6-openjdk-amd64/jre/../lib/amd64,&#010;java.specification.name=Java Platform API Specification, java.class.version=49.0, sun.management.compiler=HotSpot&#010;Server Compiler, os.version=3.2.0-38-generic, user.home=/home/jenkins, user.timezone=, java.awt.printerjob=sun.print.PSPrinterJob,&#010;file.encoding=ANSI_X3.4-1968, java.specification.version=1.5, user.name=jenkins, java.class.path=/tmp/surefirebooter8449826451220271578.jar,&#010;java.vm.specification.version=1.0, sun.arch.data.model=32, java.home=/home/jenkins/tools/java/jdk1.5.0_22-32/jre,&#010;java.specification.vendor=Sun Microsystems Inc., user.language=en, java.vm.info=mixed mode,&#010;java.version=1.5.0_22, java.ext.dirs=/home/jenkins/tools/java/jdk1.5.0_22-32/jre/lib/ext,&#010;sun.boot.class.path=/home/jenkins/tools/java/jdk1.5.0_22-32/jre/lib/rt.jar:/home/jenkins/tools/java/jdk1.5.0_22-32/jre/lib/i18n.jar:/home/jenkins/tools/java/jdk1.5.0_22-32/jre/lib/sunrsasign.jar:/home/jenkins/tools/java/jdk1.5.0_22-32/jre/lib/jsse.jar:/home/jenkins/tools/java/jdk1.5.0_22-32/jre/lib/jce.jar:/home/jenkins/tools/java/jdk1.5.0_22-32/jre/lib/charsets.jar:/home/jenkins/tools/java/jdk1.5.0_22-32/jre/classes,&#010;java.vendor=Sun Microsystems Inc., localRepository=/home/jenkins/jenkins-slave/maven-repositories/0,&#010;file.separator=/, derby.stream.error.file=target/derby.log, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi,&#010;sun.cpu.endian=little, sun.io.unicode.encoding=UnicodeLittle, sun.cpu.isalist=}&#010;[DEBUG] Looking for /parameters.properties in the root directory&#010;[DEBUG] Looking for /parameters.properties as absolute file location&#010;[DEBUG] Looking for /parameters.properties using the class loader&#010;[WARNING] Unable to find any resource with the name '/parameters.properties'&#010;[DEBUG] Configuring the service component TorqueComponent&#010;[DEBUG] Incarnating the service TorqueComponent&#010;[DEBUG] Instantiating the implementation class for TorqueComponent&#010;[DEBUG] Incarnating the service TorqueComponent&#010;[DEBUG] LogEnabled.enableLogging() for TorqueComponent&#010;[DEBUG] Contextualizable.contextualize() for TorqueComponent&#010;[DEBUG] Configurable.configure() for TorqueComponent&#010;[DEBUG] configure(TorqueComponent::&lt;no value&gt;:@null:20:22)&#010;[DEBUG] Config File changes to src/test/resources/Torque.properties&#010;[DEBUG] Config File is &lt;https://builds.apache.org/job/Torque4-trunk/ws/torque4-trunk/torque-runtime/src/test/resources/Torque.properties&gt;&#010;[DEBUG] Initializable.initialize() for TorqueComponent&#010;[DEBUG] initialize()&#010;[DEBUG] YAAFI Avalon Service Container is up and running&#010;[INFO] YaffiContainer ready.&#010;[DEBUG] Located the service 'org.apache.torque.avalon.Torque' in the local container&#010;[DEBUG] Disposing of container...&#010;[DEBUG] Disposing all services&#010;[DEBUG] Decommision the service TorqueComponent&#010;[DEBUG] Decommisioning the service TorqueComponent&#010;[DEBUG] Disposable.dispose() for TorqueComponent&#010;[DEBUG] dispose()&#010;[DEBUG] Disposing the service TorqueComponent&#010;[DEBUG] All services are disposed&#010;[INFO] YaffiContainer has been disposed.&#010;Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.277 sec&#010;Cobertura: Loaded information on 111 classes.&#010;Cobertura: Saved information on 111 classes.&#010;Running org.apache.torque.om.NumberKeyTest&#010;Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053 sec&#010;Cobertura: Loaded information on 111 classes.&#010;Cobertura: Saved information on 111 classes.&#010;Running org.apache.torque.om.mapper.IntegerMapperTest&#010;Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.456 sec&#010;Cobertura: Loaded information on 111 classes.&#010;Cobertura: Saved information on 111 classes.&#010;Running org.apache.torque.criteria.JoinTest&#010;Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.2 sec&#010;Cobertura: Loaded information on 111 classes.&#010;Cobertura: Saved information on 111 classes.&#010;Running org.apache.torque.om.mapper.LongMapperTest&#010;Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.453 sec&#010;Cobertura: Loaded information on 111 classes.&#010;Cobertura: Saved information on 111 classes.&#010;Running org.apache.torque.om.mapper.DateMapperTest&#010;Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.458 sec&#010;Cobertura: Loaded information on 111 classes.&#010;Cobertura: Saved information on 111 classes.&#010;Running org.apache.torque.criteria.CriteriaTest&#010;Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.412 sec&#010;Cobertura: Loaded information on 111 classes.&#010;Cobertura: Saved information on 111 classes.&#010;Running org.apache.torque.util.UniqueListTest&#010;Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 sec&#010;Cobertura: Loaded information on 111 classes.&#010;Cobertura: Saved information on 111 classes.&#010;Running org.apache.torque.TorqueRuntimeExceptionTest&#010;Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.171 sec&#010;&#010;Results :&#010;&#010;Tests run: 324, Failures: 0, Errors: 0, Skipped: 0&#010;&#010;Cobertura: Loaded information on 111 classes.&#010;Cobertura: Saved information on 111 classes.&#010;[JENKINS] Recording test results&#010;[INFO] [cobertura:cobertura {execution: default-cli}]&#010;May 19, 2013 8:30:06 PM hudson.remoting.SynchronousCommandTransport$ReaderThread run&#010;SEVERE: I/O error in channel channel&#010;java.io.StreamCorruptedException&#010;&#009;at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1332)&#010;&#009;at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)&#010;&#009;at hudson.remoting.Command.readFrom(Command.java:92)&#010;&#009;at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59)&#010;&#009;at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)&#010;channel stopped&#010;[ERROR] Error in Cobertura Report generation: Unable to execute Cobertura.&#010;org.apache.maven.plugin.MojoExecutionException: Unable to execute Cobertura.&#010;&#009;at org.codehaus.mojo.cobertura.tasks.AbstractTask.executeJava(AbstractTask.java:225)&#010;&#009;at org.codehaus.mojo.cobertura.tasks.ReportTask.execute(ReportTask.java:80)&#010;&#009;at org.codehaus.mojo.cobertura.CoberturaReportMojo.executeReportTask(CoberturaReportMojo.java:177)&#010;&#009;at org.codehaus.mojo.cobertura.CoberturaReportMojo.executeReport(CoberturaReportMojo.java:218)&#010;&#009;at org.codehaus.mojo.cobertura.CoberturaReportMojo.generate(CoberturaReportMojo.java:166)&#010;&#009;at org.apache.maven.reporting.AbstractMavenReport.execute(AbstractMavenReport.java:73)&#010;&#009;at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)&#010;&#009;at hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:182)&#010;&#009;at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)&#010;&#009;at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)&#010;&#009;at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)&#010;&#009;at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)&#010;&#009;at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)&#010;&#009;at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)&#010;&#009;at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:65)&#010;&#009;at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)&#010;&#009;at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)&#010;&#009;at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)&#010;&#009;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&#010;&#009;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)&#010;&#009;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&#010;&#009;at java.lang.reflect.Method.invoke(Method.java:592)&#010;&#009;at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)&#010;&#009;at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)&#010;&#009;at hudson.maven.agent.Main.launch(Main.java:185)&#010;&#009;at hudson.maven.MavenBuilder.call(MavenBuilder.java:154)&#010;&#009;at hudson.maven.Maven2Builder.call(Maven2Builder.java:79)&#010;&#009;at hudson.maven.Maven2Builder.call(Maven2Builder.java:55)&#010;&#009;at hudson.remoting.UserRequest.perform(UserRequest.java:118)&#010;&#009;at hudson.remoting.UserRequest.perform(UserRequest.java:48)&#010;&#009;at hudson.remoting.Request$2.run(Request.java:326)&#010;&#009;at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)&#010;&#009;at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)&#010;&#009;at java.util.concurrent.FutureTask.run(FutureTask.java:123)&#010;&#009;at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)&#010;&#009;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)&#010;&#009;at java.lang.Thread.run(Thread.java:595)&#010;Caused by: org.codehaus.plexus.util.cli.CommandLineException: Error while executing external&#010;command.&#010;&#009;at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:137)&#010;&#009;at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:60)&#010;&#009;at org.codehaus.mojo.cobertura.tasks.AbstractTask.executeJava(AbstractTask.java:221)&#010;&#009;... 36 more&#010;Caused by: java.lang.InterruptedException&#010;&#009;at java.lang.Object.wait(Native Method)&#010;&#009;at java.lang.Object.wait(Object.java:474)&#010;&#009;at java.lang.UNIXProcess.waitFor(UNIXProcess.java:165)&#010;&#009;at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:98)&#010;&#009;... 38 more&#010;ERROR: Maven JVM terminated unexpectedly with exit code 0&#010;Skipping Cobertura coverage report as build was not UNSTABLE or better ...&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org&#010;For additional commands, e-mail: torque-dev-help@db.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] [Assigned] (TORQUE-277) Need ability to update a date column during update to sysdate</title>
<author><name>&quot;Thomas Fox (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/201305.mbox/%3cJIRA.12643723.1366411629035.344797.1368993436358@arcas%3e"/>
<id>urn:uuid:%3cJIRA-12643723-1366411629035-344797-1368993436358@arcas%3e</id>
<updated>2013-05-19T19:57:16Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&#010;     [ https://issues.apache.org/jira/browse/TORQUE-277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&#010;]&#010;&#010;Thomas Fox reassigned TORQUE-277:&#010;---------------------------------&#010;&#010;    Assignee: Thomas Fox&#010;    &#010;&gt; Need ability to update a date column during update to sysdate&#010;&gt; -------------------------------------------------------------&#010;&gt;&#010;&gt;                 Key: TORQUE-277&#010;&gt;                 URL: https://issues.apache.org/jira/browse/TORQUE-277&#010;&gt;             Project: Torque&#010;&gt;          Issue Type: Improvement&#010;&gt;          Components: Runtime&#010;&gt;    Affects Versions: 4.0&#010;&gt;            Reporter: rajguru&#010;&gt;            Assignee: Thomas Fox&#010;&gt;&#010;&gt; I have an entity which has a timestamp column. On every update to the record in that&#010;table (using save() method) I need to set that column to the SYSDATE. I would like to add&#010;columnName=SYSDATE while constructing the query itself i.e. Criteria from which the query&#010;gets formed.&#010;&#010;--&#010;This message is automatically generated by JIRA.&#010;If you think it was sent incorrectly, please contact your JIRA administrators&#010;For more information on JIRA, see: http://www.atlassian.com/software/jira&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org&#010;For additional commands, e-mail: torque-dev-help@db.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] [Commented] (TORQUE-277) Need ability to update a date column during update to sysdate</title>
<author><name>&quot;Thomas Fox (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/201305.mbox/%3cJIRA.12643723.1366411629035.344795.1368993436198@arcas%3e"/>
<id>urn:uuid:%3cJIRA-12643723-1366411629035-344795-1368993436198@arcas%3e</id>
<updated>2013-05-19T19:57:16Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&#010;    [ https://issues.apache.org/jira/browse/TORQUE-277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=13661636#comment-13661636&#010;] &#010;&#010;Thomas Fox commented on TORQUE-277:&#010;-----------------------------------&#010;&#010;Extending JdbcTypedValue is not so easy because building the query does not consider the update&#010;values, only the columns to update. See Query.java line 542 ff.&#010;                &#010;&gt; Need ability to update a date column during update to sysdate&#010;&gt; -------------------------------------------------------------&#010;&gt;&#010;&gt;                 Key: TORQUE-277&#010;&gt;                 URL: https://issues.apache.org/jira/browse/TORQUE-277&#010;&gt;             Project: Torque&#010;&gt;          Issue Type: Improvement&#010;&gt;          Components: Runtime&#010;&gt;    Affects Versions: 4.0&#010;&gt;            Reporter: rajguru&#010;&gt;&#010;&gt; I have an entity which has a timestamp column. On every update to the record in that&#010;table (using save() method) I need to set that column to the SYSDATE. I would like to add&#010;columnName=SYSDATE while constructing the query itself i.e. Criteria from which the query&#010;gets formed.&#010;&#010;--&#010;This message is automatically generated by JIRA.&#010;If you think it was sent incorrectly, please contact your JIRA administrators&#010;For more information on JIRA, see: http://www.atlassian.com/software/jira&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org&#010;For additional commands, e-mail: torque-dev-help@db.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] [Resolved] (TORQUE-282) add attribute class to element input</title>
<author><name>&quot;Thomas Fox (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/201305.mbox/%3cJIRA.12648340.1368958224054.344782.1368992115771@arcas%3e"/>
<id>urn:uuid:%3cJIRA-12648340-1368958224054-344782-1368992115771@arcas%3e</id>
<updated>2013-05-19T19:35:15Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&#010;     [ https://issues.apache.org/jira/browse/TORQUE-282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&#010;]&#010;&#010;Thomas Fox resolved TORQUE-282.&#010;-------------------------------&#010;&#010;    Resolution: Fixed&#010;    &#010;&gt; add attribute class to element input&#010;&gt; ------------------------------------&#010;&gt;&#010;&gt;                 Key: TORQUE-282&#010;&gt;                 URL: https://issues.apache.org/jira/browse/TORQUE-282&#010;&gt;             Project: Torque&#010;&gt;          Issue Type: Sub-task&#010;&gt;          Components: Generator&#010;&gt;    Affects Versions: 4.0&#010;&gt;            Reporter: Thomas Fox&#010;&gt;            Assignee: Thomas Fox&#010;&gt;             Fix For: 4.1&#010;&gt;&#010;&gt;&#010;&gt; The attribute elementName in the inpout tag does not work anymore for typed models.&#010;&gt; Therefore, ane needs to add a second attribute "class".&#010;&gt; Exactly one of the attributes needs to be set.&#010;&#010;--&#010;This message is automatically generated by JIRA.&#010;If you think it was sent incorrectly, please contact your JIRA administrators&#010;For more information on JIRA, see: http://www.atlassian.com/software/jira&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org&#010;For additional commands, e-mail: torque-dev-help@db.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] [Resolved] (TORQUE-273) Support typed models in the generator</title>
<author><name>&quot;Thomas Fox (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/201305.mbox/%3cJIRA.12639815.1364563732125.344783.1368992115869@arcas%3e"/>
<id>urn:uuid:%3cJIRA-12639815-1364563732125-344783-1368992115869@arcas%3e</id>
<updated>2013-05-19T19:35:15Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&#010;     [ https://issues.apache.org/jira/browse/TORQUE-273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&#010;]&#010;&#010;Thomas Fox resolved TORQUE-273.&#010;-------------------------------&#010;&#010;       Resolution: Fixed&#010;    Fix Version/s: 4.1&#010;    &#010;&gt; Support typed models in the generator&#010;&gt; -------------------------------------&#010;&gt;&#010;&gt;                 Key: TORQUE-273&#010;&gt;                 URL: https://issues.apache.org/jira/browse/TORQUE-273&#010;&gt;             Project: Torque&#010;&gt;          Issue Type: Improvement&#010;&gt;          Components: Generator&#010;&gt;    Affects Versions: 4.0&#010;&gt;            Reporter: Thomas Fox&#010;&gt;            Assignee: Thomas Fox&#010;&gt;             Fix For: 4.1&#010;&gt;&#010;&gt;&#010;&gt; Apart from the generic graph model, the generator should be able to fill a user-supplied&#010;model with the graph information and use this in tranformer and templates&#010;&#010;--&#010;This message is automatically generated by JIRA.&#010;If you think it was sent incorrectly, please contact your JIRA administrators&#010;For more information on JIRA, see: http://www.atlassian.com/software/jira&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org&#010;For additional commands, e-mail: torque-dev-help@db.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] [Resolved] (TORQUE-283) Remove unsupported xalanOutlet from generator configuration xsd</title>
<author><name>&quot;Thomas Fox (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/201305.mbox/%3cJIRA.12648357.1368991917354.344781.1368991996537@arcas%3e"/>
<id>urn:uuid:%3cJIRA-12648357-1368991917354-344781-1368991996537@arcas%3e</id>
<updated>2013-05-19T19:33:16Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&#010;     [ https://issues.apache.org/jira/browse/TORQUE-283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&#010;]&#010;&#010;Thomas Fox resolved TORQUE-283.&#010;-------------------------------&#010;&#010;    Resolution: Fixed&#010;    &#010;&gt; Remove unsupported xalanOutlet from generator configuration xsd&#010;&gt; ---------------------------------------------------------------&#010;&gt;&#010;&gt;                 Key: TORQUE-283&#010;&gt;                 URL: https://issues.apache.org/jira/browse/TORQUE-283&#010;&gt;             Project: Torque&#010;&gt;          Issue Type: Improvement&#010;&gt;          Components: Generator&#010;&gt;    Affects Versions: 4.0&#010;&gt;            Reporter: Thomas Fox&#010;&gt;            Assignee: Thomas Fox&#010;&gt;             Fix For: 4.1&#010;&gt;&#010;&gt;&#010;&#010;&#010;--&#010;This message is automatically generated by JIRA.&#010;If you think it was sent incorrectly, please contact your JIRA administrators&#010;For more information on JIRA, see: http://www.atlassian.com/software/jira&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org&#010;For additional commands, e-mail: torque-dev-help@db.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] [Created] (TORQUE-283) Remove unsupported xalanOutlet from generator configuration xsd</title>
<author><name>&quot;Thomas Fox (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/201305.mbox/%3cJIRA.12648357.1368991917354.344780.1368991996114@arcas%3e"/>
<id>urn:uuid:%3cJIRA-12648357-1368991917354-344780-1368991996114@arcas%3e</id>
<updated>2013-05-19T19:33:16Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Thomas Fox created TORQUE-283:&#010;---------------------------------&#010;&#010;             Summary: Remove unsupported xalanOutlet from generator configuration xsd&#010;                 Key: TORQUE-283&#010;                 URL: https://issues.apache.org/jira/browse/TORQUE-283&#010;             Project: Torque&#010;          Issue Type: Improvement&#010;          Components: Generator&#010;    Affects Versions: 4.0&#010;            Reporter: Thomas Fox&#010;            Assignee: Thomas Fox&#010;             Fix For: 4.1&#010;&#010;&#010;&#010;&#010;--&#010;This message is automatically generated by JIRA.&#010;If you think it was sent incorrectly, please contact your JIRA administrators&#010;For more information on JIRA, see: http://www.atlassian.com/software/jira&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org&#010;For additional commands, e-mail: torque-dev-help@db.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r1484342 - /db/torque/torque4/trunk/torque-generator/src/main/resources/org/apache/torque/generator/configuration/outlet.xsd</title>
<author><name>tfischer@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/201305.mbox/%3c20130519193247.5BF2123889CB@eris.apache.org%3e"/>
<id>urn:uuid:%3c20130519193247-5BF2123889CB@eris-apache-org%3e</id>
<updated>2013-05-19T19:32:47Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: tfischer&#010;Date: Sun May 19 19:32:47 2013&#010;New Revision: 1484342&#010;&#010;URL: http://svn.apache.org/r1484342&#010;Log:&#010;TORQUE-283 Remove unsupported xalanOutlet from generator configuration xsd &#010;&#010;Modified:&#010;    db/torque/torque4/trunk/torque-generator/src/main/resources/org/apache/torque/generator/configuration/outlet.xsd&#010;&#010;Modified: db/torque/torque4/trunk/torque-generator/src/main/resources/org/apache/torque/generator/configuration/outlet.xsd&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-generator/src/main/resources/org/apache/torque/generator/configuration/outlet.xsd?rev=1484342&amp;r1=1484341&amp;r2=1484342&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-generator/src/main/resources/org/apache/torque/generator/configuration/outlet.xsd&#010;(original)&#010;+++ db/torque/torque4/trunk/torque-generator/src/main/resources/org/apache/torque/generator/configuration/outlet.xsd&#010;Sun May 19 19:32:47 2013&#010;@@ -102,15 +102,11 @@&#010;     &lt;/complexContent&gt;&#010;   &lt;/complexType&gt;&#010;   &#010;-  &lt;!-- not yet implemented --&gt;&#010;-  &lt;complexType name="xalanOutlet"&gt;&#010;-    &lt;complexContent&gt;&#010;-      &lt;extension base="configuration:baseOutlet"&gt;&#010;-        &lt;attribute name="path" type="string" use="required"/&gt;&#010;-      &lt;/extension&gt;&#010;-    &lt;/complexContent&gt;&#010;-  &lt;/complexType&gt;&#010;-  &#010;+  &lt;!-- Defines the input accepted by the outlet.&#010;+    Either the name of a source element (in case of an untyped model)&#010;+    or the class name of a model class (in the case of a typed model)&#010;+    must be given.&#010;+  --&gt;&#010;   &lt;complexType name="input"&gt;&#010;     &lt;!-- Exactly one of the attributes must be set --&gt;&#010;     &lt;attribute name="elementName" use="optional" /&gt;&#010;&#010;&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org&#010;For additional commands, e-mail: torque-dev-help@db.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Jenkins build is back to normal : Torque4-trunk #432</title>
<author><name>Apache Jenkins Server  &lt;jenkins@builds.apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/201305.mbox/%3c1577476112.4418.1368960170490.JavaMail.hudson@aegis%3e"/>
<id>urn:uuid:%3c1577476112-4418-1368960170490-JavaMail-hudson@aegis%3e</id>
<updated>2013-05-19T10:42:50Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
See &lt;https://builds.apache.org/job/Torque4-trunk/432/&gt;&#010;&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org&#010;For additional commands, e-mail: torque-dev-help@db.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Build failed in Jenkins: Torque4-trunk #431</title>
<author><name>Apache Jenkins Server  &lt;jenkins@builds.apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/201305.mbox/%3c2126427498.4413.1368959394297.JavaMail.hudson@aegis%3e"/>
<id>urn:uuid:%3c2126427498-4413-1368959394297-JavaMail-hudson@aegis%3e</id>
<updated>2013-05-19T10:29:54Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
See &lt;https://builds.apache.org/job/Torque4-trunk/431/&gt;&#010;&#010;------------------------------------------&#010;Started by user tfischer&#010;Building remotely on ubuntu4 in workspace &lt;https://builds.apache.org/job/Torque4-trunk/ws/&gt;&#010;Cleaning up &lt;https://builds.apache.org/job/Torque4-trunk/ws/torque4-trunk&gt;&#010;Updating http://svn.apache.org/repos/asf/db/torque/torque4/trunk&#010;At revision 1484263&#010;no change for http://svn.apache.org/repos/asf/db/torque/torque4/trunk since the previous build&#010;Parsing POMs&#010;[torque4-trunk] $ /home/hudson/tools/java/latest1.5/bin/java -cp /home/jenkins/jenkins-slave/maven-agent.jar:/home/jenkins/jenkins-slave/classworlds.jar&#010;hudson.maven.agent.Main /home/hudson/tools/maven/apache-maven-2.2.1 /home/jenkins/jenkins-slave/slave.jar&#010;/home/jenkins/jenkins-slave/maven-interceptor.jar 52068 /home/jenkins/jenkins-slave/maven2.1-interceptor.jar&#010;&lt;===[JENKINS REMOTING CAPACITY]===&gt;channel started&#010;   log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.converters.BooleanConverter).&#010;log4j:WARN Please initialize the log4j system properly.&#010;Executing Maven:  -B -f &lt;https://builds.apache.org/job/Torque4-trunk/ws/torque4-trunk/pom.xml&gt;&#010;-Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/0 clean install cobertura:cobertura&#010;findbugs:findbugs checkstyle:checkstyle pmd:pmd pmd:cpd&#010;[INFO] Scanning for projects...&#010;[INFO] Reactor build order: &#010;[INFO]   Torque Maven Parent&#010;[INFO]   Torque Runtime&#010;[INFO]   Torque Generator&#010;[INFO]   Torque Templates&#010;[INFO]   Torque Generator Maven 2 Plugin&#010;[INFO]   Torque Generator Ant tasks&#010;[INFO]   Torque Site&#010;[INFO] ------------------------------------------------------------------------&#010;[INFO] Building Torque Maven Parent&#010;[INFO]    task-segment: [clean, install, cobertura:cobertura, findbugs:findbugs, checkstyle:checkstyle,&#010;pmd:pmd, pmd:cpd]&#010;[INFO] ------------------------------------------------------------------------&#010;[INFO] [clean:clean {execution: default-clean}]&#010;[WARNING] The parameter expression: 'project.build.resources' used in mojo: 'process' has&#010;been deprecated. Use 'project.resources' instead.&#010;[INFO] [remote-resources:process {execution: default}]&#010;[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]&#010;[INFO] [source:jar-no-fork {execution: attach-sources}]&#010;[INFO] [apache-rat:check {execution: default}]&#010;[INFO] Exclude: velocity.log&#010;[INFO] Exclude: .checkstyle&#010;[INFO] Exclude: checkstyle-cache.ccf&#010;[INFO] Exclude: derby.log&#010;[INFO] Exclude: LICENSE-EDL.txt&#010;[INFO] Exclude: DEPENDENCIES&#010;[INFO] Exclude: torque-test/target/**/*&#010;[INFO] Exclude: torque-test/.classpath&#010;[INFO] Exclude: torque-test/.project&#010;[INFO] Exclude: torque-test/.settings/**&#010;[INFO] Exclude: torque-test/src/main/generated-java/**/*&#010;[CHECKSTYLE] No report found for mojo check&#010;[PMD] No report found for mojo check&#010;[INFO] [install:install {execution: default-install}]&#010;[INFO] Installing &lt;https://builds.apache.org/job/Torque4-trunk/ws/torque4-trunk/pom.xml&gt;&#010;to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/torque/torque/4.1-SNAPSHOT/torque-4.1-SNAPSHOT.pom&#010;[INFO] Preparing cobertura:cobertura&#010;[JENKINS] Archiving &lt;https://builds.apache.org/job/Torque4-trunk/ws/torque4-trunk/pom.xml&gt;&#010;to /home/hudson/hudson/jobs/Torque4-trunk/modules/org.apache.torque$torque/builds/2013-05-19_10-28-35/archive/org.apache.torque/torque/4.1-SNAPSHOT/torque-4.1-SNAPSHOT.pom&#010;[WARNING] The parameter expression: 'project.build.resources' used in mojo: 'process' has&#010;been deprecated. Use 'project.resources' instead.&#010;[INFO] [remote-resources:process {execution: default}]&#010;[INFO] [cobertura:instrument {execution: default-instrument}]&#010;[INFO] Not executing cobertura:instrument as the project is not a Java classpath-capable package&#010;[INFO] [cobertura:cobertura {execution: default-cli}]&#010;[INFO] Not executing cobertura:report as the cobertura data file (&lt;https://builds.apache.org/job/Torque4-trunk/ws/torque4-trunk/target/cobertura/cobertura.ser)&gt;&#010;could not be found&#010;[INFO] [findbugs:findbugs {execution: default-cli}]&#010;ERROR: Maven JVM terminated unexpectedly with exit code 143&#010;Skipping Cobertura coverage report as build was not UNSTABLE or better ...&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org&#010;For additional commands, e-mail: torque-dev-help@db.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Build failed in Jenkins: Torque4-trunk #430</title>
<author><name>Apache Jenkins Server  &lt;jenkins@builds.apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/201305.mbox/%3c997288389.4407.1368958699408.JavaMail.hudson@aegis%3e"/>
<id>urn:uuid:%3c997288389-4407-1368958699408-JavaMail-hudson@aegis%3e</id>
<updated>2013-05-19T10:18:19Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
See &lt;https://builds.apache.org/job/Torque4-trunk/430/changes&gt;&#010;&#010;Changes:&#010;&#010;[tfischer] TORQUE-279 Remove deprecated methods and classes from the runtime&#010;&#010;[tfischer] Add index and unique definition to test schema&#010;&#010;[tfischer] TORQUE-279 Remove deprecated methods and classes from the runtime&#010;&#010;[tfischer] TORQUE-279 Remove deprecated methods and classes from the runtime&#010;&#010;------------------------------------------&#010;Started by user tfischer&#010;Started by an SCM change&#010;Building remotely on ubuntu4 in workspace &lt;https://builds.apache.org/job/Torque4-trunk/ws/&gt;&#010;Cleaning up &lt;https://builds.apache.org/job/Torque4-trunk/ws/torque4-trunk&gt;&#010;Deleting &lt;https://builds.apache.org/job/Torque4-trunk/ws/torque4-trunk/target&gt;&#010;Deleting &lt;https://builds.apache.org/job/Torque4-trunk/ws/torque4-trunk/torque-generator/target&gt;&#010;Deleting &lt;https://builds.apache.org/job/Torque4-trunk/ws/torque4-trunk/torque-ant-tasks/target&gt;&#010;Deleting &lt;https://builds.apache.org/job/Torque4-trunk/ws/torque4-trunk/torque-runtime/target&gt;&#010;Deleting &lt;https://builds.apache.org/job/Torque4-trunk/ws/torque4-trunk/torque-templates/target&gt;&#010;Deleting &lt;https://builds.apache.org/job/Torque4-trunk/ws/torque4-trunk/torque-maven-plugin/target&gt;&#010;Deleting &lt;https://builds.apache.org/job/Torque4-trunk/ws/torque4-trunk/torque-site/target&gt;&#010;Updating http://svn.apache.org/repos/asf/db/torque/torque4/trunk&#010;D         torque-runtime/src/test/java/org/apache/torque/sql/SqlBuilderOldCriteriaTest.java&#010;U         torque-runtime/src/test/java/org/apache/torque/sql/SqlBuilderTest.java&#010;U         torque-runtime/src/test/java/org/apache/torque/criteria/CriterionTest.java&#010;U         torque-runtime/src/test/java/org/apache/torque/TorqueInstanceTest.java&#010;D         torque-runtime/src/test/java/org/apache/torque/util/CriteriaTest.java&#010;U         torque-runtime/src/test/resources/torque-schematest.properties&#010;U         torque-runtime/src/main/java/org/apache/torque/avalon/Torque.java&#010;U         torque-runtime/src/main/java/org/apache/torque/Database.java&#010;U         torque-runtime/src/main/java/org/apache/torque/TorqueInstance.java&#010;U         torque-runtime/src/main/java/org/apache/torque/sql/JoinBuilder.java&#010;U         torque-runtime/src/main/java/org/apache/torque/sql/SqlBuilder.java&#010;U         torque-runtime/src/main/java/org/apache/torque/sql/objectbuilder/ObjectOrColumnPsPartBuilder.java&#010;D         torque-runtime/src/main/java/org/apache/torque/sql/whereclausebuilder/CustomBuilder.java&#010;U         torque-runtime/src/main/java/org/apache/torque/Torque.java&#010;D         torque-runtime/src/main/java/org/apache/torque/criteria/CriteriaInterface.java&#010;U         torque-runtime/src/main/java/org/apache/torque/criteria/Join.java&#010;U         torque-runtime/src/main/java/org/apache/torque/criteria/Criteria.java&#010;U         torque-runtime/src/main/java/org/apache/torque/criteria/SqlEnum.java&#010;U         torque-runtime/src/main/java/org/apache/torque/criteria/Criterion.java&#010;U         torque-runtime/src/main/java/org/apache/torque/om/mapper/DateMapper.java&#010;U         torque-runtime/src/main/java/org/apache/torque/om/mapper/IntegerMapper.java&#010;U         torque-runtime/src/main/java/org/apache/torque/om/mapper/RecordMapper.java&#010;U         torque-runtime/src/main/java/org/apache/torque/om/mapper/LongMapper.java&#010;U         torque-runtime/src/main/java/org/apache/torque/om/mapper/BigDecimalMapper.java&#010;U         torque-runtime/src/main/java/org/apache/torque/om/mapper/CompositeMapper.java&#010;U         torque-runtime/src/main/java/org/apache/torque/om/mapper/ObjectListMapper.java&#010;U         torque-runtime/src/main/java/org/apache/torque/om/mapper/StringMapper.java&#010;U         torque-runtime/src/main/java/org/apache/torque/map/ColumnMap.java&#010;U         torque-runtime/src/main/java/org/apache/torque/map/MapHelper.java&#010;D         torque-runtime/src/main/java/org/apache/torque/util/Criteria.java&#010;D         torque-runtime/src/main/java/org/apache/torque/util/BasePeer.java&#010;U         torque-runtime/src/main/java/org/apache/torque/util/BasePeerImpl.java&#010;U         torque-runtime/src/main/java/org/apache/torque/util/CountHelper.java&#010;U         torque-runtime/src/main/java/org/apache/torque/util/LargeSelect.java&#010;U         torque-runtime/src/main/java/org/apache/torque/util/SummaryHelper.java&#010;U         torque-templates/src/test/schema/schema.xml&#010;U         torque-templates/src/main/resources/org/apache/torque/templates/om/templates/recordmapper/base/recordMapperBase.vm&#010;U         torque-test/src/test/java/org/apache/torque/DataTest.java&#010;U         torque-test/src/test/java/org/apache/torque/DocsTest.java&#010;U         torque-test/src/test/java/org/apache/torque/BaseDatabaseTestCase.java&#010;U         torque-test/src/test/java/org/apache/torque/util/BasePeerTest.java&#010;At revision 1484260&#010;Parsing POMs&#010;[torque4-trunk] $ /home/hudson/tools/java/latest1.5/bin/java -cp /home/jenkins/jenkins-slave/maven-agent.jar:/home/jenkins/jenkins-slave/classworlds.jar&#010;hudson.maven.agent.Main /home/hudson/tools/maven/apache-maven-2.2.1 /home/jenkins/jenkins-slave/slave.jar&#010;/home/jenkins/jenkins-slave/maven-interceptor.jar 51780 /home/jenkins/jenkins-slave/maven2.1-interceptor.jar&#010;&lt;===[JENKINS REMOTING CAPACITY]===channel started&#010;&gt;   log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.converters.BooleanConverter).&#010;log4j:WARN Please initialize the log4j system properly.&#010;Executing Maven:  -B -f &lt;https://builds.apache.org/job/Torque4-trunk/ws/torque4-trunk/pom.xml&gt;&#010;-Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/0 clean install cobertura:cobertura&#010;findbugs:findbugs checkstyle:checkstyle pmd:pmd pmd:cpd&#010;[INFO] Scanning for projects...&#010;[INFO] Reactor build order: &#010;[INFO]   Torque Maven Parent&#010;[INFO]   Torque Runtime&#010;[INFO]   Torque Generator&#010;[INFO]   Torque Templates&#010;[INFO]   Torque Generator Maven 2 Plugin&#010;[INFO]   Torque Generator Ant tasks&#010;[INFO]   Torque Site&#010;[INFO] ------------------------------------------------------------------------&#010;[INFO] Building Torque Maven Parent&#010;[INFO]    task-segment: [clean, install, cobertura:cobertura, findbugs:findbugs, checkstyle:checkstyle,&#010;pmd:pmd, pmd:cpd]&#010;[INFO] ------------------------------------------------------------------------&#010;May 19, 2013 10:18:09 AM hudson.remoting.SynchronousCommandTransport$ReaderThread run&#010;SEVERE: I/O error in channel channel&#010;java.io.StreamCorruptedException&#010;&#009;at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1332)&#010;&#009;at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)&#010;&#009;at hudson.remoting.Command.readFrom(Command.java:92)&#010;&#009;at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59)&#010;&#009;at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)&#010;channel stopped&#010;[INFO] ------------------------------------------------------------------------&#010;[ERROR] FATAL ERROR&#010;[INFO] ------------------------------------------------------------------------&#010;[INFO] null&#010;[INFO] ------------------------------------------------------------------------&#010;[INFO] Trace&#010;java.lang.reflect.UndeclaredThrowableException&#010;&#009;at $Proxy1.fetch2(Unknown Source)&#010;&#009;at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:127)&#010;&#009;at java.lang.ClassLoader.loadClass(ClassLoader.java:307)&#010;&#009;at java.lang.ClassLoader.loadClass(ClassLoader.java:252)&#010;&#009;at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)&#010;&#009;at hudson.maven.reporters.MavenArtifactArchiver.postBuild(MavenArtifactArchiver.java:101)&#010;&#009;at hudson.maven.Maven2Builder.postModule(Maven2Builder.java:129)&#010;&#009;at hudson.maven.MavenBuilder$Adapter.fireLeaveModule(MavenBuilder.java:354)&#010;&#009;at hudson.maven.MavenBuilder$Adapter.postBuild(MavenBuilder.java:308)&#010;&#009;at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:68)&#010;&#009;at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)&#010;&#009;at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)&#010;&#009;at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)&#010;&#009;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&#010;&#009;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)&#010;&#009;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&#010;&#009;at java.lang.reflect.Method.invoke(Method.java:592)&#010;&#009;at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)&#010;&#009;at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)&#010;&#009;at hudson.maven.agent.Main.launch(Main.java:185)&#010;&#009;at hudson.maven.MavenBuilder.call(MavenBuilder.java:154)&#010;&#009;at hudson.maven.Maven2Builder.call(Maven2Builder.java:79)&#010;&#009;at hudson.maven.Maven2Builder.call(Maven2Builder.java:55)&#010;&#009;at hudson.remoting.UserRequest.perform(UserRequest.java:118)&#010;&#009;at hudson.remoting.UserRequest.perform(UserRequest.java:48)&#010;&#009;at hudson.remoting.Request$2.run(Request.java:326)&#010;&#009;at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)&#010;&#009;at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)&#010;&#009;at java.util.concurrent.FutureTask.run(FutureTask.java:123)&#010;&#009;at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)&#010;&#009;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)&#010;&#009;at java.lang.Thread.run(Thread.java:595)&#010;Caused by: hudson.remoting.ChannelClosedException: channel is already closed&#010;&#009;at hudson.remoting.Channel.send(Channel.java:494)&#010;&#009;at hudson.remoting.Request.call(Request.java:129)&#010;&#009;at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:160)&#010;&#009;... 32 more&#010;Caused by: java.io.StreamCorruptedException&#010;&#009;at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1332)&#010;&#009;at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)&#010;&#009;at hudson.remoting.Command.readFrom(Command.java:92)&#010;&#009;at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59)&#010;&#009;at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)&#010;[INFO] ------------------------------------------------------------------------&#010;[INFO] Total time: 3 seconds&#010;[INFO] Finished at: Sun May 19 10:18:09 UTC 2013&#010;ERROR: Maven JVM terminated unexpectedly with exit code 0&#010;Skipping Cobertura coverage report as build was not UNSTABLE or better ...&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org&#010;For additional commands, e-mail: torque-dev-help@db.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] [Created] (TORQUE-282) add attribute class to element input</title>
<author><name>&quot;Thomas Fox (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/201305.mbox/%3cJIRA.12648340.1368958224054.344344.1368958276211@arcas%3e"/>
<id>urn:uuid:%3cJIRA-12648340-1368958224054-344344-1368958276211@arcas%3e</id>
<updated>2013-05-19T10:11:16Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Thomas Fox created TORQUE-282:&#010;---------------------------------&#010;&#010;             Summary: add attribute class to element input&#010;                 Key: TORQUE-282&#010;                 URL: https://issues.apache.org/jira/browse/TORQUE-282&#010;             Project: Torque&#010;          Issue Type: Sub-task&#010;          Components: Generator&#010;    Affects Versions: 4.0&#010;            Reporter: Thomas Fox&#010;            Assignee: Thomas Fox&#010;             Fix For: 4.1&#010;&#010;&#010;The attribute elementName in the inpout tag does not work anymore for typed models.&#010;Therefore, ane needs to add a second attribute "class".&#010;Exactly one of the attributes needs to be set.&#010;&#010;--&#010;This message is automatically generated by JIRA.&#010;If you think it was sent incorrectly, please contact your JIRA administrators&#010;For more information on JIRA, see: http://www.atlassian.com/software/jira&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org&#010;For additional commands, e-mail: torque-dev-help@db.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] [Resolved] (TORQUE-276) Change semantics of elements attribute of source tag in generator config.xml</title>
<author><name>&quot;Thomas Fox (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/201305.mbox/%3cJIRA.12642134.1365712909023.344343.1368958155899@arcas%3e"/>
<id>urn:uuid:%3cJIRA-12642134-1365712909023-344343-1368958155899@arcas%3e</id>
<updated>2013-05-19T10:09:15Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&#010;     [ https://issues.apache.org/jira/browse/TORQUE-276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&#010;]&#010;&#010;Thomas Fox resolved TORQUE-276.&#010;-------------------------------&#010;&#010;       Resolution: Fixed&#010;    Fix Version/s: 4.1&#010;    &#010;&gt; Change semantics of elements attribute of source tag in generator config.xml&#010;&gt; ----------------------------------------------------------------------------&#010;&gt;&#010;&gt;                 Key: TORQUE-276&#010;&gt;                 URL: https://issues.apache.org/jira/browse/TORQUE-276&#010;&gt;             Project: Torque&#010;&gt;          Issue Type: Sub-task&#010;&gt;          Components: Generator&#010;&gt;    Affects Versions: 4.0&#010;&gt;            Reporter: Thomas Fox&#010;&gt;            Assignee: Thomas Fox&#010;&gt;             Fix For: 4.1&#010;&gt;&#010;&gt;&#010;&gt; The elements attributes select the root elements for file generation.&#010;&gt; E.g. with the current semantics, elements="database/table" would create files for all&#010;table elements in the database root element.&#010;&gt; However, this does not work for a typed model, because there the root element has no&#010;name. So there, we sould have to write elements="table" or elements="/table"&#010;&gt; To have consistenht behaviour across typed and untyped model,s the secoond behavour will&#010;be used for both typed and untyped models.&#010;&#010;--&#010;This message is automatically generated by JIRA.&#010;If you think it was sent incorrectly, please contact your JIRA administrators&#010;For more information on JIRA, see: http://www.atlassian.com/software/jira&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org&#010;For additional commands, e-mail: torque-dev-help@db.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] [Resolved] (TORQUE-275) Remove attribute elements of tag transformers in the generator configuration xml</title>
<author><name>&quot;Thomas Fox (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/201305.mbox/%3cJIRA.12642125.1365711425279.344342.1368958035793@arcas%3e"/>
<id>urn:uuid:%3cJIRA-12642125-1365711425279-344342-1368958035793@arcas%3e</id>
<updated>2013-05-19T10:07:15Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&#010;     [ https://issues.apache.org/jira/browse/TORQUE-275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&#010;]&#010;&#010;Thomas Fox resolved TORQUE-275.&#010;-------------------------------&#010;&#010;       Resolution: Fixed&#010;    Fix Version/s: 4.1&#010;    &#010;&gt; Remove attribute elements of tag transformers in the generator configuration xml&#010;&gt; --------------------------------------------------------------------------------&#010;&gt;&#010;&gt;                 Key: TORQUE-275&#010;&gt;                 URL: https://issues.apache.org/jira/browse/TORQUE-275&#010;&gt;             Project: Torque&#010;&gt;          Issue Type: Sub-task&#010;&gt;          Components: Generator&#010;&gt;            Reporter: Thomas Fox&#010;&gt;            Assignee: Thomas Fox&#010;&gt;             Fix For: 4.1&#010;&gt;&#010;&gt;&#010;&gt; The elements attribute was used if transformations were not applied to the root of the&#010;source tree but to child elements. This does not work any more if the source is not a SourceElement&#010;but consists of a typed model.&#010;&gt; So this attribute needs to be removed.&#010;&#010;--&#010;This message is automatically generated by JIRA.&#010;If you think it was sent incorrectly, please contact your JIRA administrators&#010;For more information on JIRA, see: http://www.atlassian.com/software/jira&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org&#010;For additional commands, e-mail: torque-dev-help@db.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r1484256 - in /db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque: BaseDatabaseTestCase.java DataTest.java DocsTest.java util/BasePeerTest.java</title>
<author><name>tfischer@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/201305.mbox/%3c20130519100325.347EA238889B@eris.apache.org%3e"/>
<id>urn:uuid:%3c20130519100325-347EA238889B@eris-apache-org%3e</id>
<updated>2013-05-19T10:03:24Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: tfischer&#010;Date: Sun May 19 10:03:24 2013&#010;New Revision: 1484256&#010;&#010;URL: http://svn.apache.org/r1484256&#010;Log:&#010;TORQUE-279 Remove deprecated methods and classes from the runtime&#010;&#010;Modified:&#010;    db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/BaseDatabaseTestCase.java&#010;    db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/DataTest.java&#010;    db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/DocsTest.java&#010;    db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/util/BasePeerTest.java&#010;&#010;Modified: db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/BaseDatabaseTestCase.java&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/BaseDatabaseTestCase.java?rev=1484256&amp;r1=1484255&amp;r2=1484256&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/BaseDatabaseTestCase.java&#010;(original)&#010;+++ db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/BaseDatabaseTestCase.java&#010;Sun May 19 10:03:24 2013&#010;@@ -32,7 +32,7 @@ import org.apache.torque.test.dbobject.A&#010; import org.apache.torque.test.dbobject.Book;&#010; import org.apache.torque.test.peer.AuthorPeer;&#010; import org.apache.torque.test.peer.BookPeer;&#010;-import org.apache.torque.util.BasePeer;&#010;+import org.apache.torque.util.BasePeerImpl;&#010; import org.apache.torque.util.CountHelper;&#010; &#010; /**&#010;@@ -83,7 +83,7 @@ public abstract class BaseDatabaseTestCa&#010;                     "getMysqlVersion called but database adapter is "&#010;                         + adapter.getClass().getName());&#010;         }&#010;-        List&lt;String&gt; records = BasePeer.doSelect(&#010;+        List&lt;String&gt; records = new BasePeerImpl().doSelect(&#010;                 "show variables like \"version\"",&#010;                 new StringMapper(1),&#010;                 (String) null);&#010;@@ -189,7 +189,7 @@ public abstract class BaseDatabaseTestCa&#010;      *&#010;      * @throws TorqueException if reading data fails.&#010;      */&#010;-    protected void verifyBookstore(List&lt;Author&gt; toVerify) throws TorqueException&#010;+    protected void verifyBookstore(final List&lt;Author&gt; toVerify) throws TorqueException&#010;     {&#010;         int numBooks = 0;&#010; &#010;&#010;Modified: db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/DataTest.java&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/DataTest.java?rev=1484256&amp;r1=1484255&amp;r2=1484256&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/DataTest.java (original)&#010;+++ db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/DataTest.java Sun&#010;May 19 10:03:24 2013&#010;@@ -34,7 +34,6 @@ import org.apache.torque.adapter.DerbyAd&#010; import org.apache.torque.adapter.MssqlAdapter;&#010; import org.apache.torque.adapter.MysqlAdapter;&#010; import org.apache.torque.criteria.Criteria;&#010;-import org.apache.torque.criteria.CriteriaInterface;&#010; import org.apache.torque.criteria.Criterion;&#010; import org.apache.torque.om.mapper.CompositeMapper;&#010; import org.apache.torque.om.mapper.IntegerMapper;&#010;@@ -72,7 +71,7 @@ import org.apache.torque.test.peer.NopkP&#010; import org.apache.torque.test.peer.VarcharTypePeer;&#010; import org.apache.torque.test.recordmapper.AuthorRecordMapper;&#010; import org.apache.torque.test.recordmapper.BookRecordMapper;&#010;-import org.apache.torque.util.BasePeer;&#010;+import org.apache.torque.util.BasePeerImpl;&#010; import org.apache.torque.util.CountHelper;&#010; import org.apache.torque.util.Transaction;&#010; &#010;@@ -392,13 +391,13 @@ public class DataTest extends BaseDataba&#010;         Criteria criteria = new Criteria();&#010;         criteria.addSelectColumn(&#010;                 new ColumnImpl("count(distinct(" + BookPeer.BOOK_ID + "))"));&#010;-        BasePeer.doSelect(criteria, new IntegerMapper());&#010;+        new BasePeerImpl&lt;Object&gt;().doSelect(criteria, new IntegerMapper());&#010; &#010;         // test qualifiers in function in select columns&#010;         criteria = new Criteria();&#010;         criteria.addSelectColumn(&#010;                 new ColumnImpl("count(distinct " + BookPeer.BOOK_ID + ")"));&#010;-        BasePeer.doSelect(criteria, new IntegerMapper());&#010;+        new BasePeerImpl&lt;Object&gt;().doSelect(criteria, new IntegerMapper());&#010;     }&#010; &#010;     /**&#010;@@ -411,7 +410,7 @@ public class DataTest extends BaseDataba&#010; &#010;         criteria.addSelectColumn(BookPeer.BOOK_ID);&#010; &#010;-        BasePeer.doSelect(criteria, new IntegerMapper());&#010;+        new BasePeerImpl&lt;Object&gt;().doSelect(criteria, new IntegerMapper());&#010;     }&#010; &#010;     /**&#010;@@ -835,7 +834,7 @@ public class DataTest extends BaseDataba&#010;         // we need an additional column to select from,&#010;         // to indicate the table we want use&#010;         criteria.addSelectColumn(AuthorPeer.AUTHOR_ID);&#010;-        BasePeer.doSelect(criteria, new DoNothingMapper());&#010;+        new BasePeerImpl&lt;Object&gt;().doSelect(criteria, new DoNothingMapper());&#010;     }&#010; &#010;     /**&#010;@@ -1373,7 +1372,7 @@ public class DataTest extends BaseDataba&#010;      * @param fullyQualifiedColumnName the fully qualified column name, not null&#010;      * @return the column name stripped from the table (and schema) prefixes&#010;      */&#010;-    public static String getRawColumnName(String fullyQualifiedColumnName)&#010;+    public static String getRawColumnName(final String fullyQualifiedColumnName)&#010;     {&#010;         int dotPosition = fullyQualifiedColumnName.lastIndexOf(".");&#010;         if (dotPosition == -1)&#010;@@ -1390,9 +1389,9 @@ public class DataTest extends BaseDataba&#010;     {&#010; &#010;         public Object processRow(&#010;-                    ResultSet resultSet,&#010;-                    int rowOffset,&#010;-                    CriteriaInterface&lt;?&gt; criteria)&#010;+                    final ResultSet resultSet,&#010;+                    final int rowOffset,&#010;+                    final Criteria criteria)&#010;                 throws TorqueException&#010;         {&#010;             return null;&#010;&#010;Modified: db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/DocsTest.java&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/DocsTest.java?rev=1484256&amp;r1=1484255&amp;r2=1484256&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/DocsTest.java (original)&#010;+++ db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/DocsTest.java Sun&#010;May 19 10:03:24 2013&#010;@@ -31,7 +31,7 @@ import org.apache.torque.test.dbobject.A&#010; import org.apache.torque.test.dbobject.Book;&#010; import org.apache.torque.test.peer.AuthorPeer;&#010; import org.apache.torque.test.peer.BookPeer;&#010;-import org.apache.torque.util.BasePeer;&#010;+import org.apache.torque.util.BasePeerImpl;&#010; &#010; /**&#010;  * Runtime tests to make sure that the code which is supplied&#010;@@ -219,7 +219,7 @@ public class DocsTest extends BaseDataba&#010;         List&lt;List&lt;Object&gt;&gt; result = null;&#010;         try&#010;         {&#010;-            result = BasePeer.doSelect(&#010;+            result = new BasePeerImpl&lt;Object&gt;().doSelect(&#010;                     "SELECT book.* FROM book "&#010;                         + "INNER JOIN author "&#010;                         + "ON book.AUTHOR_ID=author.AUTHOR_ID",&#010;@@ -242,7 +242,7 @@ public class DocsTest extends BaseDataba&#010;         result = null;&#010;         try&#010;         {&#010;-            result = BasePeer.doSelect(&#010;+            result = new BasePeerImpl&lt;Object&gt;().doSelect(&#010;                     "SELECT book.* FROM book,author "&#010;                         + "WHERE book.AUTHOR_ID=author.AUTHOR_ID",&#010;                     new ObjectListMapper(),&#010;&#010;Modified: db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/util/BasePeerTest.java&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/util/BasePeerTest.java?rev=1484256&amp;r1=1484255&amp;r2=1484256&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/util/BasePeerTest.java&#010;(original)&#010;+++ db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/util/BasePeerTest.java&#010;Sun May 19 10:03:24 2013&#010;@@ -24,6 +24,7 @@ import java.util.ArrayList;&#010; import java.util.List;&#010; &#010; import org.apache.torque.BaseDatabaseTestCase;&#010;+import org.apache.torque.criteria.Criteria;&#010; import org.apache.torque.test.dbobject.Author;&#010; import org.apache.torque.test.peer.BookPeer;&#010; &#010;@@ -42,16 +43,17 @@ public class BasePeerTest extends BaseDa&#010;         cleanBookstore();&#010;         insertBookstoreData();&#010;         Criteria criteria = new Criteria(BookPeer.DATABASE_NAME);&#010;-        criteria.add(BookPeer.TITLE, "Book 1 - Author 1");&#010;+        criteria.where(BookPeer.TITLE, "Book 1 - Author 1");&#010; &#010;         // execute&#010;-        int deleted = BasePeer.doDelete(criteria);&#010;+        BasePeerImpl&lt;?&gt; basePeerImpl = new BasePeerImpl&lt;Object&gt;();&#010;+        int deleted = basePeerImpl.doDelete(criteria);&#010; &#010;         // verify&#010;         assertEquals(1, deleted);&#010;         assertEquals(99, countHelper.count(BookPeer.getTableMap()));&#010;         criteria = new Criteria();&#010;-        criteria.add(BookPeer.TITLE, "Book 1 - Author 1");&#010;+        criteria.where(BookPeer.TITLE, "Book 1 - Author 1");&#010;         assertEquals(0, countHelper.count(criteria));&#010;     }&#010; &#010;&#010;&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org&#010;For additional commands, e-mail: torque-dev-help@db.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r1484255 - /db/torque/torque4/trunk/torque-templates/src/test/schema/schema.xml</title>
<author><name>tfischer@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/201305.mbox/%3c20130519100216.A832C238889B@eris.apache.org%3e"/>
<id>urn:uuid:%3c20130519100216-A832C238889B@eris-apache-org%3e</id>
<updated>2013-05-19T10:02:16Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: tfischer&#010;Date: Sun May 19 10:02:16 2013&#010;New Revision: 1484255&#010;&#010;URL: http://svn.apache.org/r1484255&#010;Log:&#010;Add index and unique definition to test schema&#010;&#010;Modified:&#010;    db/torque/torque4/trunk/torque-templates/src/test/schema/schema.xml&#010;&#010;Modified: db/torque/torque4/trunk/torque-templates/src/test/schema/schema.xml&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-templates/src/test/schema/schema.xml?rev=1484255&amp;r1=1484254&amp;r2=1484255&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-templates/src/test/schema/schema.xml (original)&#010;+++ db/torque/torque4/trunk/torque-templates/src/test/schema/schema.xml Sun May 19 10:02:16&#010;2013&#010;@@ -44,7 +44,9 @@&#010;       size="50"&#010;       default="a_name"&#010;     /&gt;&#010;-&#010;+    &lt;index name="NAME_IDX"&gt;&#010;+      &lt;index-column name="name"/&gt;&#010;+    &lt;/index&gt;&#010;   &lt;/table&gt;&#010; &#010;   &lt;!-- =================================================== --&gt;&#010;@@ -64,7 +66,9 @@&#010;       type="VARCHAR"&#010;       size="50"&#010;     /&gt;&#010;-&#010;+    &lt;unique name="NAME_UNQ"&gt;&#010;+      &lt;unique-column name="name"/&gt;&#010;+    &lt;/unique&gt;&#010;   &lt;/table&gt;&#010; &#010; &#010;&#010;&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org&#010;For additional commands, e-mail: torque-dev-help@db.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r1484254 - /db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/recordmapper/base/recordMapperBase.vm</title>
<author><name>tfischer@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/201305.mbox/%3c20130519100121.D3786238889B@eris.apache.org%3e"/>
<id>urn:uuid:%3c20130519100121-D3786238889B@eris-apache-org%3e</id>
<updated>2013-05-19T10:01:21Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: tfischer&#010;Date: Sun May 19 10:01:21 2013&#010;New Revision: 1484254&#010;&#010;URL: http://svn.apache.org/r1484254&#010;Log:&#010;TORQUE-279 Remove deprecated methods and classes from the runtime&#010;&#010;Modified:&#010;    db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/recordmapper/base/recordMapperBase.vm&#010;&#010;Modified: db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/recordmapper/base/recordMapperBase.vm&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/recordmapper/base/recordMapperBase.vm?rev=1484254&amp;r1=1484253&amp;r2=1484254&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/recordmapper/base/recordMapperBase.vm&#010;(original)&#010;+++ db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/recordmapper/base/recordMapperBase.vm&#010;Sun May 19 10:01:21 2013&#010;@@ -37,7 +37,7 @@ import org.apache.commons.logging.Log;&#010; import org.apache.commons.logging.LogFactory;&#010; import org.apache.torque.Column;&#010; import org.apache.torque.TorqueException;&#010;-import org.apache.torque.criteria.CriteriaInterface;&#010;+import org.apache.torque.criteria.Criteria;&#010; import org.apache.torque.om.mapper.RecordMapper;&#010; &#010; #if (${baseRecordMapperPackage} != $dbObjectPackage)&#010;@@ -105,7 +105,7 @@ public class ${baseRecordMapperClassName&#010;     public $dbObjectClassName processRow(&#010;                 ResultSet resultSet,&#010;                 int offset,&#010;-                CriteriaInterface&lt;?&gt; criteria)&#010;+                Criteria criteria)&#010;             throws TorqueException&#010;     {&#010; #set ( $inheritanceBaseColumnElement = $torqueGen.getChild("inheritance-column") )&#010;&#010;&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org&#010;For additional commands, e-mail: torque-dev-help@db.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] [Resolved] (TORQUE-274) Change interface of source transformers</title>
<author><name>&quot;Thomas Fox (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/201305.mbox/%3cJIRA.12642124.1365710897760.344334.1368957557240@arcas%3e"/>
<id>urn:uuid:%3cJIRA-12642124-1365710897760-344334-1368957557240@arcas%3e</id>
<updated>2013-05-19T09:59:17Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&#010;     [ https://issues.apache.org/jira/browse/TORQUE-274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&#010;]&#010;&#010;Thomas Fox resolved TORQUE-274.&#010;-------------------------------&#010;&#010;    Resolution: Fixed&#010;    &#010;&gt; Change interface of source transformers&#010;&gt; ---------------------------------------&#010;&gt;&#010;&gt;                 Key: TORQUE-274&#010;&gt;                 URL: https://issues.apache.org/jira/browse/TORQUE-274&#010;&gt;             Project: Torque&#010;&gt;          Issue Type: Sub-task&#010;&gt;          Components: Generator&#010;&gt;    Affects Versions: 4.0&#010;&gt;            Reporter: Thomas Fox&#010;&gt;            Assignee: Thomas Fox&#010;&gt;&#010;&gt; If the source model can either be typed or untyped, the interface of the source transformers&#010;must be changed.&#010;&gt; Currently the interface requires the method&#010;&gt; SourceElement transform(SourceElement, ControllerState)&#010;&gt; which needs to be changed into&#010;&gt; Object transform(Object, ControllerState)&#010;&#010;--&#010;This message is automatically generated by JIRA.&#010;If you think it was sent incorrectly, please contact your JIRA administrators&#010;For more information on JIRA, see: http://www.atlassian.com/software/jira&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org&#010;For additional commands, e-mail: torque-dev-help@db.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] [Updated] (TORQUE-274) Change interface of source transformers</title>
<author><name>&quot;Thomas Fox (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/201305.mbox/%3cJIRA.12642124.1365710897760.344335.1368957557389@arcas%3e"/>
<id>urn:uuid:%3cJIRA-12642124-1365710897760-344335-1368957557389@arcas%3e</id>
<updated>2013-05-19T09:59:17Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&#010;     [ https://issues.apache.org/jira/browse/TORQUE-274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&#010;]&#010;&#010;Thomas Fox updated TORQUE-274:&#010;------------------------------&#010;&#010;    Fix Version/s: 4.1&#010;    &#010;&gt; Change interface of source transformers&#010;&gt; ---------------------------------------&#010;&gt;&#010;&gt;                 Key: TORQUE-274&#010;&gt;                 URL: https://issues.apache.org/jira/browse/TORQUE-274&#010;&gt;             Project: Torque&#010;&gt;          Issue Type: Sub-task&#010;&gt;          Components: Generator&#010;&gt;    Affects Versions: 4.0&#010;&gt;            Reporter: Thomas Fox&#010;&gt;            Assignee: Thomas Fox&#010;&gt;             Fix For: 4.1&#010;&gt;&#010;&gt;&#010;&gt; If the source model can either be typed or untyped, the interface of the source transformers&#010;must be changed.&#010;&gt; Currently the interface requires the method&#010;&gt; SourceElement transform(SourceElement, ControllerState)&#010;&gt; which needs to be changed into&#010;&gt; Object transform(Object, ControllerState)&#010;&#010;--&#010;This message is automatically generated by JIRA.&#010;If you think it was sent incorrectly, please contact your JIRA administrators&#010;For more information on JIRA, see: http://www.atlassian.com/software/jira&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org&#010;For additional commands, e-mail: torque-dev-help@db.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] [Resolved] (TORQUE-279) Remove deprecated methods and classes from the runtime</title>
<author><name>&quot;Thomas Fox (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/201305.mbox/%3cJIRA.12643794.1366488696360.344329.1368957556319@arcas%3e"/>
<id>urn:uuid:%3cJIRA-12643794-1366488696360-344329-1368957556319@arcas%3e</id>
<updated>2013-05-19T09:59:16Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&#010;     [ https://issues.apache.org/jira/browse/TORQUE-279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&#010;]&#010;&#010;Thomas Fox resolved TORQUE-279.&#010;-------------------------------&#010;&#010;    Resolution: Fixed&#010;    &#010;&gt; Remove deprecated methods and classes from the runtime&#010;&gt; ------------------------------------------------------&#010;&gt;&#010;&gt;                 Key: TORQUE-279&#010;&gt;                 URL: https://issues.apache.org/jira/browse/TORQUE-279&#010;&gt;             Project: Torque&#010;&gt;          Issue Type: Improvement&#010;&gt;          Components: Runtime&#010;&gt;    Affects Versions: 4.0&#010;&gt;            Reporter: Thomas Fox&#010;&gt;            Assignee: Thomas Fox&#010;&gt;             Fix For: 4.1&#010;&gt;&#010;&gt;&#010;&#010;&#010;--&#010;This message is automatically generated by JIRA.&#010;If you think it was sent incorrectly, please contact your JIRA administrators&#010;For more information on JIRA, see: http://www.atlassian.com/software/jira&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org&#010;For additional commands, e-mail: torque-dev-help@db.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r1484252 [1/3] - in /db/torque/torque4/trunk/torque-runtime/src: main/java/org/apache/torque/ main/java/org/apache/torque/avalon/ main/java/org/apache/torque/criteria/ main/java/org/apache/torque/map/ main/java/org/apache/torque/om/mapper/ ...</title>
<author><name>tfischer@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/201305.mbox/%3c20130519095802.973E423888E3@eris.apache.org%3e"/>
<id>urn:uuid:%3c20130519095802-973E423888E3@eris-apache-org%3e</id>
<updated>2013-05-19T09:58:01Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: tfischer&#010;Date: Sun May 19 09:58:00 2013&#010;New Revision: 1484252&#010;&#010;URL: http://svn.apache.org/r1484252&#010;Log:&#010;TORQUE-279 Remove deprecated methods and classes from the runtime&#010;&#010;Removed:&#010;    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/criteria/CriteriaInterface.java&#010;    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/sql/whereclausebuilder/CustomBuilder.java&#010;    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/BasePeer.java&#010;    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/Criteria.java&#010;    db/torque/torque4/trunk/torque-runtime/src/test/java/org/apache/torque/sql/SqlBuilderOldCriteriaTest.java&#010;    db/torque/torque4/trunk/torque-runtime/src/test/java/org/apache/torque/util/CriteriaTest.java&#010;Modified:&#010;    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/Database.java&#010;    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/Torque.java&#010;    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/TorqueInstance.java&#010;    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/avalon/Torque.java&#010;    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/criteria/Criteria.java&#010;    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/criteria/Criterion.java&#010;    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/criteria/Join.java&#010;    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/criteria/SqlEnum.java&#010;    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/map/ColumnMap.java&#010;    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/map/MapHelper.java&#010;    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/BigDecimalMapper.java&#010;    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/CompositeMapper.java&#010;    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/DateMapper.java&#010;    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/IntegerMapper.java&#010;    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/LongMapper.java&#010;    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/ObjectListMapper.java&#010;    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/RecordMapper.java&#010;    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/StringMapper.java&#010;    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/sql/JoinBuilder.java&#010;    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/sql/SqlBuilder.java&#010;    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/sql/objectbuilder/ObjectOrColumnPsPartBuilder.java&#010;    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/BasePeerImpl.java&#010;    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/CountHelper.java&#010;    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/LargeSelect.java&#010;    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/SummaryHelper.java&#010;    db/torque/torque4/trunk/torque-runtime/src/test/java/org/apache/torque/TorqueInstanceTest.java&#010;    db/torque/torque4/trunk/torque-runtime/src/test/java/org/apache/torque/criteria/CriterionTest.java&#010;    db/torque/torque4/trunk/torque-runtime/src/test/java/org/apache/torque/sql/SqlBuilderTest.java&#010;    db/torque/torque4/trunk/torque-runtime/src/test/resources/torque-schematest.properties&#010;&#010;Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/Database.java&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/Database.java?rev=1484252&amp;r1=1484251&amp;r2=1484252&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/Database.java (original)&#010;+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/Database.java Sun May 19 09:58:00 2013&#010;@@ -79,7 +79,7 @@ public class Database&#010;      *&#010;      * @throws NullPointerException if name is null.&#010;      */&#010;-    Database(String name)&#010;+    Database(final String name)&#010;     {&#010;         if (name == null)&#010;         {&#010;@@ -114,7 +114,7 @@ public class Database&#010;      * @param anAdapter The adapter for this database, or null to remove the&#010;      *        current adapter from this database.&#010;      */&#010;-    public void setAdapter(Adapter anAdapter)&#010;+    public void setAdapter(final Adapter anAdapter)&#010;     {&#010;         this.adapter = anAdapter;&#010;     }&#010;@@ -153,7 +153,7 @@ public class Database&#010;      * @param aDataSourceFactory The new DataSorceFactory for this database,&#010;      *        or null to remove the current DataSourceFactory.&#010;      */&#010;-    public void setDataSourceFactory(DataSourceFactory aDataSourceFactory)&#010;+    public void setDataSourceFactory(final DataSourceFactory aDataSourceFactory)&#010;     {&#010;         this.dataSourceFactory = aDataSourceFactory;&#010;     }&#010;@@ -174,7 +174,7 @@ public class Database&#010;      *&#010;      * @param idTable The TableMap representation for the ID table.&#010;      */&#010;-    public void setIdTable(TableMap idTable)&#010;+    public void setIdTable(final TableMap idTable)&#010;     {&#010;         this.idTable = idTable;&#010;         getDatabaseMap().setIdTable(idTable);&#010;@@ -185,7 +185,7 @@ public class Database&#010;      *&#010;      * @param tableName The name for the ID table.&#010;      */&#010;-    public void setIdTable(String tableName)&#010;+    public void setIdTable(final String tableName)&#010;     {&#010;         TableMap tmap = new TableMap(tableName, getDatabaseMap());&#010;         setIdTable(tmap);&#010;@@ -211,25 +211,6 @@ public class Database&#010;      * does nothing.&#010;      *&#010;      * @return true if a new IDBroker was created, false otherwise.&#010;-     *&#010;-     * @deprecated This method will be removed in a future version of Torque.&#010;-     *             Please use createAndRegisterIdBroker() instead.&#010;-     */&#010;-    @Deprecated&#010;-    public synchronized boolean startIdBroker()&#010;-    {&#010;-        return createAndRegisterIdBroker();&#010;-    }&#010;-&#010;-    /**&#010;-     * Creates the IDBroker for this Database and registers it with Torque.&#010;-     * so it is either started instantly if Torque is already initialized&#010;-     * or it is started when Torque is initialized.&#010;-     * The information about the IdTable is stored in the databaseMap.&#010;-     * If an IDBroker already exists for this Database, the method&#010;-     * does nothing.&#010;-     *&#010;-     * @return true if a new IDBroker was created, false otherwise.&#010;      */&#010;     public synchronized boolean createAndRegisterIdBroker()&#010;     {&#010;@@ -265,7 +246,7 @@ public class Database&#010;      * @return The IdGenerator of the requested type, or null if no IdGenerator&#010;      *         exists for the requested type.&#010;      */&#010;-    public IdGenerator getIdGenerator(IDMethod type)&#010;+    public IdGenerator getIdGenerator(final IDMethod type)&#010;     {&#010;         return idGenerators.get(type);&#010;     }&#010;@@ -277,7 +258,7 @@ public class Database&#010;      * @param idGen The new IdGenerator for the type, or null&#010;      *        to remove the IdGenerator of the given type.&#010;      */&#010;-    public void addIdGenerator(IDMethod type, IdGenerator idGen)&#010;+    public void addIdGenerator(final IDMethod type, final IdGenerator idGen)&#010;     {&#010;         idGenerators.put(type, idGen);&#010;     }&#010;@@ -299,7 +280,7 @@ public class Database&#010;      * @param schema the name of the database schema to set, or null to remove&#010;      *        the current schema.&#010;      */&#010;-    public void setSchema(String schema)&#010;+    public void setSchema(final String schema)&#010;     {&#010;         this.schema = schema;&#010;     }&#010;&#010;Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/Torque.java&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/Torque.java?rev=1484252&amp;r1=1484251&amp;r2=1484252&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/Torque.java (original)&#010;+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/Torque.java Sun May 19 09:58:00 2013&#010;@@ -118,7 +118,7 @@ public final class Torque&#010;      *&#010;      * @param instance Our singleton.&#010;      */&#010;-    public static void setInstance(TorqueInstance instance)&#010;+    public static void setInstance(final TorqueInstance instance)&#010;     {&#010;         torqueSingleton = instance;&#010;     }&#010;@@ -131,7 +131,7 @@ public final class Torque&#010;      * @throws TorqueException Any exceptions caught during processing will be&#010;      *         rethrown wrapped into a TorqueException.&#010;      */&#010;-    public static void init(String configFile)&#010;+    public static void init(final String configFile)&#010;         throws TorqueException&#010;     {&#010;         getInstance().init(configFile);&#010;@@ -145,7 +145,7 @@ public final class Torque&#010;      * @throws TorqueException Any exceptions caught during processing will be&#010;      *         rethrown wrapped into a TorqueException.&#010;      */&#010;-    public static void init(Configuration conf)&#010;+    public static void init(final Configuration conf)&#010;         throws TorqueException&#010;     {&#010;         getInstance().init(conf);&#010;@@ -169,7 +169,7 @@ public final class Torque&#010;      * @throws TorqueException if the configuration does not contain&#010;      *         any keys starting with &lt;code&gt;Torque.TORQUE_KEY&lt;/code&gt;.&#010;      */&#010;-    public static void setConfiguration(Configuration conf)&#010;+    public static void setConfiguration(final Configuration conf)&#010;             throws TorqueException&#010;     {&#010;         getInstance().setConfiguration(conf);&#010;@@ -193,7 +193,7 @@ public final class Torque&#010;      * @return The requested Manager.&#010;      */&#010;     @SuppressWarnings("unchecked")&#010;-&#009;public static &lt;T extends AbstractBaseManager&lt;? extends Persistent&gt;&gt; T getManager(String name)&#010;+&#009;public static &lt;T extends AbstractBaseManager&lt;? extends Persistent&gt;&gt; T getManager(final String name)&#010;     {&#010;         /*&#010;          *  The cast is necessary to work around bug&#010;@@ -214,8 +214,8 @@ public final class Torque&#010;      */&#010;     @SuppressWarnings("unchecked")&#010;     public static &lt;T extends AbstractBaseManager&lt;? extends Persistent&gt;&gt; T getManager(&#010;-            String name,&#010;-            String defaultClassName)&#010;+            final String name,&#010;+            final String defaultClassName)&#010;     {&#010;         /*&#010;          *  The cast is necessary to work around bug&#010;@@ -266,7 +266,7 @@ public final class Torque&#010;      *&#010;      * @throws TorqueException if Torque is not initialized and name is null.&#010;      */&#010;-    public static DatabaseMap getDatabaseMap(String name)&#010;+    public static DatabaseMap getDatabaseMap(final String name)&#010;             throws TorqueException&#010;     {&#010;         return getInstance().getDatabaseMap(name);&#010;@@ -281,7 +281,7 @@ public final class Torque&#010;      *&#010;      * @throws NullPointerException if idBroker is null.&#010;      */&#010;-    public static void registerIDBroker(IDBroker idBroker)&#010;+    public static void registerIDBroker(final IDBroker idBroker)&#010;     {&#010;         getInstance().registerIDBroker(idBroker);&#010;     }&#010;@@ -310,7 +310,7 @@ public final class Torque&#010;      * @throws TorqueException Any exceptions caught during processing will be&#010;      *         rethrown wrapped into a TorqueException.&#010;      */&#010;-    public static Connection getConnection(String name)&#010;+    public static Connection getConnection(final String name)&#010;         throws TorqueException&#010;     {&#010;         return getInstance().getConnection(name);&#010;@@ -330,8 +330,8 @@ public final class Torque&#010;      * @throws TorqueException Any exceptions caught during processing will be&#010;      *         rethrown wrapped into a TorqueException.&#010;      */&#010;-    public static Connection getConnection(String name, String username,&#010;-            String password)&#010;+    public static Connection getConnection(final String name, final String username,&#010;+            final String password)&#010;             throws TorqueException&#010;     {&#010;         return getInstance().getConnection(name, username, password);&#010;@@ -342,32 +342,13 @@ public final class Torque&#010;      *&#010;      * @param name the database name, or null for the default db.&#010;      *&#010;-     * @return The corresponding database adapter.&#010;-     *&#010;-     * @throws TorqueException Any exceptions caught during processing will be&#010;-     *         rethrown wrapped into a TorqueException.&#010;-     *&#010;-     * @deprecated use getAdapter(String) instead.&#010;-     *             This method will be removed in a future version of Torque.&#010;-     */&#010;-    @Deprecated&#010;-    public static Adapter getDB(String name) throws TorqueException&#010;-    {&#010;-        return getInstance().getDB(name);&#010;-    }&#010;-&#010;-    /**&#010;-     * Returns the database adapter for a specific database name.&#010;-     *&#010;-     * @param name the database name, or null for the default db.&#010;-     *&#010;      * @return The corresponding database adapter, or null if no database&#010;      *         adapter is defined for the given database.&#010;      *&#010;      * @throws TorqueException Any exceptions caught during processing will be&#010;      *         rethrown wrapped into a TorqueException.&#010;      */&#010;-    public static Adapter getAdapter(String name) throws TorqueException&#010;+    public static Adapter getAdapter(final String name) throws TorqueException&#010;     {&#010;         return getInstance().getAdapter(name);&#010;     }&#010;@@ -387,7 +368,7 @@ public final class Torque&#010;      *&#010;      * @param con A Connection to close.&#010;      */&#010;-    public static void closeConnection(Connection con)&#010;+    public static void closeConnection(final Connection con)&#010;     {&#010;         getInstance().closeConnection(con);&#010;     }&#010;@@ -400,7 +381,7 @@ public final class Torque&#010;      *&#010;      * @throws NullPointerException if databaseName is null.&#010;      */&#010;-    public static void setSchema(String name, String schema)&#010;+    public static void setSchema(final String name, final String schema)&#010;     {&#010;         getInstance().setSchema(name, schema);&#010;     }&#010;@@ -415,7 +396,7 @@ public final class Torque&#010;      * @throws TorqueException Any exceptions caught during processing will be&#010;      *         rethrown wrapped into a TorqueException.&#010;      */&#010;-    public static String getSchema(String name)&#010;+    public static String getSchema(final String name)&#010;         throws TorqueException&#010;     {&#010;         return getInstance().getSchema(name);&#010;@@ -432,7 +413,7 @@ public final class Torque&#010;      *&#010;      * @throws TorqueException if Torque is not yet initialized.&#010;      */&#010;-    public static Database getDatabase(String name) throws TorqueException&#010;+    public static Database getDatabase(final String name) throws TorqueException&#010;     {&#010;         return getInstance().getDatabase(name);&#010;     }&#010;@@ -449,7 +430,7 @@ public final class Torque&#010;      *&#010;      * @throws IllegalArgumentException if databaseName is null.&#010;      */&#010;-    public static Database getOrCreateDatabase(String name)&#010;+    public static Database getOrCreateDatabase(final String name)&#010;     {&#010;         return getInstance().getOrCreateDatabase(name);&#010;     }&#010;&#010;Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/TorqueInstance.java&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/TorqueInstance.java?rev=1484252&amp;r1=1484251&amp;r2=1484252&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/TorqueInstance.java (original)&#010;+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/TorqueInstance.java Sun May 19 09:58:00 2013&#010;@@ -193,7 +193,7 @@ public class TorqueInstance&#010;      * @throws TorqueException if the transaction manger configuration&#010;      *         is invalid.&#010;      */&#010;-    private void initTransactionManager(Configuration conf)&#010;+    private void initTransactionManager(final Configuration conf)&#010;             throws TorqueException&#010;     {&#010;         log.debug("initTransactionManager(" + conf + ")");&#010;@@ -247,7 +247,7 @@ public class TorqueInstance&#010;      *&#010;      * @throws TorqueException if the appropriate key is not set.&#010;      */&#010;-    private void initDefaultDbName(Configuration conf)&#010;+    private void initDefaultDbName(final Configuration conf)&#010;             throws TorqueException&#010;     {&#010;         log.debug("initDefaultDbName(" + conf + ")");&#010;@@ -283,7 +283,7 @@ public class TorqueInstance&#010;      * @throws TorqueException Any exceptions caught during processing will be&#010;      *         rethrown wrapped into a TorqueException.&#010;      */&#010;-    private void initAdapters(Configuration conf)&#010;+    private void initAdapters(final Configuration conf)&#010;             throws TorqueException&#010;     {&#010;         log.debug("initAdapters(" + conf + ")");&#010;@@ -409,7 +409,7 @@ public class TorqueInstance&#010;      * @throws TorqueException Any exceptions caught during processing will be&#010;      *         rethrown wrapped into a TorqueException.&#010;      */&#010;-    private void initDataSourceFactories(Configuration conf)&#010;+    private void initDataSourceFactories(final Configuration conf)&#010;             throws TorqueException&#010;     {&#010;         log.debug("initDataSourceFactories(" + conf + ")");&#010;@@ -447,18 +447,6 @@ public class TorqueInstance&#010; &#010;                     Database database = getOrCreateDatabase(handle);&#010;                     database.setDataSourceFactory(dsf);&#010;-&#010;-                    // deprecated method of schema configuration&#010;-                    // TODO: remove in Torque 4.1&#010;-                    String schema = subConf.getString(Torque.SCHEMA_KEY, null);&#010;-                    if (!StringUtils.isEmpty(schema))&#010;-                    {&#010;-                        log.warn("Defining the schema in the dsfactory "&#010;-                                + "is deprecated, please configure it "&#010;-                                + "via the config key "&#010;-                                + "torque.database.${databasename}.schema");&#010;-                    }&#010;-                    database.setSchema(schema);&#010;                 }&#010;             }&#010;         }&#010;@@ -502,7 +490,7 @@ public class TorqueInstance&#010;      * @throws TorqueException Any exceptions caught during processing will be&#010;      *         rethrown wrapped into a TorqueException.&#010;      */&#010;-    private void initSchemata(Configuration conf)&#010;+    private void initSchemata(final Configuration conf)&#010;             throws TorqueException&#010;     {&#010;         log.debug("initSchemata(" + conf + ")");&#010;@@ -574,7 +562,7 @@ public class TorqueInstance&#010;      * @throws TorqueException Any exceptions caught during processing will be&#010;      *         rethrown wrapped into a TorqueException.&#010;      */&#010;-    public void init(String configFile)&#010;+    public void init(final String configFile)&#010;             throws TorqueException&#010;     {&#010;         log.debug("init(" + configFile + ")");&#010;@@ -600,7 +588,7 @@ public class TorqueInstance&#010;      * @throws TorqueException Any exceptions caught during processing will be&#010;      *         rethrown wrapped into a TorqueException.&#010;      */&#010;-    public synchronized void init(Configuration conf)&#010;+    public synchronized void init(final Configuration conf)&#010;             throws TorqueException&#010;     {&#010;         log.debug("init(" + conf + ")");&#010;@@ -631,7 +619,7 @@ public class TorqueInstance&#010;      * @throws TorqueException Any exceptions caught during processing will be&#010;      *         rethrown wrapped into a TorqueException.&#010;      */&#010;-    protected synchronized void initManagerMappings(Configuration conf)&#010;+    protected synchronized void initManagerMappings(final Configuration conf)&#010;             throws TorqueException&#010;     {&#010;         int pref = Torque.MANAGER_PREFIX.length();&#010;@@ -677,7 +665,7 @@ public class TorqueInstance&#010;      * @throws TorqueException Any exceptions caught during processing will be&#010;      *         rethrown wrapped into a TorqueException.&#010;      */&#010;-    private synchronized void initManager(String name, String className)&#010;+    private synchronized void initManager(final String name, final String className)&#010;             throws TorqueException&#010;     {&#010;         AbstractBaseManager&lt;?&gt; manager = managers.get(name);&#010;@@ -730,7 +718,7 @@ public class TorqueInstance&#010;      * @throws TorqueException if the configuration does not contain&#010;      *         any keys starting with &lt;code&gt;Torque.TORQUE_KEY&lt;/code&gt;.&#010;      */&#010;-    public void setConfiguration(Configuration conf)&#010;+    public void setConfiguration(final Configuration conf)&#010;             throws TorqueException&#010;     {&#010;         log.debug("setConfiguration(" + conf + ")");&#010;@@ -764,7 +752,7 @@ public class TorqueInstance&#010;      * @param name name of the manager&#010;      * @return a Manager&#010;      */&#010;-    public &lt;T extends AbstractBaseManager&lt;? extends Persistent&gt;&gt; T getManager(String name)&#010;+    public &lt;T extends AbstractBaseManager&lt;? extends Persistent&gt;&gt; T getManager(final String name)&#010;     {&#010;         @SuppressWarnings("unchecked")&#010;         T m = (T) managers.get(name);&#010;@@ -785,8 +773,8 @@ public class TorqueInstance&#010;      * @return a Manager&#010;      */&#010;     @SuppressWarnings("unchecked")&#010;-    public &lt;T extends AbstractBaseManager&lt;? extends Persistent&gt;&gt; T getManager(String name,&#010;-            String defaultClassName)&#010;+    public &lt;T extends AbstractBaseManager&lt;? extends Persistent&gt;&gt; T getManager(final String name,&#010;+            final String defaultClassName)&#010;     {&#010;         T m = (T) managers.get(name);&#010;         if (m == null)&#010;@@ -953,7 +941,7 @@ public class TorqueInstance&#010;      *&#010;      * @throws NullPointerException if idBroker is null.&#010;      */&#010;-    public void registerIDBroker(IDBroker idBroker)&#010;+    public void registerIDBroker(final IDBroker idBroker)&#010;     {&#010;         idBrokers.add(idBroker);&#010;         if (isInit())&#010;@@ -989,7 +977,7 @@ public class TorqueInstance&#010;      *         named database, the connection information is wrong, or the&#010;      *         connection cannot be returned for any other reason.&#010;      */&#010;-    public Connection getConnection(String name)&#010;+    public Connection getConnection(final String name)&#010;             throws TorqueException&#010;     {&#010;         if (!isInit())&#010;@@ -1020,7 +1008,7 @@ public class TorqueInstance&#010;      * @throws TorqueException if Torque is not initialized, or&#010;      *         no DatasourceFactory is configured for the given name.&#010;      */&#010;-    public DataSourceFactory getDataSourceFactory(String name)&#010;+    public DataSourceFactory getDataSourceFactory(final String name)&#010;             throws TorqueException&#010;     {&#010;         if (!isInit())&#010;@@ -1060,8 +1048,8 @@ public class TorqueInstance&#010;      * @throws TorqueException Any exceptions caught during processing will be&#010;      *         rethrown wrapped into a TorqueException.&#010;      */&#010;-    public Connection getConnection(String name, String username,&#010;-            String password)&#010;+    public Connection getConnection(final String name, final String username,&#010;+            final String password)&#010;             throws TorqueException&#010;     {&#010;         if (!isInit())&#010;@@ -1088,36 +1076,8 @@ public class TorqueInstance&#010;      *         adapter is defined for the given database.&#010;      *&#010;      * @throws TorqueException if Torque is not initialized.&#010;-     *&#010;-     * @deprecated use getAdapter(String) instead.&#010;-     *             This method will be removed in a future version of Torque.&#010;-     */&#010;-    @Deprecated&#010;-    public Adapter getDB(String name) throws TorqueException&#010;-    {&#010;-        if (!isInit())&#010;-        {&#010;-            throw new TorqueException("Torque is not initialized");&#010;-        }&#010;-        Database database = getDatabase(name);&#010;-        if (database == null)&#010;-        {&#010;-            return null;&#010;-        }&#010;-        return database.getAdapter();&#010;-    }&#010;-&#010;-    /**&#010;-     * Returns the database adapter for a specific database.&#010;-     *&#010;-     * @param name the database name, or null for the default db.&#010;-     *&#010;-     * @return The corresponding database adapter, or null if no database&#010;-     *         adapter is defined for the given database.&#010;-     *&#010;-     * @throws TorqueException if Torque is not initialized.&#010;      */&#010;-    public Adapter getAdapter(String name) throws TorqueException&#010;+    public Adapter getAdapter(final String name) throws TorqueException&#010;     {&#010;         if (!isInit())&#010;         {&#010;@@ -1148,7 +1108,7 @@ public class TorqueInstance&#010;      *&#010;      * @param con A Connection to close.&#010;      */&#010;-    public void closeConnection(Connection con)&#010;+    public void closeConnection(final Connection con)&#010;     {&#010;         if (con != null)&#010;         {&#010;@@ -1171,7 +1131,7 @@ public class TorqueInstance&#010;      *&#010;      * @throws NullPointerException if databaseName is null.&#010;      */&#010;-    public void setSchema(String name, String schema)&#010;+    public void setSchema(final String name, final String schema)&#010;     {&#010;         getOrCreateDatabase(name).setSchema(schema);&#010;     }&#010;@@ -1186,7 +1146,7 @@ public class TorqueInstance&#010;      *&#010;      * @throws TorqueException if Torque is not yet initialized.&#010;      */&#010;-    public String getSchema(String name)&#010;+    public String getSchema(final String name)&#010;             throws TorqueException&#010;     {&#010;         if (!isInit())&#010;@@ -1259,7 +1219,7 @@ public class TorqueInstance&#010;      *&#010;      * @throws NullPointerException if databaseName is null.&#010;      */&#010;-    public Database getOrCreateDatabase(String databaseName)&#010;+    public Database getOrCreateDatabase(final String databaseName)&#010;     {&#010;         if (databaseName == null)&#010;         {&#010;&#010;Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/avalon/Torque.java&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/avalon/Torque.java?rev=1484252&amp;r1=1484251&amp;r2=1484252&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/avalon/Torque.java (original)&#010;+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/avalon/Torque.java Sun May 19 09:58:00 2013&#010;@@ -146,19 +146,6 @@ public interface Torque&#010;      * @return The corresponding database adapter.&#010;      * @throws TorqueException Any exceptions caught during processing will be&#010;      *         rethrown wrapped into a TorqueException.&#010;-     * @deprecated use getAdapter(String) instead.&#010;-     *             This method will be removed in a future version of Torque.&#010;-     */&#010;-    @Deprecated&#010;-    Adapter getDB(String name) throws TorqueException;&#010;-&#010;-    /**&#010;-     * Returns database adapter for a specific connection pool.&#010;-     *&#010;-     * @param name A pool name.&#010;-     * @return The corresponding database adapter.&#010;-     * @throws TorqueException Any exceptions caught during processing will be&#010;-     *         rethrown wrapped into a TorqueException.&#010;      */&#010;     Adapter getAdapter(String name) throws TorqueException;&#010; &#010;&#010;Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/criteria/Criteria.java&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/criteria/Criteria.java?rev=1484252&amp;r1=1484251&amp;r2=1484252&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/criteria/Criteria.java (original)&#010;+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/criteria/Criteria.java Sun May 19 09:58:00 2013&#010;@@ -52,8 +52,7 @@ import org.apache.torque.util.UniqueList&#010;  * @author &lt;a href="mailto:tv@apache.org"&gt;Thomas Vandahl&lt;/a&gt;&#010;  * @version $Id$&#010;  */&#010;-public class Criteria&#010;-        implements Serializable, Cloneable, CriteriaInterface&lt;Criteria&gt;&#010;+public class Criteria implements Serializable, Cloneable&#010; {&#010;     /** Serial version. */&#010;     private static final long serialVersionUID = -9001666575933085601L;&#010;@@ -214,7 +213,7 @@ public class Criteria&#010;      *&#010;      * @param dbName The database name.&#010;      */&#010;-    public Criteria(String dbName)&#010;+    public Criteria(final String dbName)&#010;     {&#010;         this();&#010;         this.dbName = dbName;&#010;@@ -227,7 +226,7 @@ public class Criteria&#010;      *&#010;      * @param toCopy the criteria to copy.&#010;      */&#010;-    public Criteria(Criteria toCopy)&#010;+    public Criteria(final Criteria toCopy)&#010;     {&#010;         ignoreCase = toCopy.ignoreCase;&#010;         singleRecord = toCopy.singleRecord;&#010;@@ -270,7 +269,7 @@ public class Criteria&#010;      *&#010;      * @return A modified Criteria object.&#010;      */&#010;-    public Criteria addAsColumn(String name, Column clause)&#010;+    public Criteria addAsColumn(final String name, final Column clause)&#010;     {&#010;         asColumns.put(name, clause);&#010;         return this;&#010;@@ -304,7 +303,7 @@ public class Criteria&#010;      * @param alias the alias for the table name.&#010;      * @param table the table name as known in the database.&#010;      */&#010;-    public Criteria addAlias(String alias, String table)&#010;+    public Criteria addAlias(final String alias, final String table)&#010;     {&#010;         aliases.put(alias, table);&#010;         return this;&#010;@@ -316,7 +315,7 @@ public class Criteria&#010;      * @param alias the alias for the subselect.&#010;      * @param subselect the Criteria for the subselect.&#010;      */&#010;-    public Criteria addAlias(String alias, Criteria subselect)&#010;+    public Criteria addAlias(final String alias, final Criteria subselect)&#010;     {&#010;         aliases.put(alias, subselect);&#010;         return this;&#010;@@ -333,7 +332,7 @@ public class Criteria&#010;      *         &lt;code&gt;alias&lt;/code&gt; is defined but is no alias for a table name&#010;      *         (e.g. it is an alias for a subselect).&#010;      */&#010;-    public String getTableForAlias(String alias)&#010;+    public String getTableForAlias(final String alias)&#010;     {&#010;         Object aliasResolved = aliases.get(alias);&#010;         if (aliasResolved == null)&#010;@@ -360,7 +359,7 @@ public class Criteria&#010;      *         &lt;code&gt;alias&lt;/code&gt; is defined but is not an alias for a subselect&#010;      *         (e.g. it is an alias for a table).&#010;      */&#010;-    public Criteria getSubselectForAlias(String alias)&#010;+    public Criteria getSubselectForAlias(final String alias)&#010;     {&#010;         Object aliasResolved = aliases.get(alias);&#010;         if (aliasResolved == null)&#010;@@ -403,7 +402,7 @@ public class Criteria&#010;      *&#010;      * @param dbName The Database(Map) name.&#010;      */&#010;-    public void setDbName(String dbName)&#010;+    public void setDbName(final String dbName)&#010;     {&#010;         this.dbName = dbName;&#010;     }&#010;@@ -421,7 +420,7 @@ public class Criteria&#010;      * @param having A Criterion object&#010;      * @return A modified Criteria object.&#010;      */&#010;-    public Criteria addHaving(Criterion having)&#010;+    public Criteria addHaving(final Criterion having)&#010;     {&#010;         this.having = having;&#010;         return this;&#010;@@ -456,7 +455,7 @@ public class Criteria&#010;      *&#010;      * @return this object.&#010;      */&#010;-    public Criteria setForUpdate(boolean forUpdate)&#010;+    public Criteria setForUpdate(final boolean forUpdate)&#010;     {&#010;         this.forUpdate = forUpdate;&#010;         return this;&#010;@@ -485,7 +484,7 @@ public class Criteria&#010;      * @param right A String with the right side of the join.&#010;      * @return A modified Criteria object.&#010;      */&#010;-    public Criteria addJoin(Column left, Column right)&#010;+    public Criteria addJoin(final Column left, final Column right)&#010;     {&#010;         return addJoin(left, right, null);&#010;     }&#010;@@ -506,7 +505,7 @@ public class Criteria&#010;      *        Criteria.LEFT_JOIN, Criteria.RIGHT_JOIN, Criteria.INNER_JOIN&#010;      * @return A modified Criteria object.&#010;      */&#010;-    public Criteria addJoin(Column left, Column right, JoinType joinType)&#010;+    public Criteria addJoin(final Column left, final Column right, final JoinType joinType)&#010;     {&#010;         joins.add(new Join(left, right, Criteria.EQUAL, joinType));&#010; &#010;@@ -536,10 +535,10 @@ public class Criteria&#010;      * @return A modified Criteria object.&#010;      */&#010;     public Criteria addJoin(&#010;-            Column left,&#010;-            Column right,&#010;-            SqlEnum comparison,&#010;-            JoinType joinType)&#010;+            final Column left,&#010;+            final Column right,&#010;+            final SqlEnum comparison,&#010;+            final JoinType joinType)&#010;     {&#010;         joins.add(new Join(left, right, comparison, joinType));&#010; &#010;@@ -572,10 +571,10 @@ public class Criteria&#010;      * @return A modified Criteria object.&#010;      */&#010;     public Criteria addJoin(&#010;-            String leftTable,&#010;-            String rightTable,&#010;-            Criterion joinCondition,&#010;-            JoinType joinType)&#010;+            final String leftTable,&#010;+            final String rightTable,&#010;+            final Criterion joinCondition,&#010;+            final JoinType joinType)&#010;     {&#010;         joins.add(new Join(&#010;                 new PreparedStatementPart(leftTable),&#010;@@ -612,10 +611,10 @@ public class Criteria&#010;      * @return A modified Criteria object.&#010;      */&#010;     public Criteria addJoin(&#010;-            PreparedStatementPart leftTable,&#010;-            PreparedStatementPart rightTable,&#010;-            Criterion joinCondition,&#010;-            JoinType joinType)&#010;+            final PreparedStatementPart leftTable,&#010;+            final PreparedStatementPart rightTable,&#010;+            final Criterion joinCondition,&#010;+            final JoinType joinType)&#010;     {&#010;         joins.add(new Join(&#010;                 leftTable,&#010;@@ -659,7 +658,7 @@ public class Criteria&#010;      * @param ignoreCase True if case should be ignored.&#010;      * @return A modified Criteria object.&#010;      */&#010;-    public Criteria setIgnoreCase(boolean ignoreCase)&#010;+    public Criteria setIgnoreCase(final boolean ignoreCase)&#010;     {&#010;         this.ignoreCase = ignoreCase;&#010;         return this;&#010;@@ -689,7 +688,7 @@ public class Criteria&#010;      *        exactly one record.&#010;      * @return A modified Criteria object.&#010;      */&#010;-    public Criteria setSingleRecord(boolean b)&#010;+    public Criteria setSingleRecord(final boolean b)&#010;     {&#010;         singleRecord = b;&#010;         return this;&#010;@@ -713,7 +712,7 @@ public class Criteria&#010;      *        by a query.&#010;      * @return A modified Criteria object.&#010;      */&#010;-    public Criteria setLimit(int limit)&#010;+    public Criteria setLimit(final int limit)&#010;     {&#010;         this.limit = limit;&#010;         return this;&#010;@@ -736,7 +735,7 @@ public class Criteria&#010;      *        result.&#010;      * @return A modified Criteria object.&#010;      */&#010;-    public Criteria setOffset(long offset)&#010;+    public Criteria setOffset(final long offset)&#010;     {&#010;         this.offset = offset;&#010;         return this;&#010;@@ -767,7 +766,7 @@ public class Criteria&#010;      *&#010;      * @param fetchSize the fetch size, or null for not set.&#010;      */&#010;-    public void setFetchSize(Integer fetchSize)&#010;+    public void setFetchSize(final Integer fetchSize)&#010;     {&#010;         this.fetchSize = fetchSize;&#010;     }&#010;@@ -779,7 +778,7 @@ public class Criteria&#010;      *&#010;      * @return A modified Criteria object.&#010;      */&#010;-    public Criteria addSelectColumn(Column column)&#010;+    public Criteria addSelectColumn(final Column column)&#010;     {&#010;         selectColumns.add(column);&#010;         return this;&#010;@@ -812,7 +811,7 @@ public class Criteria&#010;      *&#010;      * @return A modified Criteria object.&#010;      */&#010;-    public Criteria addGroupByColumn(Column groupBy)&#010;+    public Criteria addGroupByColumn(final Column groupBy)&#010;     {&#010;         groupByColumns.add(groupBy);&#010;         return this;&#010;@@ -835,7 +834,7 @@ public class Criteria&#010;      *&#010;      * @return A modified Criteria object.&#010;      */&#010;-    public Criteria addAscendingOrderByColumn(Column column)&#010;+    public Criteria addAscendingOrderByColumn(final Column column)&#010;     {&#010;         orderByColumns.add(new OrderBy(column, SqlEnum.ASC, false));&#010;         return this;&#010;@@ -849,7 +848,7 @@ public class Criteria&#010;      *&#010;      * @return A modified Criteria object.&#010;      */&#010;-    public Criteria addAscendingOrderByColumn(Column column, boolean ignoreCase)&#010;+    public Criteria addAscendingOrderByColumn(final Column column, final boolean ignoreCase)&#010;     {&#010;         orderByColumns.add(new OrderBy(column, SqlEnum.ASC, ignoreCase));&#010;         return this;&#010;@@ -862,7 +861,7 @@ public class Criteria&#010;      *&#010;      * @return A modified Criteria object.&#010;      */&#010;-    public Criteria addDescendingOrderByColumn(Column column)&#010;+    public Criteria addDescendingOrderByColumn(final Column column)&#010;     {&#010;         orderByColumns.add(new OrderBy(column, SqlEnum.DESC, false));&#010;         return this;&#010;@@ -878,8 +877,8 @@ public class Criteria&#010;      * @return A modified Criteria object.&#010;      */&#010;     public Criteria addDescendingOrderByColumn(&#010;-            Column column,&#010;-            boolean ignoreCase)&#010;+            final Column column,&#010;+            final boolean ignoreCase)&#010;     {&#010;         orderByColumns.add(new OrderBy(column, SqlEnum.DESC, ignoreCase));&#010;         return this;&#010;@@ -911,7 +910,7 @@ public class Criteria&#010;      *&#010;      * @return the modified Criteria object.&#010;      */&#010;-    public Criteria addFrom(String tableName)&#010;+    public Criteria addFrom(final String tableName)&#010;     {&#010;         fromElements.add(new FromElement(tableName));&#010;         return this;&#010;@@ -922,7 +921,7 @@ public class Criteria&#010;      *&#010;      * @return the modified Criteria object.&#010;      */&#010;-    public Criteria addFrom(FromElement fromElement)&#010;+    public Criteria addFrom(final FromElement fromElement)&#010;     {&#010;         fromElements.add(fromElement);&#010;         return this;&#010;@@ -961,7 +960,7 @@ public class Criteria&#010;      * @return true if the object is equal to this Criteria, false otherwise.&#010;      */&#010;     @Override&#010;-    public boolean equals(Object object)&#010;+    public boolean equals(final Object object)&#010;     {&#010;         if (object == null)&#010;         {&#010;@@ -1064,7 +1063,7 @@ public class Criteria&#010;      *&#010;      * @return A modified Criteria object.&#010;      */&#010;-    public Criteria and(Criterion criterion)&#010;+    public Criteria and(final Criterion criterion)&#010;     {&#010;         if (topLevelCriterion == null)&#010;         {&#010;@@ -1103,7 +1102,7 @@ public class Criteria&#010;      *&#010;      * @return A modified Criteria object.&#010;      */&#010;-    public Criteria and(Object lValue, Object rValue)&#010;+    public Criteria and(final Object lValue, final Object rValue)&#010;     {&#010;         if (rValue instanceof SqlEnum)&#010;         {&#010;@@ -1136,23 +1135,9 @@ public class Criteria&#010;      *&#010;      * @return A modified Criteria object.&#010;      */&#010;-    @SuppressWarnings("deprecation")&#010;-    public Criteria and(Object lValue, Object rValue, SqlEnum comparison)&#010;+    public Criteria and(final Object lValue, final Object rValue, final SqlEnum comparison)&#010;     {&#010;-        Criterion newCriterion;&#010;-        if (comparison == SqlEnum.CUSTOM)&#010;-        {&#010;-            newCriterion = new Criterion(&#010;-                    lValue,&#010;-                    null,&#010;-                    null,&#010;-                    (String) rValue,&#010;-                    null);&#010;-        }&#010;-        else&#010;-        {&#010;-            newCriterion = new Criterion(lValue, rValue, comparison);&#010;-        }&#010;+        Criterion newCriterion = new Criterion(lValue, rValue, comparison);&#010;         if (topLevelCriterion == null)&#010;         {&#010;             topLevelCriterion = newCriterion;&#010;@@ -1184,7 +1169,7 @@ public class Criteria&#010;      *&#010;      * @return A modified Criteria object.&#010;      */&#010;-    public Criteria andDate(Object lValue, int year, int month, int day)&#010;+    public Criteria andDate(final Object lValue, final int year, final int month, final int day)&#010;     {&#010;         return and(lValue,&#010;                 new GregorianCalendar(year, month, day).getTime(),&#010;@@ -1212,8 +1197,8 @@ public class Criteria&#010;      *&#010;      * @return A modified Criteria object.&#010;      */&#010;-    public Criteria andDate(Object lValue, int year, int month, int day,&#010;-            SqlEnum comparison)&#010;+    public Criteria andDate(final Object lValue, final int year, final int month, final int day,&#010;+            final SqlEnum comparison)&#010;     {&#010;         return and(lValue,&#010;                 new GregorianCalendar(year, month, day).getTime(),&#010;@@ -1238,7 +1223,7 @@ public class Criteria&#010;      *&#010;      * @return A modified Criteria object.&#010;      */&#010;-    public Criteria andIn(Object lValue, Object[] rValues)&#010;+    public Criteria andIn(final Object lValue, final Object[] rValues)&#010;     {&#010;         return and(lValue, rValues, Criteria.IN);&#010;     }&#010;@@ -1261,7 +1246,7 @@ public class Criteria&#010;      *&#010;      * @return A modified Criteria object.&#010;      */&#010;-    public Criteria andIn(Object lValue, Collection&lt;?&gt; rValues)&#010;+    public Criteria andIn(final Object lValue, final Collection&lt;?&gt; rValues)&#010;     {&#010;         return and(lValue, rValues, Criteria.IN);&#010;     }&#010;@@ -1284,7 +1269,7 @@ public class Criteria&#010;      *&#010;      * @return A modified Criteria object.&#010;      */&#010;-    public Criteria andNotIn(Object lValue, Object[] rValues)&#010;+    public Criteria andNotIn(final Object lValue, final Object[] rValues)&#010;     {&#010;         return and(lValue, rValues, Criteria.NOT_IN);&#010;     }&#010;@@ -1307,7 +1292,7 @@ public class Criteria&#010;      *&#010;      * @return A modified Criteria object.&#010;      */&#010;-    public Criteria andNotIn(Object lValue, Collection&lt;?&gt; rValues)&#010;+    public Criteria andNotIn(final Object lValue, final Collection&lt;?&gt; rValues)&#010;     {&#010;         return and(lValue, rValues, Criteria.NOT_IN);&#010;     }&#010;@@ -1326,7 +1311,7 @@ public class Criteria&#010;      *&#010;      * @return the modified Criteria.&#010;      */&#010;-    public Criteria andVerbatimSql(String sql, Object[] replacements)&#010;+    public Criteria andVerbatimSql(final String sql, final Object[] replacements)&#010;     {&#010;         Criterion criterion&#010;                 = new Criterion(null, null, null, sql, replacements);&#010;@@ -1355,10 +1340,10 @@ public class Criteria&#010;      * @return the modified Criteria.&#010;      */&#010;     public Criteria andVerbatimSql(&#010;-            String sql,&#010;-            Object[] replacements,&#010;-            Column toAddToFromClause1,&#010;-            Column toAddToFromClause2)&#010;+            final String sql,&#010;+            final Object[] replacements,&#010;+            final Column toAddToFromClause1,&#010;+            final Column toAddToFromClause2)&#010;     {&#010;         Criterion criterion = new Criterion(&#010;                 toAddToFromClause1,&#010;@@ -1393,7 +1378,7 @@ public class Criteria&#010;      *&#010;      * @return A modified Criteria object.&#010;      */&#010;-    public Criteria or(Criterion criterion)&#010;+    public Criteria or(final Criterion criterion)&#010;     {&#010;         if (topLevelCriterion == null)&#010;         {&#010;@@ -1432,7 +1417,7 @@ public class Criteria&#010;      *&#010;      * @return A modified Criteria object.&#010;      */&#010;-    public Criteria or(Object lValue, Object rValue)&#010;+    public Criteria or(final Object lValue, final Object rValue)&#010;     {&#010;         if (rValue instanceof SqlEnum)&#010;         {&#010;@@ -1465,23 +1450,9 @@ public class Criteria&#010;      *&#010;      * @return A modified Criteria object.&#010;      */&#010;-    @SuppressWarnings("deprecation")&#010;-    public Criteria or(Object lValue, Object rValue, SqlEnum comparison)&#010;+    public Criteria or(final Object lValue, final Object rValue, final SqlEnum comparison)&#010;     {&#010;-        Criterion newCriterion;&#010;-        if (comparison == SqlEnum.CUSTOM)&#010;-        {&#010;-            newCriterion = new Criterion(&#010;-                    lValue,&#010;-                    null,&#010;-                    null,&#010;-                    (String) rValue,&#010;-                    null);&#010;-        }&#010;-        else&#010;-        {&#010;-            newCriterion = new Criterion(lValue, rValue, comparison);&#010;-        }&#010;+        Criterion newCriterion = new Criterion(lValue, rValue, comparison);&#010;         if (topLevelCriterion == null)&#010;         {&#010;             topLevelCriterion = newCriterion;&#010;@@ -1513,7 +1484,7 @@ public class Criteria&#010;      *&#010;      * @return A modified Criteria object.&#010;      */&#010;-    public Criteria orDate(Object lValue, int year, int month, int day)&#010;+    public Criteria orDate(final Object lValue, final int year, final int month, final int day)&#010;     {&#010;         return or(lValue,&#010;                 new GregorianCalendar(year, month, day).getTime(),&#010;@@ -1541,8 +1512,8 @@ public class Criteria&#010;      *&#010;      * @return A modified Criteria object.&#010;      */&#010;-    public Criteria orDate(Object lValue, int year, int month, int day,&#010;-            SqlEnum comparison)&#010;+    public Criteria orDate(final Object lValue, final int year, final int month, final int day,&#010;+            final SqlEnum comparison)&#010;     {&#010;         return or(lValue,&#010;                 new GregorianCalendar(year, month, day).getTime(),&#010;@@ -1567,7 +1538,7 @@ public class Criteria&#010;      *&#010;      * @return A modified Criteria object.&#010;      */&#010;-    public Criteria orIn(Object lValue, Object[] rValues)&#010;+    public Criteria orIn(final Object lValue, final Object[] rValues)&#010;     {&#010;         return or(lValue, rValues, Criteria.IN);&#010;     }&#010;@@ -1590,7 +1561,7 @@ public class Criteria&#010;      *&#010;      * @return A modified Criteria object.&#010;      */&#010;-    public Criteria orIn(Object lValue, Collection&lt;?&gt; rValues)&#010;+    public Criteria orIn(final Object lValue, final Collection&lt;?&gt; rValues)&#010;     {&#010;         return or(lValue, rValues, Criteria.IN);&#010;     }&#010;@@ -1613,7 +1584,7 @@ public class Criteria&#010;      *&#010;      * @return A modified Criteria object.&#010;      */&#010;-    public Criteria orNotIn(Object lValue, Object[] rValues)&#010;+    public Criteria orNotIn(final Object lValue, final Object[] rValues)&#010;     {&#010;         return or(lValue, rValues, Criteria.NOT_IN);&#010;     }&#010;@@ -1636,7 +1607,7 @@ public class Criteria&#010;      *&#010;      * @return A modified Criteria object.&#010;      */&#010;-    public Criteria orNotIn(Object lValue, Collection&lt;?&gt; rValues)&#010;+    public Criteria orNotIn(final Object lValue, final Collection&lt;?&gt; rValues)&#010;     {&#010;         return or(lValue, rValues, Criteria.NOT_IN);&#010;     }&#010;@@ -1655,7 +1626,7 @@ public class Criteria&#010;      *&#010;      * @return the modified Criteria.&#010;      */&#010;-    public Criteria orVerbatimSql(String sql, Object[] replacements)&#010;+    public Criteria orVerbatimSql(final String sql, final Object[] replacements)&#010;     {&#010;         Criterion criterion&#010;                 = new Criterion(null, null, null, sql, replacements);&#010;@@ -1684,10 +1655,10 @@ public class Criteria&#010;      * @return the modified Criteria.&#010;      */&#010;     public Criteria orVerbatimSql(&#010;-            String sql,&#010;-            Object[] replacements,&#010;-            Column toAddToFromClause1,&#010;-            Column toAddToFromClause2)&#010;+            final String sql,&#010;+            final Object[] replacements,&#010;+            final Column toAddToFromClause1,&#010;+            final Column toAddToFromClause2)&#010;     {&#010;         Criterion criterion = new Criterion(&#010;                 toAddToFromClause1,&#010;@@ -1716,7 +1687,7 @@ public class Criteria&#010;      *&#010;      * @return A modified Criteria object.&#010;      */&#010;-    public Criteria where(Criterion criterion)&#010;+    public Criteria where(final Criterion criterion)&#010;     {&#010;         return and(criterion);&#010;     }&#010;@@ -1749,7 +1720,7 @@ public class Criteria&#010;      *&#010;      * @return A modified Criteria object.&#010;      */&#010;-    public Criteria where(Object lValue, Object rValue)&#010;+    public Criteria where(final Object lValue, final Object rValue)&#010;     {&#010;         return and(lValue, rValue);&#010;     }&#010;@@ -1776,7 +1747,7 @@ public class Criteria&#010;      *&#010;      * @return A modified Criteria object.&#010;      */&#010;-    public Criteria where(Object lValue, Object rValue, SqlEnum comparison)&#010;+    public Criteria where(final Object lValue, final Object rValue, final SqlEnum comparison)&#010;     {&#010;         return and(lValue, rValue, comparison);&#010;     }&#010;@@ -1799,7 +1770,7 @@ public class Criteria&#010;      *&#010;      * @return A modified Criteria object.&#010;      */&#010;-    public Criteria whereDate(Object lValue, int year, int month, int day)&#010;+    public Criteria whereDate(final Object lValue, final int year, final int month, final int day)&#010;     {&#010;         return andDate(lValue, year, month, day);&#010;     }&#010;@@ -1823,8 +1794,8 @@ public class Criteria&#010;      *&#010;      * @return A modified Criteria object.&#010;      */&#010;-    public Criteria whereDate(Object lValue, int year, int month, int day,&#010;-            SqlEnum comparison)&#010;+    public Criteria whereDate(final Object lValue, final int year, final int month, final int day,&#010;+            final SqlEnum comparison)&#010;     {&#010;         return andDate(lValue, year, month, day, comparison);&#010;     }&#010;@@ -1845,7 +1816,7 @@ public class Criteria&#010;      *&#010;      * @return A modified Criteria object.&#010;      */&#010;-    public Criteria whereIn(Object lValue, Object[] rValues)&#010;+    public Criteria whereIn(final Object lValue, final Object[] rValues)&#010;     {&#010;         return andIn(lValue, rValues);&#010;     }&#010;@@ -1866,7 +1837,7 @@ public class Criteria&#010;      *&#010;      * @return A modified Criteria object.&#010;      */&#010;-    public Criteria whereIn(Object lValue, Collection&lt;?&gt; rValues)&#010;+    public Criteria whereIn(final Object lValue, final Collection&lt;?&gt; rValues)&#010;     {&#010;         return andIn(lValue, rValues);&#010;     }&#010;@@ -1887,7 +1858,7 @@ public class Criteria&#010;      *&#010;      * @return A modified Criteria object.&#010;      */&#010;-    public Criteria whereNotIn(Object lValue, Object[] rValues)&#010;+    public Criteria whereNotIn(final Object lValue, final Object[] rValues)&#010;     {&#010;         return andNotIn(lValue, rValues);&#010;     }&#010;@@ -1907,7 +1878,7 @@ public class Criteria&#010;      * @param rValues The values to compare against.&#010;      * @return A modified Criteria object.&#010;      */&#010;-    public Criteria whereNotIn(Object lValue, Collection&lt;?&gt; rValues)&#010;+    public Criteria whereNotIn(final Object lValue, final Collection&lt;?&gt; rValues)&#010;     {&#010;         return andNotIn(lValue, rValues);&#010;     }&#010;@@ -1929,7 +1900,7 @@ public class Criteria&#010;      *&#010;      * @return the modified Criteria.&#010;      */&#010;-    public Criteria whereVerbatimSql(String sql, Object[] replacements)&#010;+    public Criteria whereVerbatimSql(final String sql, final Object[] replacements)&#010;     {&#010;         Criterion criterion&#010;                 = new Criterion(null, null, null, sql, replacements);&#010;@@ -1961,10 +1932,10 @@ public class Criteria&#010;      * @return the modified Criteria.&#010;      */&#010;     public Criteria whereVerbatimSql(&#010;-            String sql,&#010;-            Object[] replacements,&#010;-            Column toAddToFromClause1,&#010;-            Column toAddToFromClause2)&#010;+            final String sql,&#010;+            final Object[] replacements,&#010;+            final Column toAddToFromClause1,&#010;+            final Column toAddToFromClause2)&#010;     {&#010;         Criterion criterion = new Criterion(&#010;                 toAddToFromClause1,&#010;&#010;Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/criteria/Criterion.java&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/criteria/Criterion.java?rev=1484252&amp;r1=1484251&amp;r2=1484252&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/criteria/Criterion.java (original)&#010;+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/criteria/Criterion.java Sun May 19 09:58:00 2013&#010;@@ -24,7 +24,6 @@ import java.util.ArrayList;&#010; import java.util.Collections;&#010; import java.util.List;&#010; &#010;-import org.apache.commons.collections.ListUtils;&#010; import org.apache.commons.lang.builder.EqualsBuilder;&#010; import org.apache.commons.lang.builder.HashCodeBuilder;&#010; import org.apache.torque.Column;&#010;@@ -119,11 +118,11 @@ public class Criterion implements Serial&#010;      * @throws NullPointerException if column is null.&#010;      */&#010;     public Criterion(&#010;-            Object lValue,&#010;-            Object rValue,&#010;-            SqlEnum comparison,&#010;-            String sql,&#010;-            Object[] preparedStatementReplacements)&#010;+            final Object lValue,&#010;+            final Object rValue,&#010;+            final SqlEnum comparison,&#010;+            final String sql,&#010;+            final Object[] preparedStatementReplacements)&#010;     {&#010;         if (comparison != null&#010;                 &amp;&amp; (sql != null || preparedStatementReplacements != null))&#010;@@ -159,7 +158,7 @@ public class Criterion implements Serial&#010;      *        the object must implement the&#010;      *        &lt;code&gt;org.apache.torque.Column&lt;/code&gt; interface.&#010;      */&#010;-    public Criterion(Object lValue, Object rValue)&#010;+    public Criterion(final Object lValue, final Object rValue)&#010;     {&#010;         this(lValue, rValue, Criteria.EQUAL, null, null);&#010;     }&#010;@@ -177,7 +176,7 @@ public class Criterion implements Serial&#010;      *        &lt;code&gt;org.apache.torque.Column&lt;/code&gt; interface.&#010;      * @param comparison The comparison operator, not null.&#010;      */&#010;-    public Criterion(Object lValue, Object rValue, SqlEnum comparison)&#010;+    public Criterion(final Object lValue, final Object rValue, final SqlEnum comparison)&#010;     {&#010;         this(lValue, rValue, comparison, null, null);&#010;     }&#010;@@ -187,7 +186,7 @@ public class Criterion implements Serial&#010;      *&#010;      * @param toCopy the Criterion to copy from, not null.&#010;      */&#010;-    public Criterion(Criterion toCopy)&#010;+    public Criterion(final Criterion toCopy)&#010;     {&#010;         this.lValue = toCopy.lValue;&#010;         this.comparison = toCopy.comparison;&#010;@@ -228,7 +227,7 @@ public class Criterion implements Serial&#010;      *        the object must implement the&#010;      *        &lt;code&gt;org.apache.torque.Column&lt;/code&gt; interface.&#010;      */&#010;-    public void setLValue(Object lValue)&#010;+    public void setLValue(final Object lValue)&#010;     {&#010;         this.lValue = lValue;&#010;     }&#010;@@ -265,7 +264,7 @@ public class Criterion implements Serial&#010;      *         the object must implement the&#010;      *         &lt;code&gt;org.apache.torque.Column&lt;/code&gt; interface.&#010;      */&#010;-    public void setRValue(Object rValue)&#010;+    public void setRValue(final Object rValue)&#010;     {&#010;         this.rValue = rValue;&#010;     }&#010;@@ -308,7 +307,7 @@ public class Criterion implements Serial&#010;      * @param b True if case should be ignored.&#010;      * @return A modified Criterion object.&#010;      */&#010;-    public Criterion setIgnoreCase(boolean b)&#010;+    public Criterion setIgnoreCase(final boolean b)&#010;     {&#010;         ignoreCase = b;&#010;         return this;&#010;@@ -368,7 +367,7 @@ public class Criterion implements Serial&#010;      * @param criterion the criterion to and with this criterion,&#010;      *        not null.&#010;      */&#010;-    public Criterion and(Criterion criterion)&#010;+    public Criterion and(final Criterion criterion)&#010;     {&#010;         addCompositeCriterion(criterion, AND);&#010;         return this;&#010;@@ -381,7 +380,7 @@ public class Criterion implements Serial&#010;      * @param criterion the criterion to and with this criterion,&#010;      *        not null.&#010;      */&#010;-    public Criterion or(Criterion criterion)&#010;+    public Criterion or(final Criterion criterion)&#010;     {&#010;         addCompositeCriterion(criterion, OR);&#010;         return this;&#010;@@ -397,8 +396,8 @@ public class Criterion implements Serial&#010;      * @throws NullPointerException if criterion is null.&#010;      */&#010;     private void addCompositeCriterion(&#010;-            Criterion criterion,&#010;-            String conjunction)&#010;+            final Criterion criterion,&#010;+            final String conjunction)&#010;     {&#010;         if (criterion == null)&#010;         {&#010;@@ -428,8 +427,7 @@ public class Criterion implements Serial&#010;      * Appends a debug String representation of the Criterion&#010;      * onto the String builder.&#010;      */&#010;-    @SuppressWarnings("deprecation")&#010;-    public void appendTo(StringBuilder sb)&#010;+    public void appendTo(final StringBuilder sb)&#010;     {&#010;         if (isComposite())&#010;         {&#010;@@ -454,14 +452,7 @@ public class Criterion implements Serial&#010;         }&#010;         else&#010;         {&#010;-            if (SqlEnum.CUSTOM == comparison)&#010;-            {&#010;-                if (rValue != null &amp;&amp; !"".equals(rValue))&#010;-                {&#010;-                    sb.append((String) rValue);&#010;-                }&#010;-            }&#010;-            else if (isVerbatimSqlCondition())&#010;+            if (isVerbatimSqlCondition())&#010;             {&#010;                 sb.append(sql);&#010;             }&#010;@@ -518,7 +509,7 @@ public class Criterion implements Serial&#010;      * the same attributes.&#010;      */&#010;     @Override&#010;-    public boolean equals(Object obj)&#010;+    public boolean equals(final Object obj)&#010;     {&#010;         if (this == obj)&#010;         {&#010;&#010;Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/criteria/Join.java&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/criteria/Join.java?rev=1484252&amp;r1=1484251&amp;r2=1484252&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/criteria/Join.java (original)&#010;+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/criteria/Join.java Sun May 19 09:58:00 2013&#010;@@ -72,7 +72,6 @@ public class Join implements Serializabl&#010;      *         are null.&#010;      * @throws IllegalArgumentException if comparison id SqlEnum.CUSTOM&#010;      */&#010;-    @SuppressWarnings("deprecation")&#010;     public Join(&#010;             final Column leftColumn,&#010;             final Column rightColumn,&#010;@@ -91,11 +90,6 @@ public class Join implements Serializabl&#010;         {&#010;             throw new NullPointerException("comparison is null");&#010;         }&#010;-        if (comparison == SqlEnum.CUSTOM)&#010;-        {&#010;-            throw new IllegalArgumentException(&#010;-                    "The comparison SqlEnum.CUSTOM is not supported for Joins.");&#010;-        }&#010;         this.joinCondition = new Criterion(leftColumn, rightColumn, comparison);&#010;         this.joinType = joinType;&#010;     }&#010;@@ -180,7 +174,7 @@ public class Join implements Serializabl&#010;      * same attributes.&#010;      */&#010;     @Override&#010;-    public boolean equals(Object obj)&#010;+    public boolean equals(final Object obj)&#010;     {&#010;         if (this == obj)&#010;         {&#010;&#010;Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/criteria/SqlEnum.java&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/criteria/SqlEnum.java?rev=1484252&amp;r1=1484251&amp;r2=1484252&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/criteria/SqlEnum.java (original)&#010;+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/criteria/SqlEnum.java Sun May 19 09:58:00 2013&#010;@@ -46,7 +46,7 @@ public final class SqlEnum implements ja&#010;      */&#010;     private final int numberOfCompareOperands;&#010; &#010;-    private SqlEnum(String s, int numberOfCompareOperands)&#010;+    private SqlEnum(final String s, final int numberOfCompareOperands)&#010;     {&#010;         this.s = s;&#010;         this.numberOfCompareOperands = numberOfCompareOperands;&#010;@@ -109,19 +109,6 @@ public final class SqlEnum implements ja&#010;     /** SQL Expression " NOT IN ". */&#010;     public static final SqlEnum NOT_IN =&#010;         new SqlEnum(" NOT IN ", 2);&#010;-    /**&#010;-     * Constant for "CUSTOM".&#010;-     *&#010;-     * @deprecated use the methods Criteria.whereVerbatimSql,&#010;-     *             Criteria.andVerbatimSql, Criteria.orVerbatimSql&#010;-     *             or the Constructor&#010;-     *             Criterion(null, null, null, String, Object[])&#010;-     *             instead of using SqlEnum.CUSTOM.&#010;-     *             This constant will be removed in Torque 4.1.&#010;-     */&#010;-    @Deprecated&#010;-    public static final SqlEnum CUSTOM =&#010;-        new SqlEnum("CUSTOM", -1);&#010;     /** SQL Expression "JOIN". */&#010;     public static final SqlEnum JOIN =&#010;         new SqlEnum("JOIN", -1);&#010;@@ -168,7 +155,7 @@ public final class SqlEnum implements ja&#010;      * @param o the object to compare the SqlEnum with.&#010;      */&#010;     @Override&#010;-    public boolean equals(Object o)&#010;+    public boolean equals(final Object o)&#010;     {&#010;         if (o == null)&#010;         {&#010;&#010;Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/map/ColumnMap.java&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/map/ColumnMap.java?rev=1484252&amp;r1=1484251&amp;r2=1484252&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/map/ColumnMap.java (original)&#010;+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/map/ColumnMap.java Sun May 19 09:58:00 2013&#010;@@ -127,7 +127,7 @@ public class ColumnMap implements Column&#010;      * @param name The name of the column.&#010;      * @param containingTable TableMap of the table this column is in.&#010;      */&#010;-    public ColumnMap(String name, TableMap containingTable)&#010;+    public ColumnMap(final String name, final TableMap containingTable)&#010;     {&#010;         table = containingTable;&#010;         this.columnName = normalizeName(name);&#010;@@ -140,7 +140,7 @@ public class ColumnMap implements Column&#010;      * @param name The name to check&#010;      * @return The corrected name if needed or the same name if not.&#010;      */&#010;-    protected String normalizeName(String name)&#010;+    protected String normalizeName(final String name)&#010;     {&#010;         if (name.indexOf('.') &gt; 0)&#010;         {&#010;@@ -160,19 +160,6 @@ public class ColumnMap implements Column&#010;     }&#010; &#010;     /**&#010;-     * Get the table name + column name.&#010;-     *&#010;-     * @return A String with the full column name.&#010;-     *&#010;-     * @deprecated use getSqlExpression() instead.&#010;-     */&#010;-    @Deprecated&#010;-    public String getFullyQualifiedName()&#010;-    {&#010;-        return table.getName() + "." + columnName;&#010;-    }&#010;-&#010;-    /**&#010;      * Get the name of the table this column is in.&#010;      *&#010;      * @return A String with the table name.&#010;@@ -212,7 +199,7 @@ public class ColumnMap implements Column&#010;      *&#010;      * @param type An Object specifying the type.&#010;      */&#010;-    public void setType(Object type)&#010;+    public void setType(final Object type)&#010;     {&#010;         this.type = type;&#010;     }&#010;@@ -222,7 +209,7 @@ public class ColumnMap implements Column&#010;      *&#010;      * @param torqueType the Torque type of the column.&#010;      */&#010;-    public void setTorqueType(String torqueType)&#010;+    public void setTorqueType(final String torqueType)&#010;     {&#010;         this.torqueType = torqueType;&#010;     }&#010;@@ -232,7 +219,7 @@ public class ColumnMap implements Column&#010;      *&#010;      * @param size An int specifying the size.&#010;      */&#010;-    public void setSize(int size)&#010;+    public void setSize(final int size)&#010;     {&#010;         this.size = size;&#010;     }&#010;@@ -242,7 +229,7 @@ public class ColumnMap implements Column&#010;      *&#010;      * @param pk True if column is a primary key.&#010;      */&#010;-    public void setPrimaryKey(boolean pk)&#010;+    public void setPrimaryKey(final boolean pk)&#010;     {&#010;         this.pk = pk;&#010;     }&#010;@@ -252,7 +239,7 @@ public class ColumnMap implements Column&#010;      *&#010;      * @param nn True if column may be null.&#010;      */&#010;-    public void setNotNull(boolean nn)&#010;+    public void setNotNull(final boolean nn)&#010;     {&#010;         this.notNull = nn;&#010;     }&#010;@@ -333,7 +320,7 @@ public class ColumnMap implements Column&#010;     /**&#010;      * @param scale The scale to set.&#010;      */&#010;-    public void setScale(int scale)&#010;+    public void setScale(final int scale)&#010;     {&#010;         this.scale = scale;&#010;     }&#010;@@ -354,7 +341,7 @@ public class ColumnMap implements Column&#010;      *&#010;      * @param name the Java Name.&#010;      */&#010;-    public void setJavaName(String name)&#010;+    public void setJavaName(final String name)&#010;     {&#010;         this.javaName = name;&#010;     }&#010;@@ -374,7 +361,7 @@ public class ColumnMap implements Column&#010;      *&#010;      * @param autoIncrement whether this colimn is an autoincrement column.&#010;      */&#010;-    public void setAutoIncrement(boolean autoIncrement)&#010;+    public void setAutoIncrement(final boolean autoIncrement)&#010;     {&#010;         this.autoIncrement = autoIncrement;&#010;     }&#010;@@ -394,7 +381,7 @@ public class ColumnMap implements Column&#010;      *&#010;      * @param defaultValue The defaultValue to set.&#010;      */&#010;-    public void setDefault(String defaultValue)&#010;+    public void setDefault(final String defaultValue)&#010;     {&#010;         this.defaultValue = defaultValue;&#010;     }&#010;@@ -414,7 +401,7 @@ public class ColumnMap implements Column&#010;      *&#010;      * @param description The description to set.&#010;      */&#010;-    public void setDescription(String description)&#010;+    public void setDescription(final String description)&#010;     {&#010;         this.description = description;&#010;     }&#010;@@ -445,7 +432,7 @@ public class ColumnMap implements Column&#010;      *&#010;      * @param map The inheritanceMap to associate with this column.&#010;      */&#010;-    public void addInheritanceMap(InheritanceMap map)&#010;+    public void addInheritanceMap(final InheritanceMap map)&#010;     {&#010;         setUseInheritance(true);&#010;         this.inheritanceMaps.put(map.getKey(), map);&#010;@@ -466,7 +453,7 @@ public class ColumnMap implements Column&#010;      *&#010;      * @param inheritanceType The inheritance type to set.&#010;      */&#010;-    public void setInheritance(String inheritanceType)&#010;+    public void setInheritance(final String inheritanceType)&#010;     {&#010;         this.inheritance = inheritanceType;&#010;     }&#010;@@ -489,7 +476,7 @@ public class ColumnMap implements Column&#010;      * @param isProtected whether getters and setters for this column&#010;      *        are protected.&#010;      */&#010;-    public void setProtected(boolean isProtected)&#010;+    public void setProtected(final boolean isProtected)&#010;     {&#010;         this.isProtected = isProtected;&#010;     }&#010;@@ -509,7 +496,7 @@ public class ColumnMap implements Column&#010;      *&#010;      * @param pk whether this column is a primary key.&#010;      */&#010;-    public void setPk(boolean pk)&#010;+    public void setPk(final boolean pk)&#010;     {&#010;         this.pk = pk;&#010;     }&#010;@@ -529,7 +516,7 @@ public class ColumnMap implements Column&#010;      *&#010;      * @param useInheritance whether this column uses Inheritance subclasses.&#010;      */&#010;-    public void setUseInheritance(boolean useInheritance)&#010;+    public void setUseInheritance(final boolean useInheritance)&#010;     {&#010;         this.useInheritance = useInheritance;&#010;     }&#010;@@ -541,7 +528,7 @@ public class ColumnMap implements Column&#010;      * @return the inheritance map with the specified key, or null if no&#010;      *         inheritance map with the specified key exists in this column.&#010;      */&#010;-    public InheritanceMap getInheritanceMap(String key)&#010;+    public InheritanceMap getInheritanceMap(final String key)&#010;     {&#010;         return inheritanceMaps.get(key);&#010;     }&#010;@@ -563,7 +550,7 @@ public class ColumnMap implements Column&#010;      * @param usePrimitive whether primitive objects are used&#010;      *        rather than objects.&#010;      */&#010;-    public void setUsePrimitive(boolean usePrimitive)&#010;+    public void setUsePrimitive(final boolean usePrimitive)&#010;     {&#010;         this.usePrimitive = usePrimitive;&#010;     }&#010;@@ -583,7 +570,7 @@ public class ColumnMap implements Column&#010;      *&#010;      * @param javaNamingMethod The javaNamingMethod to set.&#010;      */&#010;-    public void setJavaNamingMethod(String javaNamingMethod)&#010;+    public void setJavaNamingMethod(final String javaNamingMethod)&#010;     {&#010;         this.javaNamingMethod = javaNamingMethod;&#010;     }&#010;@@ -614,7 +601,7 @@ public class ColumnMap implements Column&#010;      *&#010;      * @param position The position to set.&#010;      */&#010;-    public void setPosition(int position)&#010;+    public void setPosition(final int position)&#010;     {&#010;         this.position = position;&#010;     }&#010;@@ -634,7 +621,7 @@ public class ColumnMap implements Column&#010;      *&#010;      * @param javaType The javaType to set.&#010;      */&#010;-    public void setJavaType(String javaType)&#010;+    public void setJavaType(final String javaType)&#010;     {&#010;         this.javaType = javaType;&#010;     }&#010;@@ -655,7 +642,7 @@ public class ColumnMap implements Column&#010;      * @param key the key of the option&#010;      * @param value the value of the option.&#010;      */&#010;-    public void setOption(String key, String value)&#010;+    public void setOption(final String key, final String value)&#010;     {&#010;         optionsMap.put(key, value);&#010;     }&#010;@@ -667,7 +654,7 @@ public class ColumnMap implements Column&#010;      *&#010;      * @return the value of the option, or null if not set.&#010;      */&#010;-    public String getOption(String key)&#010;+    public String getOption(final String key)&#010;     {&#010;         return optionsMap.get(key);&#010;     }&#010;&#010;Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/map/MapHelper.java&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/map/MapHelper.java?rev=1484252&amp;r1=1484251&amp;r2=1484252&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/map/MapHelper.java (original)&#010;+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/map/MapHelper.java Sun May 19 09:58:00 2013&#010;@@ -24,14 +24,13 @@ import java.util.Map;&#010; import org.apache.torque.Column;&#010; import org.apache.torque.Torque;&#010; import org.apache.torque.TorqueException;&#010;-import org.apache.torque.criteria.CriteriaInterface;&#010;+import org.apache.torque.criteria.Criteria;&#010; &#010; /**&#010;  * Utility methods for Database, Table and Column Maps.&#010;  *&#010;  * @version $Id$&#010;  */&#010;-@SuppressWarnings("deprecation")&#010; public final class MapHelper&#010; {&#010;     /** Private constructor. */&#010;@@ -57,9 +56,9 @@ public final class MapHelper&#010;      * @throws TorqueException possibly if Torque is not initialized.&#010;      */&#010;     public static TableMap getTableMap(&#010;-                Object possibleColumn,&#010;-                CriteriaInterface&lt;?&gt; criteria,&#010;-                TableMap defaultTableMap)&#010;+                final Object possibleColumn,&#010;+                final Criteria criteria,&#010;+                final TableMap defaultTableMap)&#010;             throws TorqueException&#010;     {&#010;         if (!(possibleColumn instanceof Column))&#010;@@ -123,7 +122,7 @@ public final class MapHelper&#010;      */&#010;     public static ColumnMap getColumnMap(&#010;                 Column column,&#010;-                CriteriaInterface&lt;?&gt; criteria)&#010;+                final Criteria criteria)&#010;             throws TorqueException&#010;     {&#010;         String tableName = column.getTableName();&#010;&#010;Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/BigDecimalMapper.java&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/BigDecimalMapper.java?rev=1484252&amp;r1=1484251&amp;r2=1484252&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/BigDecimalMapper.java (original)&#010;+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/BigDecimalMapper.java Sun May 19 09:58:00 2013&#010;@@ -24,7 +24,7 @@ import java.sql.ResultSet;&#010; import java.sql.SQLException;&#010; &#010; import org.apache.torque.TorqueException;&#010;-import org.apache.torque.criteria.CriteriaInterface;&#010;+import org.apache.torque.criteria.Criteria;&#010; &#010; /**&#010;  * Maps a database record to a BigDecimal.&#010;@@ -52,7 +52,7 @@ public class BigDecimalMapper implements&#010;      *&#010;      * @param offset the additional offset (0 based).&#010;      */&#010;-    public BigDecimalMapper(int offset)&#010;+    public BigDecimalMapper(final int offset)&#010;     {&#010;         this.internalOffset = offset;&#010;     }&#010;@@ -69,9 +69,9 @@ public class BigDecimalMapper implements&#010;      * @return the BigDecimal retrieved from the result set.&#010;      */&#010;     public BigDecimal processRow(&#010;-                ResultSet resultSet,&#010;-                int rowOffset,&#010;-                CriteriaInterface&lt;?&gt; criteria)&#010;+                final ResultSet resultSet,&#010;+                final int rowOffset,&#010;+                final Criteria criteria)&#010;             throws TorqueException&#010;     {&#010;         try&#010;&#010;Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/CompositeMapper.java&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/CompositeMapper.java?rev=1484252&amp;r1=1484251&amp;r2=1484252&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/CompositeMapper.java (original)&#010;+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/CompositeMapper.java Sun May 19 09:58:00 2013&#010;@@ -25,7 +25,7 @@ import java.util.ArrayList;&#010; import java.util.List;&#010; &#010; import org.apache.torque.TorqueException;&#010;-import org.apache.torque.criteria.CriteriaInterface;&#010;+import org.apache.torque.criteria.Criteria;&#010; &#010; /**&#010;  * Uses a list of mappers to map a database record to a list of objects.&#010;@@ -50,7 +50,7 @@ public class CompositeMapper implements &#010;      * @param mapper the mapper.&#010;      * @param offset the offset of the mapper within this mapper, 0 based.&#010;      */&#010;-    public void addMapper(RecordMapper&lt;?&gt; mapper, int offset)&#010;+    public void addMapper(final RecordMapper&lt;?&gt; mapper, final int offset)&#010;     {&#010;         mapperList.add(new MapperWithOffset(mapper, offset));&#010;     }&#010;@@ -69,9 +69,9 @@ public class CompositeMapper implements &#010;      *         were ordered, not null.&#010;      */&#010;     public List&lt;Object&gt; processRow(&#010;-            ResultSet resultSet,&#010;-            int offset,&#010;-            CriteriaInterface&lt;?&gt; criteria)&#010;+            final ResultSet resultSet,&#010;+            final int offset,&#010;+            final Criteria criteria)&#010;         throws TorqueException&#010;     {&#010;         List&lt;Object&gt; result = new ArrayList&lt;Object&gt;(mapperList.size());&#010;@@ -102,7 +102,7 @@ public class CompositeMapper implements &#010;          * @param mapper the mapper, not null.&#010;          * @param offset the internal offset of the mapper.&#010;          */&#010;-        public MapperWithOffset(RecordMapper&lt;?&gt; mapper, int offset)&#010;+        public MapperWithOffset(final RecordMapper&lt;?&gt; mapper, final int offset)&#010;         {&#010;             this.mapper = mapper;&#010;             this.offset = offset;&#010;&#010;Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/DateMapper.java&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/DateMapper.java?rev=1484252&amp;r1=1484251&amp;r2=1484252&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/DateMapper.java (original)&#010;+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/DateMapper.java Sun May 19 09:58:00 2013&#010;@@ -24,7 +24,7 @@ import java.sql.SQLException;&#010; import java.util.Date;&#010; &#010; import org.apache.torque.TorqueException;&#010;-import org.apache.torque.criteria.CriteriaInterface;&#010;+import org.apache.torque.criteria.Criteria;&#010; &#010; /**&#010;  * Maps a database record to a java.util.Date.&#010;@@ -53,7 +53,7 @@ public class DateMapper implements Recor&#010;      * @param offset&#010;      *            the additional offset (0 based).&#010;      */&#010;-    public DateMapper(int offset)&#010;+    public DateMapper(final int offset)&#010;     {&#010;         this.internalOffset = offset;&#010;     }&#010;@@ -71,9 +71,9 @@ public class DateMapper implements Recor&#010;      * @return the date retrieved from the result set.&#010;      */&#010;     public Date processRow(&#010;-                ResultSet resultSet,&#010;-                int rowOffset,&#010;-                CriteriaInterface&lt;?&gt; criteria)&#010;+                final ResultSet resultSet,&#010;+                final int rowOffset,&#010;+                final Criteria criteria)&#010;             throws TorqueException&#010;     {&#010;         try&#010;&#010;Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/IntegerMapper.java&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/IntegerMapper.java?rev=1484252&amp;r1=1484251&amp;r2=1484252&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/IntegerMapper.java (original)&#010;+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/IntegerMapper.java Sun May 19 09:58:00 2013&#010;@@ -23,7 +23,7 @@ import java.sql.ResultSet;&#010; import java.sql.SQLException;&#010; &#010; import org.apache.torque.TorqueException;&#010;-import org.apache.torque.criteria.CriteriaInterface;&#010;+import org.apache.torque.criteria.Criteria;&#010; &#010; /**&#010;  * Maps a database record to a Integer.&#010;@@ -51,7 +51,7 @@ public class IntegerMapper implements Re&#010;      *&#010;      * @param offset the additional offset (0 based).&#010;      */&#010;-    public IntegerMapper(int offset)&#010;+    public IntegerMapper(final int offset)&#010;     {&#010;         this.internalOffset = offset;&#010;     }&#010;@@ -68,9 +68,9 @@ public class IntegerMapper implements Re&#010;      * @return the Integer retrieved from the result set.&#010;      */&#010;     public Integer processRow(&#010;-                ResultSet resultSet,&#010;-                int rowOffset,&#010;-                CriteriaInterface&lt;?&gt; criteria)&#010;+                final ResultSet resultSet,&#010;+                final int rowOffset,&#010;+                final Criteria criteria)&#010;             throws TorqueException&#010;     {&#010;         try&#010;&#010;Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/LongMapper.java&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/LongMapper.java?rev=1484252&amp;r1=1484251&amp;r2=1484252&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/LongMapper.java (original)&#010;+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/LongMapper.java Sun May 19 09:58:00 2013&#010;@@ -23,7 +23,7 @@ import java.sql.ResultSet;&#010; import java.sql.SQLException;&#010; &#010; import org.apache.torque.TorqueException;&#010;-import org.apache.torque.criteria.CriteriaInterface;&#010;+import org.apache.torque.criteria.Criteria;&#010; &#010; /**&#010;  * Maps a database record to a Long.&#010;@@ -51,7 +51,7 @@ public class LongMapper implements Recor&#010;      *&#010;      * @param offset the additional offset (0 based).&#010;      */&#010;-    public LongMapper(int offset)&#010;+    public LongMapper(final int offset)&#010;     {&#010;         this.internalOffset = offset;&#010;     }&#010;@@ -68,9 +68,9 @@ public class LongMapper implements Recor&#010;      * @return the Long retrieved from the result set.&#010;      */&#010;     public Long processRow(&#010;-                ResultSet resultSet,&#010;-                int rowOffset,&#010;-                CriteriaInterface&lt;?&gt; criteria)&#010;+                final ResultSet resultSet,&#010;+                final int rowOffset,&#010;+                final Criteria criteria)&#010;             throws TorqueException&#010;     {&#010;         try&#010;&#010;Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/ObjectListMapper.java&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/ObjectListMapper.java?rev=1484252&amp;r1=1484251&amp;r2=1484252&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/ObjectListMapper.java (original)&#010;+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/ObjectListMapper.java Sun May 19 09:58:00 2013&#010;@@ -36,7 +36,7 @@ import java.util.ArrayList;&#010; import java.util.List;&#010; &#010; import org.apache.torque.TorqueException;&#010;-import org.apache.torque.criteria.CriteriaInterface;&#010;+import org.apache.torque.criteria.Criteria;&#010; &#010; /**&#010;  * Maps a record to a list of objects.&#010;@@ -83,7 +83,7 @@ public class ObjectListMapper implements&#010;      *        result set's metadata (this may issue&#010;      *        additional database queries).&#010;      */&#010;-    public ObjectListMapper(int numberOfColumnsToMap)&#010;+    public ObjectListMapper(final int numberOfColumnsToMap)&#010;     {&#010;         this.convertClasses = new ArrayList&lt;Class&lt;?&gt;&gt;(numberOfColumnsToMap);&#010;         if (numberOfColumnsToMap != -1)&#010;@@ -110,7 +110,7 @@ public class ObjectListMapper implements&#010;      *        which class is returned), java.sql.Ref, Short, String,&#010;      *        java.sql.Time, java.sql.Timestamp and java.net.URL.&#010;      */&#010;-    public ObjectListMapper(List&lt;Class&lt;?&gt;&gt; convertClasses)&#010;+    public ObjectListMapper(final List&lt;Class&lt;?&gt;&gt; convertClasses)&#010;     {&#010;         if (convertClasses != null)&#010;         {&#010;@@ -136,9 +136,9 @@ public class ObjectListMapper implements&#010;      *         from the result set.&#010;      */&#010;     public List&lt;Object&gt; processRow(&#010;-                ResultSet resultSet,&#010;-                int offset,&#010;-                CriteriaInterface&lt;?&gt; criteria)&#010;+                final ResultSet resultSet,&#010;+                final int offset,&#010;+                final Criteria criteria)&#010;             throws TorqueException&#010;     {&#010;         try&#010;&#010;Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/RecordMapper.java&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/RecordMapper.java?rev=1484252&amp;r1=1484251&amp;r2=1484252&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/RecordMapper.java (original)&#010;+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/RecordMapper.java Sun May 19 09:58:00 2013&#010;@@ -23,7 +23,7 @@ import java.io.Serializable;&#010; import java.sql.ResultSet;&#010; &#010; import org.apache.torque.TorqueException;&#010;-import org.apache.torque.criteria.CriteriaInterface;&#010;+import org.apache.torque.criteria.Criteria;&#010; &#010; /**&#010;  * Maps an object to a database record and back.&#010;@@ -59,6 +59,6 @@ public interface RecordMapper&lt;T&gt; extends&#010;     T processRow(&#010;                 ResultSet resultSet,&#010;                 int rowOffset,&#010;-                CriteriaInterface&lt;?&gt; criteria)&#010;+                Criteria criteria)&#010;             throws TorqueException;&#010; }&#010;&#010;Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/StringMapper.java&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/StringMapper.java?rev=1484252&amp;r1=1484251&amp;r2=1484252&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/StringMapper.java (original)&#010;+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/StringMapper.java Sun May 19 09:58:00 2013&#010;@@ -23,7 +23,7 @@ import java.sql.ResultSet;&#010; import java.sql.SQLException;&#010; &#010; import org.apache.torque.TorqueException;&#010;-import org.apache.torque.criteria.CriteriaInterface;&#010;+import org.apache.torque.criteria.Criteria;&#010; &#010; /**&#010;  * Maps a database record to a String.&#010;@@ -51,7 +51,7 @@ public class StringMapper implements Rec&#010;      *&#010;      * @param offset the additional offset (0 based).&#010;      */&#010;-    public StringMapper(int offset)&#010;+    public StringMapper(final int offset)&#010;     {&#010;         this.internalOffset = offset;&#010;     }&#010;@@ -68,9 +68,9 @@ public class StringMapper implements Rec&#010;      * @return the String retrieved from the result set.&#010;      */&#010;     public String processRow(&#010;-                ResultSet resultSet,&#010;-                int rowOffset,&#010;-                CriteriaInterface&lt;?&gt; criteria)&#010;+                final ResultSet resultSet,&#010;+                final int rowOffset,&#010;+                final Criteria criteria)&#010;             throws TorqueException&#010;     {&#010;         try&#010;&#010;Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/sql/JoinBuilder.java&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/sql/JoinBuilder.java?rev=1484252&amp;r1=1484251&amp;r2=1484252&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/sql/JoinBuilder.java (original)&#010;+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/sql/JoinBuilder.java Sun May 19 09:58:00 2013&#010;@@ -22,7 +22,7 @@ package org.apache.torque.sql;&#010; import java.util.List;&#010; &#010; import org.apache.torque.TorqueException;&#010;-import org.apache.torque.criteria.CriteriaInterface;&#010;+import org.apache.torque.criteria.Criteria;&#010; import org.apache.torque.criteria.Criterion;&#010; import org.apache.torque.criteria.FromElement;&#010; import org.apache.torque.criteria.Join;&#010;@@ -37,7 +37,6 @@ import org.apache.torque.util.UniqueList&#010;  * @author &lt;a href="mailto:hps@intermeta.de"&gt;Henning P. Schmiedehausen&lt;/a&gt;&#010;  * @version $Id$&#010;  */&#010;-@SuppressWarnings("deprecation")&#010; public final class JoinBuilder&#010; {&#010;     /**&#010;@@ -60,7 +59,7 @@ public final class JoinBuilder&#010;      * @throws TorqueException if the Joins can not be processed&#010;      */&#010;     public static void processJoins(&#010;-                final CriteriaInterface&lt;?&gt; criteria,&#010;+                final Criteria criteria,&#010;                 final Query query)&#010;             throws TorqueException&#010;     {&#010;@@ -237,8 +236,8 @@ public final class JoinBuilder&#010;      * @throws TorqueException if the join condition cannot be built.&#010;      */&#010;     private static PreparedStatementPart buildJoinCondition(&#010;-                Criterion joinCondition,&#010;-                CriteriaInterface&lt;?&gt; criteria)&#010;+                final Criterion joinCondition,&#010;+                final Criteria criteria)&#010;             throws TorqueException&#010;     {&#010;         PreparedStatementPart joinPart = new PreparedStatementPart();&#010;@@ -258,9 +257,9 @@ public final class JoinBuilder&#010;      * @throws TorqueException if the join condition cannot be built.&#010;      */&#010;     private static void appendJoinCondition(&#010;-                Criterion joinCondition,&#010;-                CriteriaInterface&lt;?&gt; criteria,&#010;-                PreparedStatementPart joinPart)&#010;+                final Criterion joinCondition,&#010;+                final Criteria criteria,&#010;+                final PreparedStatementPart joinPart)&#010;             throws TorqueException&#010;     {&#010;         if (joinCondition.isComposite())&#010;&#010;&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org&#010;For additional commands, e-mail: torque-dev-help@db.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r1484252 [3/3] - in /db/torque/torque4/trunk/torque-runtime/src: main/java/org/apache/torque/ main/java/org/apache/torque/avalon/ main/java/org/apache/torque/criteria/ main/java/org/apache/torque/map/ main/java/org/apache/torque/om/mapper/ ...</title>
<author><name>tfischer@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/201305.mbox/%3c20130519095802.9C0B523889F7@eris.apache.org%3e"/>
<id>urn:uuid:%3c20130519095802-9C0B523889F7@eris-apache-org%3e</id>
<updated>2013-05-19T09:58:01Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/CountHelper.java&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/CountHelper.java?rev=1484252&amp;r1=1484251&amp;r2=1484252&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/CountHelper.java&#010;(original)&#010;+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/CountHelper.java&#010;Sun May 19 09:58:00 2013&#010;@@ -35,6 +35,7 @@ import org.apache.torque.Column;&#010; import org.apache.torque.ColumnImpl;&#010; import org.apache.torque.Torque;&#010; import org.apache.torque.TorqueException;&#010;+import org.apache.torque.criteria.Criteria;&#010; import org.apache.torque.criteria.SqlEnum;&#010; import org.apache.torque.map.TableMap;&#010; import org.apache.torque.om.mapper.IntegerMapper;&#010;@@ -56,30 +57,8 @@ public class CountHelper&#010;      * @param c Criteria to get the count for.&#010;      * @return number of rows matching the query provided&#010;      * @throws TorqueException if the query could not be executed&#010;-     *&#010;-     * @deprecated use org.apache.torque.criteria.Criteria instead of&#010;-     *             org.apache.torque.util.Criteria. This method will be removed&#010;-     *             in Torque 4.1.&#010;-     */&#010;-    @Deprecated&#010;-    public int count(Criteria c) throws TorqueException&#010;-    {&#010;-        return count(c, null, "*", null);&#010;-    }&#010;-&#010;-    /**&#010;-     * The COUNT function returns the number of rows in a query.&#010;-     * Does not use a connection, hardcode the column to "*" and&#010;-     * set the distinct qualifier to false.&#010;-     * Only use this function if you have added additional constraints to&#010;-     * the criteria, otherwise Torque does not know which table it should&#010;-     * count the datasets in.&#010;-     *&#010;-     * @param c Criteria to get the count for.&#010;-     * @return number of rows matching the query provided&#010;-     * @throws TorqueException if the query could not be executed&#010;      */&#010;-    public int count(org.apache.torque.criteria.Criteria c)&#010;+    public int count(final Criteria c)&#010;             throws TorqueException&#010;     {&#010;         return count(c, null, "*", null);&#010;@@ -96,30 +75,8 @@ public class CountHelper&#010;      * @param conn Connection to use&#010;      * @return number of rows matching the query provided&#010;      * @throws TorqueException if the query could not be executed&#010;-     *&#010;-     * @deprecated use org.apache.toraue.criteria.Criteria instead of&#010;-     *             org.apache.toraue.util.Criteria. This method will be removed&#010;-     *             in Torque 4.1.&#010;-     */&#010;-    @Deprecated&#010;-    public int count(Criteria c, Connection conn) throws TorqueException&#010;-    {&#010;-        return count(c, conn, "*", null);&#010;-    }&#010;-&#010;-    /**&#010;-     * The COUNT function returns the number of rows in a query.&#010;-     * Hard code the distinct parameter to false and set the column to "*".&#010;-     * Only use this function if you have added additional constraints to&#010;-     * the criteria, otherwise Torque does not know which table it should&#010;-     * count the datasets in.&#010;-     *&#010;-     * @param c Criteria to get the count for.&#010;-     * @param conn Connection to use&#010;-     * @return number of rows matching the query provided&#010;-     * @throws TorqueException if the query could not be executed&#010;      */&#010;-    public int count(org.apache.torque.criteria.Criteria c, Connection conn)&#010;+    public int count(final Criteria c, final Connection conn)&#010;             throws TorqueException&#010;     {&#010;         return count(c, conn, "*", null);&#010;@@ -133,28 +90,8 @@ public class CountHelper&#010;      *        use the primary key here.&#010;      * @return number of rows matching the query provided&#010;      * @throws TorqueException if the query could not be executed&#010;-     *&#010;-     * @deprecated use org.apache.toraue.criteria.Criteria instead of&#010;-     *             org.apache.toraue.util.Criteria. This method will be removed&#010;-     *             in Torque 4.1.&#010;      */&#010;-    @Deprecated&#010;-    public int count(Criteria c, String columnName)&#010;-        throws TorqueException&#010;-    {&#010;-        return count(c, null, columnName, null);&#010;-    }&#010;-&#010;-    /**&#010;-     * Returns the number of rows in a query.&#010;-     *&#010;-     * @param c Criteria to get the count for.&#010;-     * @param columnName Name of database Column which is counted. Preferably,&#010;-     *        use the primary key here.&#010;-     * @return number of rows matching the query provided&#010;-     * @throws TorqueException if the query could not be executed&#010;-     */&#010;-    public int count(org.apache.torque.criteria.Criteria c, String columnName)&#010;+    public int count(final Criteria c, final String columnName)&#010;         throws TorqueException&#010;     {&#010;         return count(c, null, columnName, null);&#010;@@ -168,28 +105,8 @@ public class CountHelper&#010;      *        use the primary key here.&#010;      * @return number of rows matching the query provided&#010;      * @throws TorqueException if the query could not be executed&#010;-     *&#010;-     * @deprecated use org.apache.toraue.criteria.Criteria instead of&#010;-     *             org.apache.toraue.util.Criteria. This method will be removed&#010;-     *             in Torque 4.1.&#010;      */&#010;-    @Deprecated&#010;-    public int count(Criteria c, Column column)&#010;-        throws TorqueException&#010;-    {&#010;-        return count(c, null, column.getSqlExpression(), null);&#010;-    }&#010;-&#010;-    /**&#010;-     * Returns the number of rows in a query.&#010;-     *&#010;-     * @param c Criteria to get the count for.&#010;-     * @param column the database Column which is counted. Preferably,&#010;-     *        use the primary key here.&#010;-     * @return number of rows matching the query provided&#010;-     * @throws TorqueException if the query could not be executed&#010;-     */&#010;-    public int count(org.apache.torque.criteria.Criteria c, Column column)&#010;+    public int count(final Criteria c, final Column column)&#010;         throws TorqueException&#010;     {&#010;         return count(c, column.getSqlExpression());&#010;@@ -204,32 +121,11 @@ public class CountHelper&#010;      *        use the primary key here.&#010;      * @return number of rows matching the query provided&#010;      * @throws TorqueException if the query could not be executed&#010;-     *&#010;-     * @deprecated use org.apache.toraue.criteria.Criteria instead of&#010;-     *             org.apache.toraue.util.Criteria. This method will be removed&#010;-     *             in Torque 4.1.&#010;-     */&#010;-    @Deprecated&#010;-    public int count(Criteria c, Connection conn, Column column)&#010;-        throws TorqueException&#010;-    {&#010;-        return count(c, conn, column.getSqlExpression(), null);&#010;-    }&#010;-&#010;-    /**&#010;-     * Returns the number of rows in a query.&#010;-     *&#010;-     * @param c Criteria to get the count for.&#010;-     * @param conn Connection to use&#010;-     * @param column The database Column which is counted. Preferably,&#010;-     *        use the primary key here.&#010;-     * @return number of rows matching the query provided&#010;-     * @throws TorqueException if the query could not be executed&#010;      */&#010;     public int count(&#010;-            org.apache.torque.criteria.Criteria c,&#010;-            Connection conn,&#010;-            Column column)&#010;+            final Criteria c,&#010;+            final Connection conn,&#010;+            final Column column)&#010;         throws TorqueException&#010;     {&#010;         return count(c, conn, column.getSqlExpression(), null);&#010;@@ -244,11 +140,11 @@ public class CountHelper&#010;      *&#010;      * @throws TorqueException if the query could not be executed&#010;      */&#010;-    public int count(TableMap tableMap)&#010;+    public int count(final TableMap tableMap)&#010;         throws TorqueException&#010;     {&#010;         return count(&#010;-                new org.apache.torque.criteria.Criteria(),&#010;+                new Criteria(),&#010;                 null,&#010;                 "*",&#010;                 tableMap);&#010;@@ -264,11 +160,11 @@ public class CountHelper&#010;      *&#010;      * @throws TorqueException if the query could not be executed&#010;      */&#010;-    public int count(TableMap tableMap, Connection conn)&#010;+    public int count(final TableMap tableMap, final Connection conn)&#010;             throws TorqueException&#010;     {&#010;         return count(&#010;-                new org.apache.torque.criteria.Criteria(),&#010;+                new Criteria(),&#010;                 conn,&#010;                 "*",&#010;                 tableMap);&#010;@@ -287,72 +183,12 @@ public class CountHelper&#010;      * @return number of rows matching the query provided.&#010;      *&#010;      * @throws TorqueException if the query could not be executed.&#010;-     *&#010;-     * @deprecated use org.apache.toraue.criteria.Criteria instead of&#010;-     *             org.apache.toraue.util.Criteria. This method will be removed&#010;-     *             in Torque 4.1.&#010;-     */&#010;-    @Deprecated&#010;-    public int count(&#010;-                Criteria c,&#010;-                Connection conn,&#010;-                String columnName,&#010;-                TableMap tableMap)&#010;-            throws TorqueException&#010;-    {&#010;-        /* Clear the select columns. */&#010;-        c.getSelectColumns().clear();&#010;-        c.getOrderByColumns().clear();&#010;-        c.getGroupByColumns().clear();&#010;-&#010;-        UniqueList&lt;String&gt; criteriaSelectModifiers&#010;-            = c.getSelectModifiers();&#010;-&#010;-        boolean distinct = false;&#010;-        if (criteriaSelectModifiers != null&#010;-            &amp;&amp; criteriaSelectModifiers.size() &gt; 0&#010;-            &amp;&amp; criteriaSelectModifiers.contains(SqlEnum.DISTINCT.toString()))&#010;-        {&#010;-            criteriaSelectModifiers.remove(SqlEnum.DISTINCT.toString());&#010;-            distinct = true;&#010;-        }&#010;-&#010;-        c.addSelectColumn(new Count(new ColumnImpl(columnName), distinct));&#010;-&#010;-        String databaseName = (c.getDbName() == null)&#010;-                ? Torque.getDefaultDB()&#010;-                : c.getDbName();&#010;-&#010;-        BasePeerImpl&lt;Integer&gt; peer = new BasePeerImpl&lt;Integer&gt;(&#010;-                new IntegerMapper(),&#010;-                tableMap, databaseName);&#010;-&#010;-        List&lt;Integer&gt; result = (conn == null)&#010;-            ? peer.doSelect(c)&#010;-            : peer.doSelect(c, conn);&#010;-&#010;-        return result.get(0);&#010;-    }&#010;-&#010;-    /**&#010;-     * Returns the number of rows in a query.&#010;-     *&#010;-     * @param c Criteria to get the count for.&#010;-     * @param conn Connection to use&#010;-     * @param columnName Name of database Column which is counted. Preferably,&#010;-     *        use the primary key here.&#010;-     * @param tableMap the table to count the columns in, or null to determine&#010;-     *        the table automatically from the criteria.&#010;-     *&#010;-     * @return number of rows matching the query provided.&#010;-     *&#010;-     * @throws TorqueException if the query could not be executed.&#010;      */&#010;     public int count(&#010;-                org.apache.torque.criteria.Criteria c,&#010;-                Connection conn,&#010;-                String columnName,&#010;-                TableMap tableMap)&#010;+                final Criteria c,&#010;+                final Connection conn,&#010;+                final String columnName,&#010;+                final TableMap tableMap)&#010;             throws TorqueException&#010;     {&#010;         /* Clear the select columns. */&#010;&#010;Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/LargeSelect.java&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/LargeSelect.java?rev=1484252&amp;r1=1484251&amp;r2=1484252&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/LargeSelect.java&#010;(original)&#010;+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/LargeSelect.java&#010;Sun May 19 09:58:00 2013&#010;@@ -34,7 +34,7 @@ import org.apache.commons.logging.Log;&#010; import org.apache.commons.logging.LogFactory;&#010; import org.apache.torque.Torque;&#010; import org.apache.torque.TorqueException;&#010;-import org.apache.torque.criteria.CriteriaInterface;&#010;+import org.apache.torque.criteria.Criteria;&#010; import org.apache.torque.sql.SqlBuilder;&#010; &#010; /**&#010;@@ -167,7 +167,7 @@ public class LargeSelect&lt;T&gt; implements R&#010;     private int totalRecords = 0;&#010; &#010;     /** The criteria used for the query. */&#010;-    private CriteriaInterface&lt;?&gt; criteria = null;&#010;+    private Criteria criteria = null;&#010; &#010;     /** The last page of results that were returned. */&#010;     private transient List&lt;T&gt; lastResults;&#010;@@ -239,9 +239,9 @@ public class LargeSelect&lt;T&gt; implements R&#010;      * the Criteria object does not contain SELECT columns.&#010;      */&#010;     public LargeSelect(&#010;-            CriteriaInterface&lt;?&gt; criteria,&#010;-            int pageSize,&#010;-            BasePeerImpl&lt;T&gt; peerImpl)&#010;+            final Criteria criteria,&#010;+            final int pageSize,&#010;+            final BasePeerImpl&lt;T&gt; peerImpl)&#010;     {&#010;         this(&#010;             criteria,&#010;@@ -272,10 +272,10 @@ public class LargeSelect&lt;T&gt; implements R&#010;      * contain SELECT columns..&#010;      */&#010;     public LargeSelect(&#010;-            CriteriaInterface&lt;?&gt; criteria,&#010;-            int pageSize,&#010;-            int memoryPageLimit,&#010;-            BasePeerImpl&lt;T&gt; peerImpl)&#010;+            final Criteria criteria,&#010;+            final int pageSize,&#010;+            final int memoryPageLimit,&#010;+            final BasePeerImpl&lt;T&gt; peerImpl)&#010;     {&#010;         this.peer = peerImpl;&#010; &#010;@@ -316,7 +316,7 @@ public class LargeSelect&lt;T&gt; implements R&#010;      * greater than zero.&#010;      * @throws TorqueException if a sleep is unexpectedly interrupted.&#010;      */&#010;-    public List&lt;T&gt; getPage(int pageNumber) throws TorqueException&#010;+    public List&lt;T&gt; getPage(final int pageNumber) throws TorqueException&#010;     {&#010;         if (pageNumber &lt; 1)&#010;         {&#010;@@ -389,7 +389,7 @@ public class LargeSelect&lt;T&gt; implements R&#010;      * &lt;code&gt;pageSize&lt;/code&gt; results.&#010;      * @throws TorqueException if a sleep is unexpectedly interrupted.&#010;      */&#010;-    private List&lt;T&gt; getResults(int start) throws TorqueException&#010;+    private List&lt;T&gt; getResults(final int start) throws TorqueException&#010;     {&#010;         return getResults(start, pageSize);&#010;     }&#010;@@ -407,7 +407,7 @@ public class LargeSelect&lt;T&gt; implements R&#010;      * not catered for.&#010;      * @throws TorqueException if a sleep is unexpectedly interrupted.&#010;      */&#010;-    private synchronized List&lt;T&gt; getResults(int start, int size)&#010;+    private synchronized List&lt;T&gt; getResults(final int start, final int size)&#010;             throws TorqueException&#010;     {&#010;         if (log.isDebugEnabled())&#010;@@ -547,21 +547,12 @@ public class LargeSelect&lt;T&gt; implements R&#010;              * columns not fully qualified will not be modified.&#010;              */&#010;             String query;&#010;-            if (criteria instanceof Criteria)&#010;-            {&#010;-                peer.correctBooleans((Criteria) criteria);&#010;-                peer.setDbName((Criteria) criteria);&#010;-                query = SqlBuilder.buildQuery((Criteria) criteria).toString();&#010;-            }&#010;-            else&#010;-            {&#010;-                peer.correctBooleans(&#010;-                        (org.apache.torque.criteria.Criteria) criteria);&#010;-                peer.setDbName((org.apache.torque.criteria.Criteria) criteria);&#010;-                query = SqlBuilder.buildQuery(&#010;-                        (org.apache.torque.criteria.Criteria) criteria)&#010;-                    .toString();&#010;-            }&#010;+            peer.correctBooleans(&#010;+                    criteria);&#010;+            peer.setDbName(criteria);&#010;+            query = SqlBuilder.buildQuery(&#010;+                    criteria)&#010;+                .toString();&#010; &#010;             // Execute the query.&#010;             if (log.isDebugEnabled())&#010;@@ -588,19 +579,9 @@ public class LargeSelect&lt;T&gt; implements R&#010;                     log.debug("run(): Invoking BasePeerImpl.doSelect()");&#010;                 }&#010; &#010;-                List&lt;T&gt; tempResults;&#010;-                if (criteria instanceof Criteria)&#010;-                {&#010;-                    tempResults = peer.doSelect(&#010;-                            (Criteria) criteria,&#010;-                            conn);&#010;-                }&#010;-                else&#010;-                {&#010;-                    tempResults = peer.doSelect(&#010;-                            (org.apache.torque.criteria.Criteria) criteria,&#010;-                            conn);&#010;-                }&#010;+                List&lt;T&gt; tempResults = peer.doSelect(&#010;+                        criteria,&#010;+                        conn);&#010; &#010;                 if (tempResults.size() &lt; criteria.getLimit())&#010;                 {&#010;@@ -694,7 +675,7 @@ public class LargeSelect&lt;T&gt; implements R&#010;      *&#010;      * @param initialSize the initial size for each block.&#010;      */&#010;-    private synchronized void startQuery(int initialSize)&#010;+    private synchronized void startQuery(final int initialSize)&#010;     {&#010;         if (log.isDebugEnabled())&#010;         {&#010;@@ -848,7 +829,7 @@ public class LargeSelect&lt;T&gt; implements R&#010;      * @param moreIndicator the indicator to use in place of the default&#010;      * ("&amp;gt;").&#010;      */&#010;-    public void setMoreIndicator(String moreIndicator)&#010;+    public void setMoreIndicator(final String moreIndicator)&#010;     {&#010;         this.moreIndicator = moreIndicator;&#010;     }&#010;@@ -869,7 +850,7 @@ public class LargeSelect&lt;T&gt; implements R&#010;      * @param memoryPageLimit the maximum number of pages to be in memory&#010;      * at one time.&#010;      */&#010;-    public void setMemoryPageLimit(int memoryPageLimit)&#010;+    public void setMemoryPageLimit(final int memoryPageLimit)&#010;     {&#010;         this.memoryPageLimit = memoryPageLimit;&#010;     }&#010;@@ -1052,7 +1033,7 @@ public class LargeSelect&lt;T&gt; implements R&#010;      * @param name the search parameter key to retrieve.&#010;      * @return the value of the search parameter.&#010;      */&#010;-    public String getSearchParam(String name)&#010;+    public String getSearchParam(final String name)&#010;     {&#010;         return getSearchParam(name, null);&#010;     }&#010;@@ -1068,7 +1049,7 @@ public class LargeSelect&lt;T&gt; implements R&#010;      * @param defaultValue the default value to return if the key is not found.&#010;      * @return the value of the search parameter.&#010;      */&#010;-    public String getSearchParam(String name, String defaultValue)&#010;+    public String getSearchParam(final String name, final String defaultValue)&#010;     {&#010;         if (null == params)&#010;         {&#010;@@ -1085,7 +1066,7 @@ public class LargeSelect&lt;T&gt; implements R&#010;      * @param name the search parameter key to set.&#010;      * @param value the value of the search parameter to store.&#010;      */&#010;-    public void setSearchParam(String name, String value)&#010;+    public void setSearchParam(final String name, final String value)&#010;     {&#010;         if (null == value)&#010;         {&#010;@@ -1109,7 +1090,7 @@ public class LargeSelect&lt;T&gt; implements R&#010;      *&#010;      * @param name the search parameter key to remove.&#010;      */&#010;-    public void removeSearchParam(String name)&#010;+    public void removeSearchParam(final String name)&#010;     {&#010;         if (null != params)&#010;         {&#010;@@ -1124,7 +1105,7 @@ public class LargeSelect&lt;T&gt; implements R&#010;      * @throws IOException&#010;      * @throws ClassNotFoundException&#010;      */&#010;-    private void readObject(ObjectInputStream inputStream)&#010;+    private void readObject(final ObjectInputStream inputStream)&#010;             throws IOException, ClassNotFoundException&#010;     {&#010;         inputStream.defaultReadObject();&#010;&#010;Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/SummaryHelper.java&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/SummaryHelper.java?rev=1484252&amp;r1=1484251&amp;r2=1484252&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/SummaryHelper.java&#010;(original)&#010;+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/SummaryHelper.java&#010;Sun May 19 09:58:00 2013&#010;@@ -36,6 +36,7 @@ import org.apache.commons.logging.LogFac&#010; import org.apache.torque.Column;&#010; import org.apache.torque.ColumnImpl;&#010; import org.apache.torque.TorqueException;&#010;+import org.apache.torque.criteria.Criteria;&#010; import org.apache.torque.criteria.SqlEnum;&#010; import org.apache.torque.om.mapper.ObjectListMapper;&#010; import org.apache.torque.om.mapper.RecordMapper;&#010;@@ -114,34 +115,9 @@ public class SummaryHelper&#010;      * @return Results as a OrderMap&lt;String, List&lt;Object&gt;&gt; object.&#010;      *&#010;      * @throws TorqueException if a database error occurs.&#010;-     *&#010;-     * @deprecated please use&#010;-     *             summarize(org.apache.torque.criteria.Criteria)&#010;-     *             instead.&#010;-     *             This method will be removed in a future version of Torque.&#010;-     */&#010;-    @Deprecated&#010;-    public List&lt;ListOrderedMapCI&gt; summarize(Criteria crit)&#010;-            throws TorqueException&#010;-    {&#010;-        return summarize(crit, (List&lt;Class&lt;?&gt;&gt;) null);&#010;-    }&#010;-&#010;-    /**&#010;-     * Return a list of ListOrderedMapCI objects with the results of the summary&#010;-     * query.  The ListOrderedMapCI objects have a key of the column name or&#010;-     * function alias and are in the order generated by the query.&#010;-     * The class of the return values are decided by the database driver,&#010;-     * which makes this method not database independent.&#010;-     *&#010;-     * @param crit The base criteria to build on.&#010;-     *&#010;-     * @return Results as a OrderMap&lt;String, List&lt;Object&gt;&gt; object.&#010;-     *&#010;-     * @throws TorqueException if a database error occurs.&#010;      */&#010;     public List&lt;ListOrderedMapCI&gt; summarize(&#010;-                org.apache.torque.criteria.Criteria crit)&#010;+                final Criteria crit)&#010;             throws TorqueException&#010;     {&#010;         return summarize(crit, (List&lt;Class&lt;?&gt;&gt;) null);&#010;@@ -161,54 +137,10 @@ public class SummaryHelper&#010;      * @return Results as a ListOrderMapCI&lt;String, List&lt;Object&gt;&gt; object.&#010;      *&#010;      * @throws TorqueException if a database error occurs.&#010;-     *&#010;-     * @deprecated Please use&#010;-     *             summarize(org.apache.torque.criteria.Criteria, List&lt;Class&lt;?&gt;&gt;)&#010;-     *             instead.&#010;-     *             This method will be removed in a future version of Torque.&#010;      */&#010;-    @Deprecated&#010;     public List&lt;ListOrderedMapCI&gt; summarize(&#010;-                Criteria crit,&#010;-                List&lt;Class&lt;?&gt;&gt; resultTypes)&#010;-            throws TorqueException&#010;-    {&#010;-        Connection connection = null;&#010;-        try&#010;-        {&#010;-            connection = Transaction.begin(crit.getDbName());&#010;-            List&lt;ListOrderedMapCI&gt; result = summarize(crit, resultTypes, connection);&#010;-            Transaction.commit(connection);&#010;-            connection = null;&#010;-            return result;&#010;-        }&#010;-        finally&#010;-        {&#010;-            if (connection != null)&#010;-            {&#010;-                Transaction.safeRollback(connection);&#010;-            }&#010;-        }&#010;-    }&#010;-&#010;-    /**&#010;-     * Return a list of ListOrderedMapCI objects with the results of the summary&#010;-     * query.  The ListOrderedMapCI objects have a key of the column name or&#010;-     * function alias and are in the order generated by the query.&#010;-     *&#010;-     * @param crit The base criteria to build on.&#010;-     * @param resultTypes the classes to which the return values of the query&#010;-     *        should be cast, or null to let the database driver decide.&#010;-     *        See org.apache.torque.om.mapper.ObjectListMapperï¿½for the supported&#010;-     *        classes.&#010;-     *&#010;-     * @return Results as a ListOrderMapCI&lt;String, List&lt;Object&gt;&gt; object.&#010;-     *&#010;-     * @throws TorqueException if a database error occurs.&#010;-     */&#010;-    public List&lt;ListOrderedMapCI&gt; summarize(&#010;-                org.apache.torque.criteria.Criteria crit,&#010;-                List&lt;Class&lt;?&gt;&gt; resultTypes)&#010;+                final Criteria crit,&#010;+                final List&lt;Class&lt;?&gt;&gt; resultTypes)&#010;             throws TorqueException&#010;     {&#010;         Connection connection = null;&#010;@@ -242,36 +174,10 @@ public class SummaryHelper&#010;      * @return Results as a OrderMap&lt;String, List&lt;Object&gt;&gt; object.&#010;      *&#010;      * @throws TorqueException if a database error occurs.&#010;-     *&#010;-     * @deprecated please use&#010;-     *             summarize(org.apache.torque.criteria.Criteria, Connection)&#010;-     *             instead.&#010;-     *             This method will be removed in a future version of Torque.&#010;-     */&#010;-    @Deprecated&#010;-    public List&lt;ListOrderedMapCI&gt; summarize(Criteria crit, Connection conn)&#010;-            throws TorqueException&#010;-    {&#010;-        return summarize(crit, null, conn);&#010;-    }&#010;-&#010;-    /**&#010;-     * Return a list of OrderedMap objects with the results of the summary&#010;-     * query.  The OrderedMap objects have a key of the column name or&#010;-     * function alias and are in the order generated by the query.&#010;-     * The class of the return values are decided by the database driver,&#010;-     * which makes this method not database independent.&#010;-     *&#010;-     * @param crit The base criteria to build on.&#010;-     * @param conn The DB Connection to use.&#010;-     *&#010;-     * @return Results as a OrderMap&lt;String, List&lt;Object&gt;&gt; object.&#010;-     *&#010;-     * @throws TorqueException if a database error occurs.&#010;      */&#010;     public List&lt;ListOrderedMapCI&gt; summarize(&#010;-                org.apache.torque.criteria.Criteria crit,&#010;-                Connection conn)&#010;+                final Criteria crit,&#010;+                final Connection conn)&#010;             throws TorqueException&#010;     {&#010;         return summarize(crit, null, conn);&#010;@@ -292,17 +198,11 @@ public class SummaryHelper&#010;      * @return Results as a ListOrderedMapCI&lt;String,Values&gt; object.&#010;      *&#010;      * @throws TorqueException if a database error occurs.&#010;-     *&#010;-     * @deprecated please use&#010;-     *             summarize(org.apache.torque.criteria.Criteria, List&lt;Class&lt;?&gt;&gt;,&#010;Connection)&#010;-     *             instead.&#010;-     *             This method will be removed in a future version of Torque.&#010;      */&#010;-    @Deprecated&#010;     public List&lt;ListOrderedMapCI&gt; summarize(&#010;-                Criteria crit,&#010;-                List&lt;Class&lt;?&gt;&gt; resultTypes,&#010;-                Connection conn)&#010;+                final Criteria crit,&#010;+                final List&lt;Class&lt;?&gt;&gt; resultTypes,&#010;+                final Connection conn)&#010;             throws TorqueException&#010;     {&#010;         Criteria c = buildCriteria(crit);&#010;@@ -393,202 +293,6 @@ public class SummaryHelper&#010;     }&#010; &#010;     /**&#010;-     * Return a list of ListOrderedMapCI objects with the results of the summary&#010;-     * query.  The ListOrderedMapCI objects have a key of the column name or&#010;-     * function alias and are in the order generated by the query.&#010;-     *&#010;-     * @param crit The base criteria to build on.&#010;-     * @param resultTypes the classes to which the return values of the query&#010;-     *        should be cast, or null to let the database driver decide.&#010;-     *        See org.apache.torque.om.mapper.ObjectListMapperï¿½for the supported&#010;-     *        classes.&#010;-     * @param conn The DB Connection to use.&#010;-     *&#010;-     * @return Results as a ListOrderedMapCI&lt;String,Values&gt; object.&#010;-     *&#010;-     * @throws TorqueException if a database error occurs.&#010;-     */&#010;-    public List&lt;ListOrderedMapCI&gt; summarize(&#010;-                org.apache.torque.criteria.Criteria crit,&#010;-                List&lt;Class&lt;?&gt;&gt; resultTypes,&#010;-                Connection conn)&#010;-            throws TorqueException&#010;-    {&#010;-        org.apache.torque.criteria.Criteria c = buildCriteria(crit);&#010;-        // TODO use BasePeerImpl.doSelect instead of parsing the result manually&#010;-        String query = SqlBuilder.buildQuery(c).toString();&#010;-        RecordMapper&lt;List&lt;Object&gt;&gt; mapper = new ObjectListMapper(resultTypes);&#010;-&#010;-        Statement statement = null;&#010;-        ResultSet resultSet = null;&#010;-        List&lt;List&lt;Object&gt;&gt; rows = new ArrayList&lt;List&lt;Object&gt;&gt;();&#010;-        try&#010;-        {&#010;-            statement = conn.createStatement();&#010;-            long startTime = System.currentTimeMillis();&#010;-            logger.debug("Executing query " + query);&#010;-&#010;-            resultSet = statement.executeQuery(query.toString());&#010;-            long queryEndTime = System.currentTimeMillis();&#010;-            logger.trace("query took " + (queryEndTime - startTime)&#010;-                    + " milliseconds");&#010;-&#010;-            while (resultSet.next())&#010;-            {&#010;-                List&lt;Object&gt; rowResult = mapper.processRow(resultSet, 0, null);&#010;-                rows.add(rowResult);&#010;-            }&#010;-            long mappingEndTime = System.currentTimeMillis();&#010;-            logger.trace("mapping took " + (mappingEndTime - queryEndTime)&#010;-                    + " milliseconds");&#010;-        }&#010;-        catch (SQLException e)&#010;-        {&#010;-            throw new TorqueException(e);&#010;-        }&#010;-        finally&#010;-        {&#010;-            if (resultSet != null)&#010;-            {&#010;-                try&#010;-                {&#010;-                    resultSet.close();&#010;-                }&#010;-                catch (SQLException e)&#010;-                {&#010;-                    logger.warn("error closing resultSet", e);&#010;-                }&#010;-            }&#010;-            if (statement != null)&#010;-            {&#010;-                try&#010;-                {&#010;-                    statement.close();&#010;-                }&#010;-                catch (SQLException e)&#010;-                {&#010;-                    logger.warn("error closing statement", e);&#010;-                }&#010;-            }&#010;-        }&#010;-&#010;-        List&lt;ListOrderedMapCI&gt; resultsList = new Vector&lt;ListOrderedMapCI&gt;(rows.size());&#010;-        List&lt;String&gt; columnNames = new ArrayList&lt;String&gt;();&#010;-        for (Column column : c.getSelectColumns())&#010;-        {&#010;-            columnNames.add(column.getColumnName());&#010;-        }&#010;-        columnNames.addAll(c.getAsColumns().keySet());&#010;-        for (List&lt;Object&gt; row : rows)&#010;-        {&#010;-            ListOrderedMapCI recordMap = new ListOrderedMapCI();&#010;-            for (int i = 0; i &lt; row.size(); i++)&#010;-            {&#010;-                Object value = row.get(i);&#010;-                String cName = columnNames.get(i);&#010;-                if (cName == null || cName.equals(""))&#010;-                 {&#010;-                    if (excludeExprColumns())&#010;-                    {&#010;-                        continue;&#010;-                    }&#010;-                    cName = "Expr" + i;&#010;-                }&#010;-                recordMap.put(cName, value);&#010;-            }&#010;-            resultsList.add(recordMap);&#010;-        }&#010;-        return resultsList;&#010;-    }&#010;-&#010;-    /**&#010;-     * Builds the criteria to use in summarizing the information.  Note that&#010;-     * the criteria passed in will be modified.&#010;-     *&#010;-     * @param c The base criteria to build the summary criteria from.&#010;-     * @return A criteria to use in summarizing the information.&#010;-     * @throws TorqueException&#010;-     *&#010;-     * @deprecated please use&#010;-     *             buildCriteria(org.apache.torque.criteria.Criteria)&#010;-     *             instead.&#010;-     *             This method will be removed in a future version of Torque.&#010;-     */&#010;-    @Deprecated&#010;-    public Criteria buildCriteria(Criteria c) throws TorqueException&#010;-    {&#010;-        c.getSelectColumns().clear();&#010;-        c.getGroupByColumns().clear();&#010;-&#010;-        UniqueList&lt;String&gt; criteriaSelectModifiers;&#010;-        criteriaSelectModifiers = c.getSelectModifiers();&#010;-&#010;-        if (criteriaSelectModifiers != null&#010;-            &amp;&amp; criteriaSelectModifiers.size() &gt; 0&#010;-            &amp;&amp; criteriaSelectModifiers.contains(SqlEnum.DISTINCT.toString()))&#010;-        {&#010;-            criteriaSelectModifiers.remove(SqlEnum.DISTINCT.toString());&#010;-        }&#010;-        c.setIgnoreCase(false);&#010;-&#010;-        List&lt;Column&gt; cols = getGroupByColumns();&#010;-        boolean haveFromTable = !cols.isEmpty(); // Group By cols define src table.&#010;-        for (Column col : cols)&#010;-        {&#010;-            c.addGroupByColumn(col);&#010;-            c.addSelectColumn(col);&#010;-        }&#010;-        if (haveFromTable)&#010;-        {&#010;-            logger.debug("From table defined by Group By Cols");&#010;-        }&#010;-&#010;-        // Check if the from table is set via a where clause.&#010;-        if (!haveFromTable &amp;&amp; !c.isEmpty())&#010;-        {&#010;-            haveFromTable = true;&#010;-            logger.debug("From table defined by a where clause");&#010;-        }&#010;-&#010;-        ListOrderedMapCI cMap = getAggregates();&#010;-        OrderedMapIterator iMap = cMap.orderedMapIterator();&#010;-        while (iMap.hasNext())&#010;-        {&#010;-            String key = (String) iMap.next();&#010;-            SQLFunction f = (SQLFunction) iMap.getValue();&#010;-            Column col =  f.getColumn();&#010;-            c.addAsColumn(key, new ColumnImpl(&#010;-                    null,&#010;-                    col.getTableName(),&#010;-                    col.getColumnName(),&#010;-                    f.getSqlExpression()));&#010;-            if (!haveFromTable)    // Last chance. Get it from the func.&#010;-            {&#010;-                {&#010;-                    // Kludgy Where table.col = table.col clause to force&#010;-                    // from table identification.&#010;-                    c.add(col,&#010;-                            (col.getColumnName()&#010;-                                    + "=" + col.getColumnName()),&#010;-                            SqlEnum.CUSTOM);&#010;-                    haveFromTable = true;&#010;-&#010;-                    String table = col.getTableName();&#010;-                    logger.debug("From table, '" + table&#010;-                            + "', defined from aggregate column");&#010;-                }&#010;-            }&#010;-        }&#010;-        if (!haveFromTable)&#010;-        {&#010;-            throw new TorqueException(&#010;-                    "No FROM table defined by the GroupBy set, "&#010;-                    + "criteria.setAlias, or specified function column!");&#010;-        }&#010;-        return c;&#010;-    }&#010;-&#010;-    /**&#010;      * Builds the criteria to use in summarizing the information.  Note that&#010;      * the criteria passed in will be modified.&#010;      *&#010;@@ -596,8 +300,7 @@ public class SummaryHelper&#010;      * @return A criteria to use in summarizing the information.&#010;      * @throws TorqueException&#010;      */&#010;-    public org.apache.torque.criteria.Criteria buildCriteria(&#010;-            org.apache.torque.criteria.Criteria c) throws TorqueException&#010;+    public Criteria buildCriteria(final Criteria c) throws TorqueException&#010;     {&#010;         c.getSelectColumns().clear();&#010;         c.getGroupByColumns().clear();&#010;@@ -649,10 +352,9 @@ public class SummaryHelper&#010;                 {&#010;                     // Kludgy Where table.col = table.col clause to force&#010;                     // from table identification.&#010;-                    c.and(col,&#010;-                            (col.getColumnName()&#010;-                                    + "=" + col.getColumnName()),&#010;-                            SqlEnum.CUSTOM);&#010;+                    c.andVerbatimSql(&#010;+                            col.getColumnName() + "=" + col.getColumnName(),&#010;+                            new Object[] {});&#010;                     haveFromTable = true;&#010; &#010;                     String table = col.getTableName();&#010;@@ -684,7 +386,7 @@ public class SummaryHelper&#010;      *&#010;      * @param column&#010;      */&#010;-    public void addGroupBy(Column column)&#010;+    public void addGroupBy(final Column column)&#010;     {&#010;         getGroupByColumns().add(column);&#010;     }&#010;@@ -696,7 +398,7 @@ public class SummaryHelper&#010;      *               no key words, e.g. function names.&#010;      * @param function One of the inner classes from the Aggregate class.&#010;      */&#010;-    public void addAggregate(String alias, SQLFunction function)&#010;+    public void addAggregate(final String alias, final SQLFunction function)&#010;     {&#010;         getAggregates().put(alias, function);&#010;     }&#010;@@ -747,7 +449,7 @@ public class SummaryHelper&#010;      * @param includeHeader&#010;      * @throws IOException&#010;      */&#010;-    public void dumpResults(Writer out, List&lt;?&gt; results, boolean includeHeader)&#010;+    public void dumpResults(final Writer out, final List&lt;?&gt; results, final boolean&#010;includeHeader)&#010;                                                             throws IOException&#010;     {&#010;         Iterator&lt;?&gt; i = results.iterator();&#010;@@ -808,7 +510,7 @@ public class SummaryHelper&#010;      *&#010;      * @param excludeExprColumns if True, these columns won't be included.&#010;      */&#010;-    public void setExcludeExprColumns(boolean excludeExprColumns)&#010;+    public void setExcludeExprColumns(final boolean excludeExprColumns)&#010;     {&#010;         this.excludeExprColumns = excludeExprColumns;&#010;     }&#010;&#010;Modified: db/torque/torque4/trunk/torque-runtime/src/test/java/org/apache/torque/TorqueInstanceTest.java&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/test/java/org/apache/torque/TorqueInstanceTest.java?rev=1484252&amp;r1=1484251&amp;r2=1484252&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-runtime/src/test/java/org/apache/torque/TorqueInstanceTest.java&#010;(original)&#010;+++ db/torque/torque4/trunk/torque-runtime/src/test/java/org/apache/torque/TorqueInstanceTest.java&#010;Sun May 19 09:58:00 2013&#010;@@ -121,9 +121,6 @@ public class TorqueInstanceTest extends &#010;         assertEquals(&#010;                 "defaultschema",&#010;                 databases.get(POSTGRESQL_NAME).getSchema());&#010;-        assertEquals(&#010;-                "orschema2",&#010;-                databases.get(ORACLE_NAME).getSchema());&#010;     }&#010; &#010;     public void testShutdown() throws Exception&#010;&#010;Modified: db/torque/torque4/trunk/torque-runtime/src/test/java/org/apache/torque/criteria/CriterionTest.java&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/test/java/org/apache/torque/criteria/CriterionTest.java?rev=1484252&amp;r1=1484251&amp;r2=1484252&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-runtime/src/test/java/org/apache/torque/criteria/CriterionTest.java&#010;(original)&#010;+++ db/torque/torque4/trunk/torque-runtime/src/test/java/org/apache/torque/criteria/CriterionTest.java&#010;Sun May 19 09:58:00 2013&#010;@@ -60,15 +60,15 @@ public class CriterionTest extends BaseT&#010;                 "myValue");&#010;         Criterion innerCriterion = (new Criterion(&#010;                 new ColumnImpl("myTable", "myColumn2"),&#010;-                "myColumn2&lt;abs(myValue2)",&#010;-                SqlEnum.CUSTOM));&#010;+                "myValue2",&#010;+                SqlEnum.LESS_THAN));&#010;         innerCriterion.and(new Criterion(&#010;                 new ColumnImpl("myTable", "myColumn3"),&#010;                 3,&#010;                 SqlEnum.GREATER_EQUAL));&#010;         criterion.or(innerCriterion);&#010;         assertEquals("myTable.myColumn=myValue "&#010;-                + "OR (myColumn2&lt;abs(myValue2) "&#010;+                + "OR (myTable.myColumn2&lt;myValue2 "&#010;                 + "AND myTable.myColumn3&gt;=3)",&#010;             criterion.toString());&#010;     }&#010;&#010;Modified: db/torque/torque4/trunk/torque-runtime/src/test/java/org/apache/torque/sql/SqlBuilderTest.java&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/test/java/org/apache/torque/sql/SqlBuilderTest.java?rev=1484252&amp;r1=1484251&amp;r2=1484252&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-runtime/src/test/java/org/apache/torque/sql/SqlBuilderTest.java&#010;(original)&#010;+++ db/torque/torque4/trunk/torque-runtime/src/test/java/org/apache/torque/sql/SqlBuilderTest.java&#010;Sun May 19 09:58:00 2013&#010;@@ -1547,28 +1547,6 @@ public class SqlBuilderTest extends Base&#010;     }&#010; &#010; &#010;-    public void testCustom() throws Exception&#010;-    {&#010;-        Criteria criteria = new Criteria();&#010;-        criteria.addSelectColumn(new ColumnImpl("table.column"));&#010;-        criteria.where("A", "A = functionOf(B)", SqlEnum.CUSTOM);&#010;-        Query query = SqlBuilder.buildQuery(criteria);&#010;-        assertEquals("SELECT table.column FROM table WHERE A = functionOf(B)",&#010;-                query.toString());&#010;-        assertEquals(0, query.getPreparedStatementReplacements().size());&#010;-    }&#010;-&#010;-    public void testCustomLvalueNull() throws Exception&#010;-    {&#010;-        Criteria criteria = new Criteria();&#010;-        criteria.addSelectColumn(new ColumnImpl("table.column"));&#010;-        criteria.where(null, "A = functionOf(B)", SqlEnum.CUSTOM);&#010;-        Query query = SqlBuilder.buildQuery(criteria);&#010;-        assertEquals("SELECT table.column FROM table WHERE A = functionOf(B)",&#010;-                query.toString());&#010;-        assertEquals(0, query.getPreparedStatementReplacements().size());&#010;-    }&#010;-&#010;     public void testCriterionCustomSql() throws Exception&#010;     {&#010;         Criteria criteria = new Criteria();&#010;@@ -1582,25 +1560,6 @@ public class SqlBuilderTest extends Base&#010;         assertEquals(0, query.getPreparedStatementReplacements().size());&#010;     }&#010; &#010;-    public void testCriterionCustomNoString() throws Exception&#010;-    {&#010;-        Criteria criteria = new Criteria();&#010;-        criteria.addSelectColumn(new ColumnImpl("table.column"));&#010;-        Criterion criterion&#010;-                = new Criterion("A", 3, SqlEnum.CUSTOM);&#010;-        criteria.where(criterion);&#010;-        try&#010;-        {&#010;-            SqlBuilder.buildQuery(criteria);&#010;-            fail("Exception expected");&#010;-        }&#010;-        catch (TorqueException e)&#010;-        {&#010;-            assertEquals(&#010;-                    "rValue must be a String for the operator CUSTOM",&#010;-                    e.getMessage());&#010;-        }&#010;-    }&#010;     public void testLvalueIsObject() throws Exception&#010;     {&#010;         Criteria criteria = new Criteria();&#010;&#010;Modified: db/torque/torque4/trunk/torque-runtime/src/test/resources/torque-schematest.properties&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/test/resources/torque-schematest.properties?rev=1484252&amp;r1=1484251&amp;r2=1484252&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-runtime/src/test/resources/torque-schematest.properties&#010;(original)&#010;+++ db/torque/torque4/trunk/torque-runtime/src/test/resources/torque-schematest.properties&#010;Sun May 19 09:58:00 2013&#010;@@ -20,16 +20,11 @@ torque.database.default = postgresql&#010; &#010; torque.database.mysql.adapter=mysql&#010; torque.dsfactory.mysql.factory= org.apache.torque.dsfactory.SharedPoolDataSourceFactory&#010;-torque.dsfactory.mysql.schema=myschema&#010;+torque.database.mysql.schema=myschema&#010; &#010; torque.database.postgresql.adapter=postgresql&#010; torque.dsfactory.postgresql.factory= org.apache.torque.dsfactory.SharedPoolDataSourceFactory&#010; &#010;-torque.database.oracle.adapter=oracle&#010;-torque.dsfactory.oracle.factory= org.apache.torque.dsfactory.SharedPoolDataSourceFactory&#010;-torque.dsfactory.oracle.schema= orschema1&#010;-torque.database.oracle.schema=orschema2&#010;-&#010; torque.idbroker.prefetch=false&#010; &#010; torque.defaults.schema = defaultschema&#010;&#010;&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org&#010;For additional commands, e-mail: torque-dev-help@db.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r1484252 [2/3] - in /db/torque/torque4/trunk/torque-runtime/src: main/java/org/apache/torque/ main/java/org/apache/torque/avalon/ main/java/org/apache/torque/criteria/ main/java/org/apache/torque/map/ main/java/org/apache/torque/om/mapper/ ...</title>
<author><name>tfischer@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/201305.mbox/%3c20130519095802.99E1F238897A@eris.apache.org%3e"/>
<id>urn:uuid:%3c20130519095802-99E1F238897A@eris-apache-org%3e</id>
<updated>2013-05-19T09:58:01Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/sql/SqlBuilder.java&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/sql/SqlBuilder.java?rev=1484252&amp;r1=1484251&amp;r2=1484252&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/sql/SqlBuilder.java (original)&#010;+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/sql/SqlBuilder.java Sun May 19 09:58:00 2013&#010;@@ -33,7 +33,6 @@ import org.apache.torque.Torque;&#010; import org.apache.torque.TorqueException;&#010; import org.apache.torque.adapter.Adapter;&#010; import org.apache.torque.criteria.Criteria;&#010;-import org.apache.torque.criteria.CriteriaInterface;&#010; import org.apache.torque.criteria.Criterion;&#010; import org.apache.torque.criteria.FromElement;&#010; import org.apache.torque.criteria.PreparedStatementPart;&#010;@@ -42,9 +41,7 @@ import org.apache.torque.map.ColumnMap;&#010; import org.apache.torque.map.DatabaseMap;&#010; import org.apache.torque.map.MapHelper;&#010; import org.apache.torque.map.TableMap;&#010;-import org.apache.torque.om.ObjectKey;&#010; import org.apache.torque.sql.whereclausebuilder.CurrentDateTimePsPartBuilder;&#010;-import org.apache.torque.sql.whereclausebuilder.CustomBuilder;&#010; import org.apache.torque.sql.whereclausebuilder.InBuilder;&#010; import org.apache.torque.sql.whereclausebuilder.LikeBuilder;&#010; import org.apache.torque.sql.whereclausebuilder.NullValueBuilder;&#010;@@ -63,7 +60,6 @@ import org.apache.torque.util.UniqueList&#010;  * @author &lt;a href="mailto:fischer@seitenbau.de"&gt;Thomas Fischer&lt;/a&gt;&#010;  * @version $Id$&#010;  */&#010;-@SuppressWarnings("deprecation")&#010; public final class SqlBuilder&#010; {&#010;     /** Logging */&#010;@@ -85,7 +81,6 @@ public final class SqlBuilder&#010;     static&#010;     {&#010;         whereClausePsPartBuilders.add(new VerbatimSqlConditionBuilder());&#010;-        whereClausePsPartBuilders.add(new CustomBuilder());&#010;         whereClausePsPartBuilders.add(new CurrentDateTimePsPartBuilder());&#010;         whereClausePsPartBuilders.add(new NullValueBuilder());&#010;         whereClausePsPartBuilders.add(new LikeBuilder());&#010;@@ -124,36 +119,6 @@ public final class SqlBuilder&#010;      * @return the corresponding query to the criteria.&#010;      *&#010;      * @exception TorqueException if an error occurs&#010;-     * @deprecated please use org.apache.torque.criteria.Criteria&#010;-     *             instead of org.apache.torque.util.Criteria.&#010;-     */&#010;-    @Deprecated&#010;-    public static Query buildQuery(final org.apache.torque.util.Criteria crit)&#010;-            throws TorqueException&#010;-    {&#010;-        Query sqlStatement = new Query();&#010;-&#010;-        JoinBuilder.processJoins(crit, sqlStatement);&#010;-        processModifiers(crit, sqlStatement);&#010;-        processSelectColumns(crit, sqlStatement);&#010;-        processAsColumns(crit, sqlStatement);&#010;-        processCriterions(crit, sqlStatement);&#010;-        processGroupBy(crit, sqlStatement);&#010;-        processHaving(crit, sqlStatement);&#010;-        processOrderBy(crit, sqlStatement);&#010;-        processLimits(crit, sqlStatement);&#010;-&#010;-        return sqlStatement;&#010;-    }&#010;-&#010;-    /**&#010;-     * Builds a Query from a criteria.&#010;-     *&#010;-     * @param crit the criteria to build the query from, not null.&#010;-     *&#010;-     * @return the corresponding query to the criteria.&#010;-     *&#010;-     * @exception TorqueException if an error occurs&#010;      */&#010;     public static Query buildQuery(final Criteria crit)&#010;             throws TorqueException&#010;@@ -185,7 +150,7 @@ public final class SqlBuilder&#010;      * @throws TorqueException if the select columns can not be processed.&#010;      */&#010;     private static void processSelectColumns(&#010;-                final CriteriaInterface&lt;?&gt; criteria,&#010;+                final Criteria criteria,&#010;                 final Query query)&#010;             throws TorqueException&#010;     {&#010;@@ -221,7 +186,7 @@ public final class SqlBuilder&#010;      * @throws TorqueException if the as columns can not be processed.&#010;      */&#010;     private static void processAsColumns(&#010;-                final CriteriaInterface&lt;?&gt; criteria,&#010;+                final Criteria criteria,&#010;                 final Query query)&#010;             throws TorqueException&#010;     {&#010;@@ -251,7 +216,7 @@ public final class SqlBuilder&#010;      *        not null.&#010;      */&#010;     private static void processModifiers(&#010;-            final CriteriaInterface&lt;?&gt; criteria,&#010;+            final Criteria criteria,&#010;             final Query query)&#010;     {&#010;         UniqueList&lt;String&gt; selectModifiers = query.getSelectModifiers();&#010;@@ -289,10 +254,10 @@ public final class SqlBuilder&#010;     }&#010; &#010;     static void appendCriterion(&#010;-                Criterion criterion,&#010;-                CriteriaInterface&lt;?&gt; criteria,&#010;-                StringBuilder where,&#010;-                Query query)&#010;+                final Criterion criterion,&#010;+                final Criteria criteria,&#010;+                final StringBuilder where,&#010;+                final Query query)&#010;             throws TorqueException&#010;     {&#010;         if (criterion.isComposite())&#010;@@ -337,8 +302,8 @@ public final class SqlBuilder&#010;     }&#010; &#010;     static PreparedStatementPart processCriterion(&#010;-                Criterion criterion,&#010;-                CriteriaInterface&lt;?&gt; criteria)&#010;+                final Criterion criterion,&#010;+                final Criteria criteria)&#010;             throws TorqueException&#010;     {&#010;         final String dbName = criteria.getDbName();&#010;@@ -379,130 +344,13 @@ public final class SqlBuilder&#010;     }&#010; &#010;     /**&#010;-     * Adds the Criterions from the criteria to the query.&#010;-     *&#010;-     * @param criteria the criteria from which the Criterion-objects are taken&#010;-     * @param query the query to which the Criterion-objects should be added.&#010;-     *&#010;-     * @throws TorqueException if the Criterion-objects can not be processed&#010;-     * @deprecated please use org.apache.torque.criteria.Criteria&#010;-     *             instead of org.apache.torque.util.Criteria.&#010;-     */&#010;-    @Deprecated&#010;-    private static void processCriterions(&#010;-            final org.apache.torque.util.Criteria criteria,&#010;-            final Query query)&#010;-        throws TorqueException&#010;-    {&#010;-        UniqueList&lt;String&gt; whereClause = query.getWhereClause();&#010;-&#010;-        for (org.apache.torque.util.Criteria.Criterion criterion&#010;-                : criteria.values())&#010;-        {&#010;-            StringBuilder sb = new StringBuilder();&#010;-            appendCriterionToPs(&#010;-                    criterion,&#010;-                    criteria,&#010;-                    sb,&#010;-                    query);&#010;-            whereClause.add(sb.toString());&#010;-        }&#010;-    }&#010;-&#010;-    /**&#010;-     * @deprecated please use org.apache.torque.criteria.Criteria&#010;-     *             instead of org.apache.torque.util.Criteria.&#010;-     */&#010;-    @Deprecated&#010;-    private static void appendCriterionToPs(&#010;-                org.apache.torque.util.Criteria.Criterion criterion,&#010;-                org.apache.torque.util.Criteria criteria,&#010;-                StringBuilder sb,&#010;-                Query query)&#010;-            throws TorqueException&#010;-    {&#010;-        Column column = criterion.getColumn();&#010;-&#010;-        // add the table to the from clause, if it is not already&#010;-        // contained there&#010;-        // it is important that this piece of code is executed AFTER&#010;-        // the joins are processed&#010;-        addTableToFromClause(&#010;-            column,&#010;-            criteria,&#010;-            query);&#010;-&#010;-        boolean ignoreCase&#010;-                = criteria.isIgnoreCase() || criterion.isIgnoreCase();&#010;-        final String dbName = criteria.getDbName();&#010;-        final Adapter adapter = Torque.getAdapter(dbName);&#010;-        final Database database = Torque.getDatabase(dbName);&#010;-        {&#010;-            Column databaseColumn = resolveAliasAndAsColumnAndSchema(&#010;-                    column,&#010;-                    criteria);&#010;-            ColumnMap columnMap = null;&#010;-            {&#010;-                DatabaseMap databaseMap = database.getDatabaseMap();&#010;-                TableMap tableMap = databaseMap.getTable(&#010;-                        databaseColumn.getTableName());&#010;-                if (tableMap != null)&#010;-                {&#010;-                    columnMap = tableMap.getColumn(&#010;-                            databaseColumn.getColumnName());&#010;-                }&#010;-            }&#010;-            if (columnMap != null)&#010;-            {&#010;-                // do not use ignoreCase on columns&#010;-                // which do not contain String values&#010;-                ignoreCase = ignoreCase&#010;-                    &amp;&amp; columnMap.getType() instanceof String;&#010;-            }&#010;-        }&#010;-&#010;-        for (int j = 0; j &lt; criterion.getClauses().size(); j++)&#010;-        {&#010;-            sb.append('(');&#010;-        }&#010;-        String columnName = criterion.getColumn().getSqlExpression();&#010;-        WhereClauseExpression whereClausePartInput&#010;-                = new WhereClauseExpression(&#010;-                        columnName,&#010;-                        criterion.getComparison(),&#010;-                        criterion.getValue(),&#010;-                        null,&#010;-                        null);&#010;-        PreparedStatementPart whereClausePartOutput&#010;-            = buildPs(&#010;-                whereClausePartInput,&#010;-                ignoreCase,&#010;-                adapter);&#010;-        sb.append(whereClausePartOutput.getSql());&#010;-        query.getWhereClausePreparedStatementReplacements().addAll(&#010;-                whereClausePartOutput.getPreparedStatementReplacements());&#010;-&#010;-        for (int i = 0; i &lt; criterion.getClauses().size(); i++)&#010;-        {&#010;-            sb.append(criterion.getConjunctions().get(i));&#010;-            org.apache.torque.util.Criteria.Criterion clause&#010;-                = criterion.getClauses().get(i);&#010;-            appendCriterionToPs(&#010;-                    clause,&#010;-                    criteria,&#010;-                    sb,&#010;-                    query);&#010;-            sb.append(')');&#010;-        }&#010;-    }&#010;-    /**&#010;      * adds the OrderBy-Columns from the criteria to the query&#010;      * @param criteria the criteria from which the OrderBy-Columns are taken&#010;      * @param query the query to which the OrderBy-Columns should be added&#010;      * @throws TorqueException if the OrderBy-Columns can not be processed&#010;      */&#010;     private static void processOrderBy(&#010;-            final CriteriaInterface&lt;?&gt; crit,&#010;+            final Criteria crit,&#010;             final Query query)&#010;             throws TorqueException&#010;     {&#010;@@ -571,7 +419,7 @@ public final class SqlBuilder&#010;      * @throws TorqueException if the GroupBy-Columns can not be processed&#010;      */&#010;     private static void processGroupBy(&#010;-            final CriteriaInterface&lt;?&gt; criteria,&#010;+            final Criteria criteria,&#010;             final Query query)&#010;             throws TorqueException&#010;     {&#010;@@ -614,24 +462,6 @@ public final class SqlBuilder&#010;     }&#010; &#010;     /**&#010;-     * adds the Having-Columns from the criteria to the query&#010;-     * @param criteria the criteria from which the Having-Columns are taken&#010;-     * @param query the query to which the Having-Columns should be added&#010;-     * @throws TorqueException if the Having-Columns can not be processed&#010;-     */&#010;-    private static void processHaving(&#010;-            final org.apache.torque.util.Criteria crit,&#010;-            final Query query)&#010;-            throws TorqueException&#010;-    {&#010;-        org.apache.torque.util.Criteria.Criterion having = crit.getHaving();&#010;-        if (having != null)&#010;-        {&#010;-            query.setHaving(having.toString());&#010;-        }&#010;-    }&#010;-&#010;-    /**&#010;      * Adds a Limit clause to the query if supported by the database.&#010;      *&#010;      * @param criteria the criteria from which the Limit and Offset values&#010;@@ -641,7 +471,7 @@ public final class SqlBuilder&#010;      * @throws TorqueException if the Database adapter cannot be obtained&#010;      */&#010;     private static void processLimits(&#010;-            final CriteriaInterface&lt;?&gt; crit,&#010;+            final Criteria crit,&#010;             final Query query)&#010;             throws TorqueException&#010;     {&#010;@@ -715,7 +545,7 @@ public final class SqlBuilder&#010;      */&#010;     static PreparedStatementPart getExpressionForFromClause(&#010;             final Object toAddToFromClause,&#010;-            final CriteriaInterface&lt;?&gt; criteria)&#010;+            final Criteria criteria)&#010;             throws TorqueException&#010;     {&#010;         if (!(toAddToFromClause instanceof Column))&#010;@@ -854,7 +684,7 @@ public final class SqlBuilder&#010;      *&#010;      * @throws TorqueException if the table name cannot be determined.&#010;      */&#010;-    public static String guessFullTableFromCriteria(Criteria criteria)&#010;+    public static String guessFullTableFromCriteria(final Criteria criteria)&#010;             throws TorqueException&#010;     {&#010;         org.apache.torque.criteria.Criterion criterion&#010;@@ -894,7 +724,7 @@ public final class SqlBuilder&#010;      *&#010;      * @throws TorqueException if the database or table is unknown.&#010;      */&#010;-    public static TableMap getTableMap(String tableName, String dbName)&#010;+    public static TableMap getTableMap(final String tableName, String dbName)&#010;             throws TorqueException&#010;     {&#010; &#010;@@ -933,7 +763,7 @@ public final class SqlBuilder&#010;      */&#010;     static Column resolveAliasAndAsColumnAndSchema(&#010;             final Column columnToResolve,&#010;-            final CriteriaInterface&lt;?&gt; criteria)&#010;+            final Criteria criteria)&#010;             throws TorqueException&#010;     {&#010;         String columnNameToResolve = columnToResolve.getColumnName();&#010;@@ -1030,8 +860,8 @@ public final class SqlBuilder&#010;      */&#010;     static void addTableToFromClause(&#010;                 final Object possibleColumn,&#010;-                final CriteriaInterface&lt;?&gt; criteria,&#010;-                Query query)&#010;+                final Criteria criteria,&#010;+                final Query query)&#010;             throws TorqueException&#010;     {&#010;         if (possibleColumn == null)&#010;@@ -1082,9 +912,9 @@ public final class SqlBuilder&#010;      * @throws TorqueException in the case of an error.&#010;      */&#010;     static boolean isIgnoreCase(&#010;-                Criterion criterion,&#010;-                CriteriaInterface&lt;?&gt; criteria,&#010;-                Database database)&#010;+                final Criterion criterion,&#010;+                final Criteria criteria,&#010;+                final Database database)&#010;             throws TorqueException&#010;     {&#010;         boolean ignoreCase&#010;@@ -1116,9 +946,9 @@ public final class SqlBuilder&#010;      * @throws TorqueException in the case of an error.&#010;      */&#010;     private static boolean ignoreCaseApplicable(&#010;-                Object value,&#010;-                CriteriaInterface&lt;?&gt; criteria,&#010;-                Database database)&#010;+                final Object value,&#010;+                final Criteria criteria,&#010;+                final Database database)&#010;             throws TorqueException&#010;     {&#010;         if (value == null)&#010;@@ -1158,428 +988,4 @@ public final class SqlBuilder&#010;         // which do not contain String values&#010;         return columnMap.getType() instanceof String;&#010;     }&#010;-&#010;-    /**&#010;-     * Builds an element of the where clause of a prepared statement.&#010;-     *&#010;-     * @param whereClausePart the part of the where clause to build.&#010;-     *        Can be modified during this method.&#010;-     * @param ignoreCase If true and columns represent Strings, the appropriate&#010;-     *        function defined for the database will be used to ignore&#010;-     *        differences in case.&#010;-     * @param adapter The adapter for the database for which the SQL&#010;-     *        should be created, not null.&#010;-     *&#010;-     * @deprecated remove when util.Criteria is removed&#010;-     */&#010;-    @Deprecated&#010;-    private static PreparedStatementPart buildPs(&#010;-                WhereClauseExpression whereClausePart,&#010;-                boolean ignoreCase,&#010;-                Adapter adapter)&#010;-            throws TorqueException&#010;-    {&#010;-        PreparedStatementPart result = new PreparedStatementPart();&#010;-&#010;-        // Handle SqlEnum.Custom&#010;-        if (SqlEnum.CUSTOM == whereClausePart.getOperator())&#010;-        {&#010;-            result.getSql().append(whereClausePart.getRValue());&#010;-            return result;&#010;-        }&#010;-&#010;-        // Handle SqlEnum.CURRENT_DATE and SqlEnum.CURRENT_TIME&#010;-        if (whereClausePart.getRValue() instanceof SqlEnum)&#010;-        {&#010;-            result.getSql().append(whereClausePart.getLValue())&#010;-                .append(whereClausePart.getOperator())&#010;-                .append(whereClausePart.getRValue());&#010;-            return result;&#010;-        }&#010;-&#010;-        // If rValue is an ObjectKey, take the value of that ObjectKey.&#010;-        if (whereClausePart.getRValue() instanceof ObjectKey)&#010;-        {&#010;-            whereClausePart.setRValue(&#010;-                    ((ObjectKey) whereClausePart.getRValue()).getValue());&#010;-        }&#010;-&#010;-        /*  If rValue is null, check to see if the operator&#010;-         *  is an =, &lt;&gt;, or !=.  If so, replace the comparison&#010;-         *  with SqlEnum.ISNULL or SqlEnum.ISNOTNULL.&#010;-         */&#010;-        if (whereClausePart.getRValue() == null)&#010;-        {&#010;-            if (whereClausePart.getOperator().equals(SqlEnum.EQUAL))&#010;-            {&#010;-                result.getSql().append(whereClausePart.getLValue())&#010;-                        .append(SqlEnum.ISNULL);&#010;-                return result;&#010;-            }&#010;-            if (whereClausePart.getOperator().equals(SqlEnum.NOT_EQUAL)&#010;-                || whereClausePart.getOperator().equals(&#010;-                        SqlEnum.ALT_NOT_EQUAL))&#010;-            {&#010;-                result.getSql().append(whereClausePart.getLValue())&#010;-                    .append(SqlEnum.ISNOTNULL);&#010;-                return result;&#010;-            }&#010;-        }&#010;-&#010;-        // Handle SqlEnum.ISNULL and SqlEnum.ISNOTNULL&#010;-        if (whereClausePart.getOperator().equals(SqlEnum.ISNULL)&#010;-            || whereClausePart.getOperator().equals(SqlEnum.ISNOTNULL))&#010;-        {&#010;-            result.getSql().append(whereClausePart.getLValue())&#010;-                    .append(whereClausePart.getOperator());&#010;-            return result;&#010;-        }&#010;-&#010;-        // handle Subqueries&#010;-        if (whereClausePart.getRValue() instanceof Criteria)&#010;-        {&#010;-            Query subquery = SqlBuilder.buildQuery(&#010;-                    (Criteria) whereClausePart.getRValue());&#010;-            result.getPreparedStatementReplacements().addAll(&#010;-                    subquery.getPreparedStatementReplacements());&#010;-            result.getSql().append(whereClausePart.getLValue())&#010;-                    .append(whereClausePart.getOperator())&#010;-                    .append("(").append(subquery.toString()).append(")");&#010;-                return result;&#010;-        }&#010;-        if (whereClausePart.getRValue()&#010;-                instanceof org.apache.torque.util.Criteria)&#010;-        {&#010;-            Query subquery = SqlBuilder.buildQuery(&#010;-                    (org.apache.torque.util.Criteria)&#010;-                        whereClausePart.getRValue());&#010;-            result.getPreparedStatementReplacements().addAll(&#010;-                    subquery.getPreparedStatementReplacements());&#010;-            result.getSql().append(whereClausePart.getLValue())&#010;-                    .append(whereClausePart.getOperator())&#010;-                    .append("(").append(subquery.toString()).append(")");&#010;-                return result;&#010;-        }&#010;-&#010;-        // handle LIKE and similar&#010;-        if (whereClausePart.getOperator().equals(Criteria.LIKE)&#010;-            || whereClausePart.getOperator().equals(Criteria.NOT_LIKE)&#010;-            || whereClausePart.getOperator().equals(Criteria.ILIKE)&#010;-            || whereClausePart.getOperator().equals(Criteria.NOT_ILIKE))&#010;-        {&#010;-            return buildPsLike(whereClausePart, ignoreCase, adapter);&#010;-        }&#010;-&#010;-        // handle IN and similar&#010;-        if (whereClausePart.getOperator().equals(Criteria.IN)&#010;-                || whereClausePart.getOperator().equals(Criteria.NOT_IN))&#010;-        {&#010;-            return buildPsIn(whereClausePart, ignoreCase, adapter);&#010;-        }&#010;-&#010;-        // Standard case&#010;-        result.getPreparedStatementReplacements().add(&#010;-                whereClausePart.getRValue());&#010;-        if (ignoreCase&#010;-            &amp;&amp; whereClausePart.getRValue() instanceof String)&#010;-        {&#010;-            result.getSql().append(&#010;-                    adapter.ignoreCase((String) whereClausePart.getLValue()))&#010;-                .append(whereClausePart.getOperator())&#010;-                .append(adapter.ignoreCase("?"));&#010;-        }&#010;-        else&#010;-        {&#010;-            result.getSql().append(whereClausePart.getLValue())&#010;-                .append(whereClausePart.getOperator())&#010;-                .append("?");&#010;-        }&#010;-        return result;&#010;-    }&#010;-&#010;-    /**&#010;-     * Takes a WhereClauseExpression with a LIKE operator&#010;-     * and builds an SQL phrase based on whether wildcards are present&#010;-     * and the state of theignoreCase flag.&#010;-     * Multicharacter wildcards % and * may be used&#010;-     * as well as single character wildcards, _ and ?.  These&#010;-     * characters can be escaped with \.&#010;-     *&#010;-     * e.g. criteria = "fre%" -&gt; columnName LIKE 'fre%'&#010;-     *                        -&gt; UPPER(columnName) LIKE UPPER('fre%')&#010;-     *      criteria = "50\%" -&gt; columnName = '50%'&#010;-     *&#010;-     * @param whereClausePart the part of the where clause to build.&#010;-     *        Can be modified in this method.&#010;-     * @param ignoreCase If true and columns represent Strings, the appropriate&#010;-     *        function defined for the database will be used to ignore&#010;-     *        differences in case.&#010;-     * @param adapter The adapter for the database for which the SQL&#010;-     *        should be created, not null.&#010;-     *&#010;-     * @return the rendered SQL for the WhereClauseExpression&#010;-     *&#010;-     * @deprecated remove when util.Criteria is removed&#010;-     */&#010;-    @Deprecated&#010;-    static PreparedStatementPart buildPsLike(&#010;-                WhereClauseExpression whereClausePart,&#010;-                boolean ignoreCase,&#010;-                Adapter adapter)&#010;-            throws TorqueException&#010;-    {&#010;-        if (!(whereClausePart.getRValue() instanceof String))&#010;-        {&#010;-            throw new TorqueException(&#010;-                "rValue must be a String for the operator "&#010;-                    + whereClausePart.getOperator());&#010;-        }&#010;-        String value = (String) whereClausePart.getRValue();&#010;-        // If selection criteria contains wildcards use LIKE otherwise&#010;-        // use = (equals).  Wildcards can be escaped by prepending&#010;-        // them with \ (backslash). However, if we switch from&#010;-        // like to equals, we need to remove the escape characters.&#010;-        // from the wildcards.&#010;-        // So we need two passes: The first replaces * and ? by % and _,&#010;-        // and checks whether we switch to equals,&#010;-        // the second removes escapes if we have switched to equals.&#010;-        int position = 0;&#010;-        StringBuffer sb = new StringBuffer();&#010;-        boolean replaceWithEquals = true;&#010;-        while (position &lt; value.length())&#010;-        {&#010;-            char checkWildcard = value.charAt(position);&#010;-&#010;-            switch (checkWildcard)&#010;-            {&#010;-            case BACKSLASH:&#010;-                if (position + 1 &gt;= value.length())&#010;-                {&#010;-                    // ignore backslashes at end&#010;-                    break;&#010;-                }&#010;-                position++;&#010;-                char escapedChar = value.charAt(position);&#010;-                if (escapedChar != '*' &amp;&amp; escapedChar != '?')&#010;-                {&#010;-                    sb.append(checkWildcard);&#010;-                }&#010;-                // code below copies escaped character into sb&#010;-                checkWildcard = escapedChar;&#010;-                break;&#010;-            case '%':&#010;-            case '_':&#010;-                replaceWithEquals = false;&#010;-                break;&#010;-            case '*':&#010;-                replaceWithEquals = false;&#010;-                checkWildcard = '%';&#010;-                break;&#010;-            case '?':&#010;-                replaceWithEquals = false;&#010;-                checkWildcard = '_';&#010;-                break;&#010;-            default:&#010;-                break;&#010;-            }&#010;-&#010;-            sb.append(checkWildcard);&#010;-            position++;&#010;-        }&#010;-        value = sb.toString();&#010;-&#010;-        if (ignoreCase)&#010;-        {&#010;-            if (adapter.useIlike() &amp;&amp; !replaceWithEquals)&#010;-            {&#010;-                if (SqlEnum.LIKE.equals(whereClausePart.getOperator()))&#010;-                {&#010;-                    whereClausePart.setOperator(SqlEnum.ILIKE);&#010;-                }&#010;-                else if (SqlEnum.NOT_LIKE.equals(whereClausePart.getOperator()))&#010;-                {&#010;-                    whereClausePart.setOperator(SqlEnum.NOT_ILIKE);&#010;-                }&#010;-            }&#010;-            else&#010;-            {&#010;-                // no native case insensitive like is offered by the DB,&#010;-                // or the LIKE was replaced with equals.&#010;-                // need to ignore case manually.&#010;-                whereClausePart.setLValue(&#010;-                        adapter.ignoreCase((String) whereClausePart.getLValue()));&#010;-            }&#010;-        }&#010;-&#010;-        PreparedStatementPart result = new PreparedStatementPart();&#010;-        result.getSql().append(whereClausePart.getLValue());&#010;-&#010;-        if (replaceWithEquals)&#010;-        {&#010;-            if (whereClausePart.getOperator().equals(SqlEnum.NOT_LIKE)&#010;-                    || whereClausePart.getOperator().equals(SqlEnum.NOT_ILIKE))&#010;-            {&#010;-                result.getSql().append(SqlEnum.NOT_EQUAL);&#010;-            }&#010;-            else&#010;-            {&#010;-                result.getSql().append(SqlEnum.EQUAL);&#010;-            }&#010;-&#010;-            // remove escape backslashes from String&#010;-            position = 0;&#010;-            sb = new StringBuffer();&#010;-            while (position &lt; value.length())&#010;-            {&#010;-                char checkWildcard = value.charAt(position);&#010;-&#010;-                if (checkWildcard == BACKSLASH&#010;-                        &amp;&amp; position + 1 &lt; value.length())&#010;-                {&#010;-                    position++;&#010;-                    // code below copies escaped character into sb&#010;-                    checkWildcard = value.charAt(position);&#010;-                }&#010;-                sb.append(checkWildcard);&#010;-                position++;&#010;-            }&#010;-            value = sb.toString();&#010;-        }&#010;-        else&#010;-        {&#010;-            result.getSql().append(whereClausePart.getOperator());&#010;-        }&#010;-&#010;-        String rValueSql = "?";&#010;-        // handle ignoreCase if necessary&#010;-        if (ignoreCase &amp;&amp; (!(adapter.useIlike()) || replaceWithEquals))&#010;-        {&#010;-            rValueSql = adapter.ignoreCase(rValueSql);&#010;-        }&#010;-        // handle escape clause if necessary&#010;-        if (!replaceWithEquals &amp;&amp; adapter.useEscapeClauseForLike())&#010;-        {&#010;-            rValueSql = rValueSql + SqlEnum.ESCAPE + "'\\'";&#010;-        }&#010;-&#010;-        result.getPreparedStatementReplacements().add(value);&#010;-        result.getSql().append(rValueSql);&#010;-        return result;&#010;-    }&#010;-&#010;-    /**&#010;-     * Takes a columnName and criteria and&#010;-     * builds a SQL 'IN' expression taking into account the ignoreCase&#010;-     * flag.&#010;-     *&#010;-     * @param whereClausePart the part of the where clause to build.&#010;-     *        Can be modified in this method.&#010;-     * @param ignoreCase If true and columns represent Strings, the appropriate&#010;-     *        function defined for the database will be used to ignore&#010;-     *        differences in case.&#010;-     * @param adapter The adapter for the database for which the SQL&#010;-     *        should be created, not null.&#010;-     *&#010;-     * @return the built part.&#010;-     *&#010;-     * @deprecated remove when util.Criteria is removed&#010;-     */&#010;-    @Deprecated&#010;-    static PreparedStatementPart buildPsIn(&#010;-            WhereClauseExpression whereClausePart,&#010;-            boolean ignoreCase,&#010;-            Adapter adapter)&#010;-    {&#010;-        PreparedStatementPart result = new PreparedStatementPart();&#010;-&#010;-        boolean ignoreCaseApplied = false;&#010;-        List&lt;String&gt; inClause = new ArrayList&lt;String&gt;();&#010;-        boolean nullContained = false;&#010;-        if (whereClausePart.getRValue() instanceof Iterable)&#010;-        {&#010;-            for (Object listValue : (Iterable&lt;?&gt;) whereClausePart.getRValue())&#010;-            {&#010;-                if (listValue == null)&#010;-                {&#010;-                    nullContained = true;&#010;-                    continue;&#010;-                }&#010;-                result.getPreparedStatementReplacements().add(listValue);&#010;-                if (ignoreCase &amp;&amp; listValue instanceof String)&#010;-                {&#010;-                    inClause.add(adapter.ignoreCase("?"));&#010;-                    ignoreCaseApplied = true;&#010;-                }&#010;-                else&#010;-                {&#010;-                    inClause.add("?");&#010;-                }&#010;-            }&#010;-        }&#010;-        else if (whereClausePart.getRValue().getClass().isArray())&#010;-        {&#010;-            for (Object arrayValue : (Object[]) whereClausePart.getRValue())&#010;-            {&#010;-                if (arrayValue == null)&#010;-                {&#010;-                    nullContained = true;&#010;-                    continue;&#010;-                }&#010;-                result.getPreparedStatementReplacements().add(arrayValue);&#010;-                if (ignoreCase &amp;&amp; arrayValue instanceof String)&#010;-                {&#010;-                    inClause.add(adapter.ignoreCase("?"));&#010;-                    ignoreCaseApplied = true;&#010;-                }&#010;-                else&#010;-                {&#010;-                    inClause.add("?");&#010;-                }&#010;-            }&#010;-        }&#010;-        else&#010;-        {&#010;-            throw new IllegalArgumentException(&#010;-                    "Unknown rValue type "&#010;-                    + whereClausePart.getRValue().getClass().getName()&#010;-                    + ". rValue must be an instance of "&#010;-                    + " Iterable or Array");&#010;-        }&#010;-&#010;-        if (nullContained)&#010;-        {&#010;-            result.getSql().append('(');&#010;-        }&#010;-&#010;-        if (ignoreCaseApplied)&#010;-        {&#010;-            result.getSql().append(&#010;-                    adapter.ignoreCase((String) whereClausePart.getLValue()));&#010;-        }&#010;-        else&#010;-        {&#010;-            result.getSql().append(whereClausePart.getLValue());&#010;-        }&#010;-&#010;-        result.getSql().append(whereClausePart.getOperator())&#010;-                .append('(')&#010;-                .append(StringUtils.join(inClause.iterator(), ","))&#010;-                .append(')');&#010;-        if (nullContained)&#010;-        {&#010;-            if (whereClausePart.getOperator() == SqlEnum.IN)&#010;-            {&#010;-                result.getSql().append(Criterion.OR)&#010;-                    .append(whereClausePart.getLValue()).append(SqlEnum.ISNULL);&#010;-            }&#010;-            else if (whereClausePart.getOperator() == SqlEnum.NOT_IN)&#010;-            {&#010;-                result.getSql().append(Criterion.AND)&#010;-                    .append(whereClausePart.getLValue()).append(&#010;-                            SqlEnum.ISNOTNULL);&#010;-            }&#010;-            result.getSql().append(')');&#010;-        }&#010;-        return result;&#010;-    }&#010; }&#010;&#010;Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/sql/objectbuilder/ObjectOrColumnPsPartBuilder.java&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/sql/objectbuilder/ObjectOrColumnPsPartBuilder.java?rev=1484252&amp;r1=1484251&amp;r2=1484252&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/sql/objectbuilder/ObjectOrColumnPsPartBuilder.java (original)&#010;+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/sql/objectbuilder/ObjectOrColumnPsPartBuilder.java Sun May 19 09:58:00 2013&#010;@@ -52,8 +52,8 @@ public class ObjectOrColumnPsPartBuilder&#010;      */&#010;     public PreparedStatementPart buildPs(&#010;             Object toBuildFrom,&#010;-            boolean ignoreCase,&#010;-            Adapter adapter)&#010;+            final boolean ignoreCase,&#010;+            final Adapter adapter)&#010;         throws TorqueException&#010;     {&#010;         PreparedStatementPart result = new PreparedStatementPart();&#010;@@ -84,16 +84,6 @@ public class ObjectOrColumnPsPartBuilder&#010;             return result;&#010;         }&#010; &#010;-        if (toBuildFrom instanceof org.apache.torque.util.Criteria)&#010;-        {&#010;-            Query subquery = SqlBuilder.buildQuery(&#010;-                    (org.apache.torque.util.Criteria) toBuildFrom);&#010;-            result.getPreparedStatementReplacements().addAll(&#010;-                    subquery.getPreparedStatementReplacements());&#010;-            result.getSql().append("(").append(subquery.toString()).append(")");&#010;-            return result;&#010;-        }&#010;-&#010;         if (toBuildFrom.equals(&#010;                 SqlEnum.CURRENT_DATE)&#010;                 || toBuildFrom.equals(&#010;&#010;Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/BasePeerImpl.java&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/BasePeerImpl.java?rev=1484252&amp;r1=1484251&amp;r2=1484252&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/BasePeerImpl.java (original)&#010;+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/BasePeerImpl.java Sun May 19 09:58:00 2013&#010;@@ -41,6 +41,8 @@ import org.apache.torque.Torque;&#010; import org.apache.torque.TorqueException;&#010; import org.apache.torque.adapter.Adapter;&#010; import org.apache.torque.adapter.IDMethod;&#010;+import org.apache.torque.criteria.Criteria;&#010;+import org.apache.torque.criteria.Criterion;&#010; import org.apache.torque.criteria.FromElement;&#010; import org.apache.torque.map.ColumnMap;&#010; import org.apache.torque.map.MapHelper;&#010;@@ -107,7 +109,7 @@ public class BasePeerImpl&lt;T&gt; implements &#010;      * @param tableMap the default table map&#010;      * @param databaseName the name of the database&#010;      */&#010;-    public BasePeerImpl(RecordMapper&lt;T&gt; recordMapper, TableMap tableMap, String databaseName)&#010;+    public BasePeerImpl(final RecordMapper&lt;T&gt; recordMapper, final TableMap tableMap, final String databaseName)&#010;     {&#010;         this();&#010;         setRecordMapper(recordMapper);&#010;@@ -120,7 +122,7 @@ public class BasePeerImpl&lt;T&gt; implements &#010;      *&#010;      * @param recordMapper the recordMapper to set&#010;      */&#010;-    public void setRecordMapper(RecordMapper&lt;T&gt; recordMapper)&#010;+    public void setRecordMapper(final RecordMapper&lt;T&gt; recordMapper)&#010;     {&#010;         this.recordMapper = recordMapper;&#010;     }&#010;@@ -145,7 +147,7 @@ public class BasePeerImpl&lt;T&gt; implements &#010;      *&#010;      * @param tableMap the tableMap to set&#010;      */&#010;-    public void setTableMap(TableMap tableMap)&#010;+    public void setTableMap(final TableMap tableMap)&#010;     {&#010;         this.tableMap = tableMap;&#010;     }&#010;@@ -170,7 +172,7 @@ public class BasePeerImpl&lt;T&gt; implements &#010;      *&#010;      * @param databaseName the databaseName to set&#010;      */&#010;-    public void setDatabaseName(String databaseName)&#010;+    public void setDatabaseName(final String databaseName)&#010;     {&#010;         this.databaseName = databaseName;&#010;     }&#010;@@ -191,132 +193,6 @@ public class BasePeerImpl&lt;T&gt; implements &#010;     }&#010; &#010;     /**&#010;-     * Convenience method to create a String array of criteria keys.&#010;-     *&#010;-     * @param tableName Name of table.&#010;-     * @param columnNames A String[].&#010;-     * @return A String[].&#010;-     *&#010;-     * @deprecated This method is not used any more and will be removed in a&#010;-     *             future version of Torque.&#010;-     */&#010;-    @Deprecated&#010;-    public String[] initCriteriaKeys(&#010;-        String tableName,&#010;-        String[] columnNames)&#010;-    {&#010;-        String[] keys = new String[columnNames.length];&#010;-        for (int i = 0; i &lt; columnNames.length; i++)&#010;-        {&#010;-            keys[i] = tableName + "." + columnNames[i].toUpperCase();&#010;-        }&#010;-        return keys;&#010;-    }&#010;-&#010;-    /**&#010;-     * Convenience method that uses straight JDBC to delete multiple&#010;-     * rows.&#010;-     *&#010;-     * @param con A Connection.&#010;-     * @param table The table to delete records from.&#010;-     * @param column The column in the where clause.&#010;-     * @param value The value of the column.&#010;-     *&#010;-     * @return the number of deleted rows.&#010;-     *&#010;-     * @throws TorqueException Any exceptions caught during processing will be&#010;-     *         rethrown wrapped into a TorqueException.&#010;-     *&#010;-     * @deprecated The value is not SQL escaped.&#010;-     *             Better use doDelete(Criteria, String, Connection)&#010;-     *             for automatic escaping and more flexibility.&#010;-     *             This method will be removed in a future version of Torque.&#010;-     */&#010;-    @Deprecated&#010;-    public int deleteAll(&#010;-                Connection con,&#010;-                String table,&#010;-                String column,&#010;-                int value)&#010;-            throws TorqueException&#010;-    {&#010;-        Statement statement = null;&#010;-        try&#010;-        {&#010;-            statement = con.createStatement();&#010;-&#010;-            StringBuffer query = new StringBuffer();&#010;-            query.append("DELETE FROM ")&#010;-                .append(table)&#010;-                .append(" WHERE ")&#010;-                .append(column)&#010;-                .append(" = ")&#010;-                .append(value);&#010;-&#010;-            return statement.executeUpdate(query.toString());&#010;-        }&#010;-        catch (SQLException e)&#010;-        {&#010;-            throw new TorqueException(e);&#010;-        }&#010;-        finally&#010;-        {&#010;-            if (statement != null)&#010;-            {&#010;-                try&#010;-                {&#010;-                    statement.close();&#010;-                }&#010;-                catch (SQLException e)&#010;-                {&#010;-                    throw new TorqueException(e);&#010;-                }&#010;-            }&#010;-        }&#010;-    }&#010;-&#010;-    /**&#010;-     * Convenience method that uses straight JDBC to delete multiple&#010;-     * rows. This method attempts to get the default database from&#010;-     * the pool.&#010;-     *&#010;-     * @param table The table to delete records from.&#010;-     * @param column The column in the where clause.&#010;-     * @param value The value of the column.&#010;-     *&#010;-     * @return the number of deleted rows.&#010;-     *&#010;-     * @throws TorqueException Any exceptions caught during processing will be&#010;-     *         rethrown wrapped into a TorqueException.&#010;-     *&#010;-     * @deprecated The value is not SQL escaped.&#010;-     *             Better use doDelete(Criteria, String)&#010;-     *             for automatic escaping and more flexibility.&#010;-     *             This method will be removed in a future version of Torque.&#010;-     */&#010;-    @Deprecated&#010;-    public int deleteAll(String table, String column, int value)&#010;-        throws TorqueException&#010;-    {&#010;-        Connection con = null;&#010;-        try&#010;-        {&#010;-            con = Transaction.begin(Torque.getDefaultDB());&#010;-            int result = deleteAll(con, table, column, value);&#010;-            Transaction.commit(con);&#010;-            con = null;&#010;-            return result;&#010;-        }&#010;-        finally&#010;-        {&#010;-            if (con != null)&#010;-            {&#010;-                Transaction.safeRollback(con);&#010;-            }&#010;-        }&#010;-    }&#010;-&#010;-    /**&#010;      * Deletes rows from a database table.&#010;      *&#010;      * @param criteria defines the rows to be deleted, not null.&#010;@@ -326,7 +202,7 @@ public class BasePeerImpl&lt;T&gt; implements &#010;      * @throws TorqueException Any exceptions caught during processing will be&#010;      *         rethrown wrapped into a TorqueException.&#010;      */&#010;-     public int doDelete(org.apache.torque.criteria.Criteria criteria)&#010;+     public int doDelete(final Criteria criteria)&#010;              throws TorqueException&#010;      {&#010;         Connection connection = null;&#010;@@ -361,8 +237,8 @@ public class BasePeerImpl&lt;T&gt; implements &#010;      *         rethrown wrapped into a TorqueException.&#010;      */&#010;      public int doDelete(&#010;-             org.apache.torque.criteria.Criteria criteria,&#010;-             Connection connection)&#010;+             final Criteria criteria,&#010;+             final Connection connection)&#010;         throws TorqueException&#010;      {&#010;         correctBooleans(criteria);&#010;@@ -442,154 +318,6 @@ public class BasePeerImpl&lt;T&gt; implements &#010;      }&#010; &#010;     /**&#010;-     * Method to perform deletes based on conditions in a Criteria.&#010;-     *&#010;-     * @param criteria The criteria to use.&#010;-     *&#010;-     * @return the number of deleted rows.&#010;-     *&#010;-     * @throws TorqueException Any exceptions caught during processing will be&#010;-     *         rethrown wrapped into a TorqueException.&#010;-     *&#010;-     * @deprecated This method causes unexpected results when joins are used.&#010;-     *             Please use doDelete(&#010;-     *                 org.apache.torque.criteria.Criteria, TableMap).&#010;-     *             This method will be removed in a future version of Torque.&#010;-     */&#010;-    @Deprecated&#010;-    protected int doDelete(Criteria criteria) throws TorqueException&#010;-    {&#010;-        Connection con = null;&#010;-        try&#010;-        {&#010;-            con = Transaction.begin(criteria.getDbName());&#010;-            int result = doDelete(criteria, con);&#010;-            Transaction.commit(con);&#010;-            con = null;&#010;-            return result;&#010;-        }&#010;-        finally&#010;-        {&#010;-            if (con != null)&#010;-            {&#010;-                Transaction.safeRollback(con);&#010;-            }&#010;-        }&#010;-    }&#010;-&#010;-    /**&#010;-     * Method to perform deletes based on conditions a Criteria.&#010;-     *&#010;-     * @param criteria The criteria to use.&#010;-     * @param con the Connection to be used for deleting.&#010;-     *&#010;-     * @return the number of deleted rows.&#010;-     *&#010;-     * @throws TorqueException Any exceptions caught during processing will be&#010;-     *         rethrown wrapped into a TorqueException.&#010;-     *&#010;-     * @deprecated This method causes unexpected results when joins are used.&#010;-     *             Please use doDelete(&#010;-     *                 org.apache.torque.criteria.Criteria, TableMap, Connection).&#010;-     *             This method will be removed in a future version of Torque.&#010;-     */&#010;-    @Deprecated&#010;-    protected int doDelete(Criteria criteria, Connection con)&#010;-        throws TorqueException&#010;-    {&#010;-        if (criteria.values().isEmpty())&#010;-        {&#010;-            throw new TorqueException("No conditions found in Criteria");&#010;-        }&#010;-        Criteria.Criterion criterion&#010;-                = criteria.values().iterator().next();&#010;-&#010;-        TableMap tableMapFromCriteria = MapHelper.getTableMap(&#010;-                criterion.getColumn(), criteria, null);&#010;-        if (tableMapFromCriteria == null)&#010;-        {&#010;-            throw new TorqueException("Unqualified column name in criteria"&#010;-                    + " or table name not found in database map");&#010;-        }&#010;-&#010;-        Query query = SqlBuilder.buildQuery(criteria);&#010;-        query.setType(Query.Type.DELETE);&#010;-&#010;-        String fullTableName = null;&#010;-        if (tableMap != null)&#010;-        {&#010;-            fullTableName = SqlBuilder.getFullTableName(&#010;-                    tableMap.getFullyQualifiedTableName(),&#010;-                    criteria.getDbName());&#010;-        }&#010;-        else&#010;-        {&#010;-            Column column = criteria.values().iterator().next().getColumn();&#010;-            fullTableName = SqlBuilder.getFullTableName(&#010;-                    column.getFullTableName(),&#010;-                    criteria.getDbName());&#010;-        }&#010;-&#010;-        boolean ownTableAdded = false;&#010;-        for (FromElement fromElement : query.getFromClause())&#010;-        {&#010;-            // Table names are case insensitive in known databases&#010;-            // so use case-insensitive compare&#010;-            if (fullTableName.equalsIgnoreCase(fromElement.getFromExpression()))&#010;-            {&#010;-                ownTableAdded = true;&#010;-                break;&#010;-            }&#010;-        }&#010;-        if (!ownTableAdded)&#010;-        {&#010;-            query.getFromClause().add(new FromElement(fullTableName));&#010;-        }&#010;-        String sql = query.toString();&#010;-&#010;-        PreparedStatement preparedStatement = null;&#010;-        try&#010;-        {&#010;-            preparedStatement = con.prepareStatement(sql);&#010;-            List&lt;Object&gt; replacements = setPreparedStatementReplacements(&#010;-                    preparedStatement,&#010;-                    query.getPreparedStatementReplacements(),&#010;-                    0);&#010;-            long startTime = System.currentTimeMillis();&#010;-            log.debug("Executing delete " + sql&#010;-                    + ", parameters = "&#010;-                    + replacements);&#010;-&#010;-            int affectedRows = preparedStatement.executeUpdate();&#010;-            long queryEndTime = System.currentTimeMillis();&#010;-            log.trace("delete took " + (queryEndTime - startTime)&#010;-                    + " milliseconds");&#010;-&#010;-            preparedStatement.close();&#010;-            preparedStatement = null;&#010;-            return affectedRows;&#010;-        }&#010;-        catch (SQLException e)&#010;-        {&#010;-            throw ExceptionMapper.getInstance().toTorqueException(e);&#010;-        }&#010;-        finally&#010;-        {&#010;-            if (preparedStatement != null)&#010;-            {&#010;-                try&#010;-                {&#010;-                    preparedStatement.close();&#010;-                }&#010;-                catch (SQLException e)&#010;-                {&#010;-                    log.warn("error closing prepared statement", e);&#010;-                }&#010;-            }&#010;-        }&#010;-    }&#010;-&#010;-    /**&#010;      * Inserts a record into a database table.&#010;      * &lt;p&gt;&#010;      * If the primary key is included in Criteria, then that value will&#010;@@ -610,7 +338,7 @@ public class BasePeerImpl&lt;T&gt; implements &#010;      *&#010;      * @throws TorqueException if a database error occurs.&#010;      */&#010;-    public ObjectKey doInsert(ColumnValues insertValues)&#010;+    public ObjectKey doInsert(final ColumnValues insertValues)&#010;           throws TorqueException&#010;     {&#010;         String databaseNameFromInsertValues = insertValues.getDbName();&#010;@@ -659,8 +387,8 @@ public class BasePeerImpl&lt;T&gt; implements &#010;      * @throws TorqueException if a database error occurs.&#010;      */&#010;     public ObjectKey doInsert(&#010;-                ColumnValues insertValues,&#010;-                Connection connection)&#010;+                final ColumnValues insertValues,&#010;+                final Connection connection)&#010;             throws TorqueException&#010;     {&#010;         if (insertValues == null)&#010;@@ -850,10 +578,10 @@ public class BasePeerImpl&lt;T&gt; implements &#010;      * @throws TorqueException Possible errors get wrapped in here.&#010;      */&#010;     private SimpleKey getId(&#010;-                ColumnMap pk,&#010;-                IdGenerator keyGen,&#010;-                Connection con,&#010;-                Object keyInfo)&#010;+                final ColumnMap pk,&#010;+                final IdGenerator keyGen,&#010;+                final Connection con,&#010;+                final Object keyInfo)&#010;             throws TorqueException&#010;     {&#010;         SimpleKey id = null;&#010;@@ -880,7 +608,7 @@ public class BasePeerImpl&lt;T&gt; implements &#010;      * @param criteria the Criteria to which the select columns should&#010;      *        be added.&#010;      */&#010;-    public void addSelectColumns(org.apache.torque.criteria.Criteria criteria)&#010;+    public void addSelectColumns(final Criteria criteria)&#010;     {&#010;         ColumnMap[] columns = this.tableMap.getColumns();&#010; &#010;@@ -891,55 +619,6 @@ public class BasePeerImpl&lt;T&gt; implements &#010;     }&#010; &#010;     /**&#010;-     * Add all the columns needed to create a new object.&#010;-     *&#010;-     * @param criteria the Criteria to which the select columns should&#010;-     *        be added.&#010;-     *&#010;-     * @deprecated Please use addSelectColumns(&#010;-     *                 org.apache.torque.criteria.Criteria).&#010;-     *             This method will be removed in a future version of Torque.&#010;-     */&#010;-    @Deprecated&#010;-    public void addSelectColumns(Criteria criteria)&#010;-    {&#010;-        ColumnMap[] columns = this.tableMap.getColumns();&#010;-&#010;-        for (ColumnMap c : columns)&#010;-        {&#010;-            criteria.addSelectColumn(c);&#010;-        }&#010;-    }&#010;-&#010;-    /**&#010;-     * Selects objects from a database.&#010;-     *&#010;-     * @param criteria object used to create the SELECT statement.&#010;-     *&#010;-     * @return the list of selected objects, not null.&#010;-     *&#010;-     * @throws TorqueException Any exceptions caught during processing will be&#010;-     *         rethrown wrapped into a TorqueException.&#010;-     *&#010;-     * @deprecated Please use doSelect(org.apache.torque.criteria.Criteria).&#010;-     *             This method will be removed in a future version of Torque.&#010;-     */&#010;-    @Deprecated&#010;-    public List&lt;T&gt; doSelect(Criteria criteria)&#010;-            throws TorqueException&#010;-    {&#010;-        if (criteria.getSelectColumns().size() == 0)&#010;-        {&#010;-            addSelectColumns(criteria);&#010;-        }&#010;-        setDbName(criteria);&#010;-&#010;-        return doSelect(&#010;-            criteria,&#010;-            getRecordMapper());&#010;-    }&#010;-&#010;-    /**&#010;      * Selects objects from a database.&#010;      *&#010;      * @param criteria object used to create the SELECT statement.&#010;@@ -949,7 +628,7 @@ public class BasePeerImpl&lt;T&gt; implements &#010;      * @throws TorqueException Any exceptions caught during processing will be&#010;      *         rethrown wrapped into a TorqueException.&#010;      */&#010;-    public List&lt;T&gt; doSelect(org.apache.torque.criteria.Criteria criteria)&#010;+    public List&lt;T&gt; doSelect(final Criteria criteria)&#010;             throws TorqueException&#010;     {&#010;         if (criteria.getSelectColumns().size() == 0)&#010;@@ -974,44 +653,10 @@ public class BasePeerImpl&lt;T&gt; implements &#010;      *&#010;      * @throws TorqueException Any exceptions caught during processing will be&#010;      *         rethrown wrapped into a TorqueException.&#010;-     *&#010;-     * @deprecated Please use doSelect(org.apache.torque.criteria.Criteria,&#010;-     *                 Connection).&#010;-     *             This method will be removed in a future version of Torque.&#010;-     */&#010;-    @Deprecated&#010;-    public List&lt;T&gt; doSelect(&#010;-                Criteria criteria,&#010;-                Connection connection)&#010;-            throws TorqueException&#010;-    {&#010;-        if (criteria.getSelectColumns().size() == 0)&#010;-        {&#010;-            addSelectColumns(criteria);&#010;-        }&#010;-        setDbName(criteria);&#010;-&#010;-        return doSelect(&#010;-                criteria,&#010;-                getRecordMapper(),&#010;-                connection);&#010;-    }&#010;-&#010;-    /**&#010;-     * Selects objects from a database&#010;-     * within a transaction.&#010;-     *&#010;-     * @param criteria object used to create the SELECT statement.&#010;-     * @param connection the connection to use, not null.&#010;-     *&#010;-     * @return the list of selected objects, not null.&#010;-     *&#010;-     * @throws TorqueException Any exceptions caught during processing will be&#010;-     *         rethrown wrapped into a TorqueException.&#010;      */&#010;     public List&lt;T&gt; doSelect(&#010;-                org.apache.torque.criteria.Criteria criteria,&#010;-                Connection connection)&#010;+                final Criteria criteria,&#010;+                final Connection connection)&#010;             throws TorqueException&#010;     {&#010;         if (criteria.getSelectColumns().size() == 0)&#010;@@ -1036,7 +681,7 @@ public class BasePeerImpl&lt;T&gt; implements &#010;      * @throws TorqueException If more than one record is selected or if&#010;      *         an error occurs when processing the query.&#010;      */&#010;-    public T doSelectSingleRecord(org.apache.torque.criteria.Criteria criteria)&#010;+    public T doSelectSingleRecord(final Criteria criteria)&#010;             throws TorqueException&#010;     {&#010;         List&lt;T&gt; recordList = doSelect(criteria);&#010;@@ -1066,8 +711,8 @@ public class BasePeerImpl&lt;T&gt; implements &#010;      *         an error occurs when processing the query.&#010;      */&#010;     public T doSelectSingleRecord(&#010;-                org.apache.torque.criteria.Criteria criteria,&#010;-                Connection connection)&#010;+                final Criteria criteria,&#010;+                final Connection connection)&#010;             throws TorqueException&#010;     {&#010;         List&lt;T&gt; recordList = doSelect(criteria, connection);&#010;@@ -1094,54 +739,10 @@ public class BasePeerImpl&lt;T&gt; implements &#010;      * @return The results of the query, not null.&#010;      *&#010;      * @throws TorqueException if querying the database fails.&#010;-     *&#010;-     * @deprecated Please use doSelect(org.apache.torque.criteria.Criteria,&#010;-     *                 RecordMapper).&#010;-     *             This method will be removed in a future version of Torque.&#010;      */&#010;-    @Deprecated&#010;     public &lt;TT&gt; List&lt;TT&gt; doSelect(&#010;-                Criteria criteria,&#010;-                RecordMapper&lt;TT&gt; mapper)&#010;-            throws TorqueException&#010;-    {&#010;-        Connection connection = null;&#010;-        try&#010;-        {&#010;-            connection = Transaction.begin(criteria.getDbName());&#010;-&#010;-            List&lt;TT&gt; result = doSelect(&#010;-                    criteria,&#010;-                    mapper,&#010;-                    connection);&#010;-&#010;-            Transaction.commit(connection);&#010;-            connection = null;&#010;-            return result;&#010;-        }&#010;-        finally&#010;-        {&#010;-            if (connection != null)&#010;-            {&#010;-                Transaction.safeRollback(connection);&#010;-            }&#010;-        }&#010;-    }&#010;-&#010;-    /**&#010;-     * Selects rows from a database an maps them to objects.&#010;-     *&#010;-     * @param criteria A Criteria specifying the records to select, not null.&#010;-     * @param mapper The mapper creating the objects from the resultSet,&#010;-     *        not null.&#010;-     *&#010;-     * @return The results of the query, not null.&#010;-     *&#010;-     * @throws TorqueException if querying the database fails.&#010;-     */&#010;-    public &lt;TT&gt; List&lt;TT&gt; doSelect(&#010;-                org.apache.torque.criteria.Criteria criteria,&#010;-                RecordMapper&lt;TT&gt; mapper)&#010;+                final Criteria criteria,&#010;+                final RecordMapper&lt;TT&gt; mapper)&#010;             throws TorqueException&#010;     {&#010;         Connection connection = null;&#010;@@ -1176,7 +777,7 @@ public class BasePeerImpl&lt;T&gt; implements &#010;      *&#010;      * @throws TorqueException if querying the database fails.&#010;      */&#010;-    public List&lt;T&gt; doSelect(String query)&#010;+    public List&lt;T&gt; doSelect(final String query)&#010;             throws TorqueException&#010;     {&#010;         return doSelect(&#010;@@ -1196,8 +797,8 @@ public class BasePeerImpl&lt;T&gt; implements &#010;      * @throws TorqueException if querying the database fails.&#010;      */&#010;     public List&lt;T&gt; doSelect(&#010;-                String query,&#010;-                Connection connection)&#010;+                final String query,&#010;+                final Connection connection)&#010;             throws TorqueException&#010;     {&#010;         return doSelect(&#010;@@ -1220,9 +821,9 @@ public class BasePeerImpl&lt;T&gt; implements &#010;      * @throws TorqueException if querying the database fails.&#010;      */&#010;     public &lt;TT&gt; List&lt;TT&gt; doSelect(&#010;-                String query,&#010;-                RecordMapper&lt;TT&gt; mapper,&#010;-                String dbName)&#010;+                final String query,&#010;+                final RecordMapper&lt;TT&gt; mapper,&#010;+                final String dbName)&#010;             throws TorqueException&#010;     {&#010;         Connection connection = null;&#010;@@ -1259,197 +860,43 @@ public class BasePeerImpl&lt;T&gt; implements &#010;      *        not null.&#010;      * @param connection the database connection, not null.&#010;      *&#010;-     * @return The results of the query, not null.&#010;-     *&#010;-     * @throws TorqueException if querying the database fails.&#010;-     */&#010;-    public &lt;TT&gt; List&lt;TT&gt; doSelect(&#010;-                String query,&#010;-                RecordMapper&lt;TT&gt; mapper,&#010;-                Connection connection)&#010;-            throws TorqueException&#010;-    {&#010;-        if (connection == null)&#010;-        {&#010;-            throw new NullPointerException("connection is null");&#010;-        }&#010;-&#010;-        List&lt;TT&gt; result = new ArrayList&lt;TT&gt;();&#010;-        Statement statement = null;&#010;-        ResultSet resultSet = null;&#010;-        try&#010;-        {&#010;-            statement = connection.createStatement();&#010;-            long startTime = System.currentTimeMillis();&#010;-            log.debug("Executing query " + query);&#010;-&#010;-            resultSet = statement.executeQuery(query.toString());&#010;-            long queryEndTime = System.currentTimeMillis();&#010;-            log.trace("query took " + (queryEndTime - startTime)&#010;-                    + " milliseconds");&#010;-&#010;-            while (resultSet.next())&#010;-            {&#010;-                TT rowResult = mapper.processRow(resultSet, 0, null);&#010;-                result.add(rowResult);&#010;-            }&#010;-            long mappingEndTime = System.currentTimeMillis();&#010;-            log.trace("mapping took " + (mappingEndTime - queryEndTime)&#010;-                    + " milliseconds");&#010;-        }&#010;-        catch (SQLException e)&#010;-        {&#010;-            throw ExceptionMapper.getInstance().toTorqueException(e);&#010;-        }&#010;-        finally&#010;-        {&#010;-            if (resultSet != null)&#010;-            {&#010;-                try&#010;-                {&#010;-                    resultSet.close();&#010;-                }&#010;-                catch (SQLException e)&#010;-                {&#010;-                    log.warn("error closing resultSet", e);&#010;-                }&#010;-            }&#010;-            if (statement != null)&#010;-            {&#010;-                try&#010;-                {&#010;-                    statement.close();&#010;-                }&#010;-                catch (SQLException e)&#010;-                {&#010;-                    log.warn("error closing statement", e);&#010;-                }&#010;-            }&#010;-        }&#010;-        return result;&#010;-    }&#010;-&#010;-    /**&#010;-     * Performs a SQL &lt;code&gt;select&lt;/code&gt; using a PreparedStatement.&#010;-     *&#010;-     * @param criteria A Criteria specifying the records to select, not null.&#010;-     * @param mapper The mapper creating the objects from the resultSet,&#010;-     *        not null.&#010;-     * @param connection the database connection for selecting records,&#010;-     *        not null.&#010;-     *&#010;-     * @return The results of the query, not null.&#010;-     *&#010;-     * @throws TorqueException Error performing database query.&#010;-     *&#010;-     * @deprecated Please use doSelect(org.apache.torque.criteria.Criteria,&#010;-     *                 RecordMapper, Connection).&#010;-     *             This method will be removed in a future version of Torque.&#010;-     */&#010;-    @Deprecated&#010;-    public &lt;TT&gt; List&lt;TT&gt; doSelect(&#010;-            Criteria criteria,&#010;-            RecordMapper&lt;TT&gt; mapper,&#010;-            Connection connection)&#010;-        throws TorqueException&#010;-    {&#010;-        correctBooleans(criteria);&#010;-&#010;-        Query query = SqlBuilder.buildQuery(criteria);&#010;-        if (query.getFromClause().isEmpty())&#010;-        {&#010;-            String tableName = SqlBuilder.getFullTableName(&#010;-                    getTableMap().getFullyQualifiedTableName(),&#010;-                    criteria.getDbName());&#010;-            query.getFromClause().add(new FromElement(tableName));&#010;-        }&#010;-&#010;-        PreparedStatement statement = null;&#010;-        ResultSet resultSet = null;&#010;-        try&#010;-        {&#010;-            statement = connection.prepareStatement(query.toString());&#010;-&#010;-            List&lt;Object&gt; replacements = setPreparedStatementReplacements(&#010;-                    statement,&#010;-                    query.getPreparedStatementReplacements(),&#010;-                    0);&#010;-&#010;-            long startTime = System.currentTimeMillis();&#010;-            log.debug("Executing query " + query&#010;-                    + ", parameters = "&#010;-                    + replacements);&#010;-&#010;-            resultSet = statement.executeQuery();&#010;-            long queryEndTime = System.currentTimeMillis();&#010;-            log.trace("query took " + (queryEndTime - startTime)&#010;-                    + " milliseconds");&#010;-&#010;-            long offset;&#010;-            Database database = Torque.getDatabase(criteria.getDbName());&#010;-            if (database.getAdapter().supportsNativeOffset())&#010;-            {&#010;-                offset = 0; //database takes care of offset&#010;-            }&#010;-            else&#010;-            {&#010;-                offset = criteria.getOffset();&#010;-            }&#010;-&#010;-            long limit;&#010;-            if (database.getAdapter().supportsNativeLimit())&#010;-            {&#010;-                limit = -1; //database takes care of offset&#010;-            }&#010;-            else&#010;-            {&#010;-                if (database.getAdapter().supportsNativeOffset())&#010;-                {&#010;-                    limit = criteria.getLimit();&#010;-                }&#010;-                else&#010;-                {&#010;-                    if (criteria.getLimit() == -1)&#010;-                    {&#010;-                        limit = criteria.getLimit();&#010;-                    }&#010;-                    else&#010;-                    {&#010;-                        limit = offset + criteria.getLimit();&#010;-                    }&#010;-                }&#010;-            }&#010;+     * @return The results of the query, not null.&#010;+     *&#010;+     * @throws TorqueException if querying the database fails.&#010;+     */&#010;+    public &lt;TT&gt; List&lt;TT&gt; doSelect(&#010;+                final String query,&#010;+                final RecordMapper&lt;TT&gt; mapper,&#010;+                final Connection connection)&#010;+            throws TorqueException&#010;+    {&#010;+        if (connection == null)&#010;+        {&#010;+            throw new NullPointerException("connection is null");&#010;+        }&#010;+&#010;+        List&lt;TT&gt; result = new ArrayList&lt;TT&gt;();&#010;+        Statement statement = null;&#010;+        ResultSet resultSet = null;&#010;+        try&#010;+        {&#010;+            statement = connection.createStatement();&#010;+            long startTime = System.currentTimeMillis();&#010;+            log.debug("Executing query " + query);&#010;+&#010;+            resultSet = statement.executeQuery(query.toString());&#010;+            long queryEndTime = System.currentTimeMillis();&#010;+            log.trace("query took " + (queryEndTime - startTime)&#010;+                    + " milliseconds");&#010; &#010;-            List&lt;TT&gt; result = new ArrayList&lt;TT&gt;();&#010;-            int rowNumber = 0;&#010;             while (resultSet.next())&#010;             {&#010;-                if (rowNumber &lt; offset)&#010;-                {&#010;-                    rowNumber++;&#010;-                    continue;&#010;-                }&#010;-                if (limit &gt;= 0 &amp;&amp; rowNumber &gt;= limit)&#010;-                {&#010;-                    break;&#010;-                }&#010;-&#010;-                TT rowResult = mapper.processRow(resultSet, 0, criteria);&#010;+                TT rowResult = mapper.processRow(resultSet, 0, null);&#010;                 result.add(rowResult);&#010;-&#010;-                rowNumber++;&#010;             }&#010;             long mappingEndTime = System.currentTimeMillis();&#010;             log.trace("mapping took " + (mappingEndTime - queryEndTime)&#010;                     + " milliseconds");&#010;-&#010;-            if (criteria.isSingleRecord() &amp;&amp; result.size() &gt; 1)&#010;-            {&#010;-                throw new TooManyRowsException(&#010;-                        "Criteria expected single Record and "&#010;-                        + "Multiple Records were selected");&#010;-            }&#010;-            return result;&#010;         }&#010;         catch (SQLException e)&#010;         {&#010;@@ -1480,6 +927,7 @@ public class BasePeerImpl&lt;T&gt; implements &#010;                 }&#010;             }&#010;         }&#010;+        return result;&#010;     }&#010; &#010;     /**&#010;@@ -1496,9 +944,9 @@ public class BasePeerImpl&lt;T&gt; implements &#010;      * @throws TorqueException Error performing database query.&#010;      */&#010;     public &lt;TT&gt; List&lt;TT&gt; doSelect(&#010;-                org.apache.torque.criteria.Criteria criteria,&#010;-                RecordMapper&lt;TT&gt; mapper,&#010;-                Connection connection)&#010;+                final Criteria criteria,&#010;+                final RecordMapper&lt;TT&gt; mapper,&#010;+                final Connection connection)&#010;             throws TorqueException&#010;     {&#010;         correctBooleans(criteria);&#010;@@ -1646,8 +1094,8 @@ public class BasePeerImpl&lt;T&gt; implements &#010;      * @throws TorqueException if querying the database fails.&#010;      */&#010;     public &lt;TT&gt; TT doSelectSingleRecord(&#010;-                org.apache.torque.criteria.Criteria criteria,&#010;-                RecordMapper&lt;TT&gt; mapper)&#010;+                final Criteria criteria,&#010;+                final RecordMapper&lt;TT&gt; mapper)&#010;             throws TorqueException&#010;     {&#010;         List&lt;TT&gt; resultList = doSelect(criteria, mapper);&#010;@@ -1677,9 +1125,9 @@ public class BasePeerImpl&lt;T&gt; implements &#010;      * @throws TorqueException if querying the database fails.&#010;      */&#010;     public &lt;TT&gt; TT doSelectSingleRecord(&#010;-                org.apache.torque.criteria.Criteria criteria,&#010;-                RecordMapper&lt;TT&gt; mapper,&#010;-                Connection connection)&#010;+                final Criteria criteria,&#010;+                final RecordMapper&lt;TT&gt; mapper,&#010;+                final Connection connection)&#010;             throws TorqueException&#010;     {&#010;         List&lt;TT&gt; resultList = doSelect(&#010;@@ -1722,7 +1170,7 @@ public class BasePeerImpl&lt;T&gt; implements &#010;      * @throws TorqueException Any exceptions caught during processing will be&#010;      *         rethrown wrapped into a TorqueException.&#010;      */&#010;-    public int doUpdate(ColumnValues updateValues)&#010;+    public int doUpdate(final ColumnValues updateValues)&#010;             throws TorqueException&#010;     {&#010;         String databaseNameFromUpdateValues = updateValues.getDbName();&#010;@@ -1773,16 +1221,16 @@ public class BasePeerImpl&lt;T&gt; implements &#010;      *         rethrown wrapped into a TorqueException.&#010;      */&#010;     public int doUpdate(&#010;-                ColumnValues updateValues,&#010;-                Connection connection)&#010;+                final ColumnValues updateValues,&#010;+                final Connection connection)&#010;             throws TorqueException&#010;     {&#010;         ColumnMap pk = getTableMap().getPrimaryKey();&#010;-        org.apache.torque.criteria.Criteria selectCriteria = null;&#010;+        Criteria selectCriteria = null;&#010; &#010;         if (pk != null &amp;&amp; updateValues.containsKey(pk.getSqlExpression()))&#010;         {&#010;-            selectCriteria = new org.apache.torque.criteria.Criteria();&#010;+            selectCriteria = new Criteria();&#010;             selectCriteria.where(pk,&#010;                 updateValues.remove(pk.getSqlExpression()));&#010;         }&#010;@@ -1806,56 +1254,10 @@ public class BasePeerImpl&lt;T&gt; implements &#010;      * @return the number of affected rows.&#010;      *&#010;      * @throws TorqueException if updating fails.&#010;-     *&#010;-     * @deprecated Please use doUpdate(&#010;-     *                 org.apache.torque.criteria.Criteria, ColumnValues).&#010;-     *             This method will be removed in a future version of Torque.&#010;-     */&#010;-    @Deprecated&#010;-    public int doUpdate(&#010;-                Criteria selectCriteria,&#010;-                ColumnValues updateValues)&#010;-            throws TorqueException&#010;-    {&#010;-        String databaseNameFromUpdateValues = updateValues.getDbName();&#010;-        if (databaseNameFromUpdateValues == null)&#010;-        {&#010;-            databaseNameFromUpdateValues = getDatabaseName();&#010;-        }&#010;-        Connection connection = null;&#010;-        try&#010;-        {&#010;-            connection = Transaction.begin(databaseNameFromUpdateValues);&#010;-            int result = doUpdate(selectCriteria, updateValues, connection);&#010;-            Transaction.commit(connection);&#010;-            connection = null;&#010;-            return result;&#010;-        }&#010;-        finally&#010;-        {&#010;-            if (connection != null)&#010;-            {&#010;-                Transaction.safeRollback(connection);&#010;-            }&#010;-        }&#010;-    }&#010;-&#010;-    /**&#010;-     * Executes an update against the database. The rows to be updated&#010;-     * are selected using &lt;code&gt;criteria&lt;/code&gt; and updated using the values&#010;-     * in &lt;code&gt;updateValues&lt;/code&gt;.&#010;-     *&#010;-     * @param selectCriteria selects which rows of which table&#010;-     *        should be updated, not null.&#010;-     * @param updateValues Which columns to update with which values, not null.&#010;-     *&#010;-     * @return the number of affected rows.&#010;-     *&#010;-     * @throws TorqueException if updating fails.&#010;      */&#010;     public int doUpdate(&#010;-                org.apache.torque.criteria.Criteria selectCriteria,&#010;-                ColumnValues updateValues)&#010;+                final Criteria selectCriteria,&#010;+                final ColumnValues updateValues)&#010;             throws TorqueException&#010;     {&#010;         String databaseNameFromUpdateValues = updateValues.getDbName();&#010;@@ -1893,113 +1295,11 @@ public class BasePeerImpl&lt;T&gt; implements &#010;      * @return the number of affected rows.&#010;      *&#010;      * @throws TorqueException if updating fails.&#010;-     *&#010;-     * @deprecated Please use doUpdate(org.apache.torque.criteria.Criteria,&#010;-     *                 ColumnValues, Connection).&#010;-     *             This method will be removed in a future version of Torque.&#010;-     */&#010;-    @Deprecated&#010;-    public int doUpdate(&#010;-                Criteria criteria,&#010;-                ColumnValues updateValues,&#010;-                Connection connection)&#010;-            throws TorqueException&#010;-    {&#010;-        Query query = SqlBuilder.buildQuery(criteria);&#010;-        query.setType(Query.Type.UPDATE);&#010;-&#010;-        query.getFromClause().clear();&#010;-        String fullTableName = SqlBuilder.getFullTableName(&#010;-                getTableMap().getFullyQualifiedTableName(),&#010;-                criteria.getDbName());&#010;-        query.getFromClause().add(new FromElement(fullTableName));&#010;-&#010;-        List&lt;JdbcTypedValue&gt; replacementObjects&#010;-                = new ArrayList&lt;JdbcTypedValue&gt;();&#010;-        for (Map.Entry&lt;Column, JdbcTypedValue&gt; updateValue&#010;-                : updateValues.entrySet())&#010;-        {&#010;-            Column column = updateValue.getKey();&#010;-            query.getSelectClause().add(column.getColumnName());&#010;-            replacementObjects.add(updateValue.getValue());&#010;-        }&#010;-&#010;-        PreparedStatement preparedStatement = null;&#010;-        try&#010;-        {&#010;-            preparedStatement = connection.prepareStatement(query.toString());&#010;-            int position = 1;&#010;-            for (JdbcTypedValue replacementObject : replacementObjects)&#010;-            {&#010;-                Object value = replacementObject.getValue();&#010;-                if (value != null)&#010;-                {&#010;-                    preparedStatement.setObject(position, value);&#010;-                }&#010;-                else&#010;-                {&#010;-                    preparedStatement.setNull(&#010;-                            position,&#010;-                            replacementObject.getJdbcType());&#010;-                }&#010;-                position++;&#010;-            }&#010;-            List&lt;Object&gt; replacements = setPreparedStatementReplacements(&#010;-                    preparedStatement,&#010;-                    query.getPreparedStatementReplacements(),&#010;-                    position - 1);&#010;-            long startTime = System.currentTimeMillis();&#010;-            log.debug("Executing update " + query.toString()&#010;-                    + " using update parameters " + replacementObjects&#010;-                    + " and query parameters "&#010;-                    + replacements);&#010;-&#010;-            int affectedRows = preparedStatement.executeUpdate();&#010;-            long queryEndTime = System.currentTimeMillis();&#010;-            log.trace("update took " + (queryEndTime - startTime)&#010;-                    + " milliseconds");&#010;-&#010;-            preparedStatement.close();&#010;-            preparedStatement = null;&#010;-            return affectedRows;&#010;-        }&#010;-        catch (SQLException e)&#010;-        {&#010;-            throw ExceptionMapper.getInstance().toTorqueException(e);&#010;-        }&#010;-        finally&#010;-        {&#010;-            if (preparedStatement != null)&#010;-            {&#010;-                try&#010;-                {&#010;-                    preparedStatement.close();&#010;-                }&#010;-                catch (SQLException e)&#010;-                {&#010;-                    log.warn("error closing prepared statement", e);&#010;-                }&#010;-            }&#010;-        }&#010;-    }&#010;-&#010;-    /**&#010;-     * Executes an update against the database. The rows to be updated&#010;-     * are selected using &lt;code&gt;criteria&lt;/code&gt; and updated using the values&#010;-     * in &lt;code&gt;updateValues&lt;/code&gt;.&#010;-     *&#010;-     * @param criteria selects which rows of which table should be updated.&#010;-     * @param updateValues Which columns to update with which values, not null.&#010;-     * @param connection the database connection to use, not null.&#010;-     *&#010;-     * @return the number of affected rows.&#010;-     *&#010;-     * @throws TorqueException if updating fails.&#010;      */&#010;     public int doUpdate(&#010;-                org.apache.torque.criteria.Criteria criteria,&#010;-                ColumnValues updateValues,&#010;-                Connection connection)&#010;+                final Criteria criteria,&#010;+                final ColumnValues updateValues,&#010;+                final Connection connection)&#010;             throws TorqueException&#010;     {&#010;         Query query = SqlBuilder.buildQuery(criteria);&#010;@@ -2093,7 +1393,7 @@ public class BasePeerImpl&lt;T&gt; implements &#010;      * @throws TorqueException if executing the statement fails&#010;      *         or no database connection can be established.&#010;      */&#010;-    public int executeStatement(String statementString) throws TorqueException&#010;+    public int executeStatement(final String statementString) throws TorqueException&#010;     {&#010;         return executeStatement(statementString, Torque.getDefaultDB(), null);&#010;     }&#010;@@ -2114,8 +1414,8 @@ public class BasePeerImpl&lt;T&gt; implements &#010;      *         or no database connection can be established.&#010;      */&#010;     public int executeStatement(&#010;-                String statementString,&#010;-                List&lt;JdbcTypedValue&gt; replacementValues)&#010;+                final String statementString,&#010;+                final List&lt;JdbcTypedValue&gt; replacementValues)&#010;             throws TorqueException&#010;     {&#010;         return executeStatement(&#010;@@ -2142,9 +1442,9 @@ public class BasePeerImpl&lt;T&gt; implements &#010;      *         or no database connection can be established.&#010;      */&#010;     public int executeStatement(&#010;-            String statementString,&#010;-            String dbName,&#010;-            List&lt;JdbcTypedValue&gt; replacementValues)&#010;+            final String statementString,&#010;+            final String dbName,&#010;+            final List&lt;JdbcTypedValue&gt; replacementValues)&#010;         throws TorqueException&#010;     {&#010;         Connection con = null;&#010;@@ -2184,9 +1484,9 @@ public class BasePeerImpl&lt;T&gt; implements &#010;      * @throws TorqueException if executing the statement fails.&#010;      */&#010;     public int executeStatement(&#010;-            String statementString,&#010;-            Connection con,&#010;-            List&lt;JdbcTypedValue&gt; replacementValues)&#010;+            final String statementString,&#010;+            final Connection con,&#010;+            final List&lt;JdbcTypedValue&gt; replacementValues)&#010;         throws TorqueException&#010;     {&#010;         int rowCount = -1;&#010;@@ -2251,9 +1551,9 @@ public class BasePeerImpl&lt;T&gt; implements &#010;      * @throws SQLException if setting the parameter fails.&#010;      */&#010;     private List&lt;Object&gt; setPreparedStatementReplacements(&#010;-                PreparedStatement statement,&#010;-                List&lt;Object&gt; replacements,&#010;-                int offset)&#010;+                final PreparedStatement statement,&#010;+                final List&lt;Object&gt; replacements,&#010;+                final int offset)&#010;             throws SQLException&#010;     {&#010;         List&lt;Object&gt; result = new ArrayList&lt;Object&gt;(replacements.size());&#010;@@ -2314,85 +1614,6 @@ public class BasePeerImpl&lt;T&gt; implements &#010;     }&#010; &#010;     /**&#010;-     * Changes the boolean values in the criteria to the appropriate type,&#010;-     * whenever a booleanchar or booleanint column is involved.&#010;-     * This enables the user to create criteria using Boolean values&#010;-     * for booleanchar or booleanint columns.&#010;-     *&#010;-     * @param criteria the criteria in which the boolean values should be&#010;-     *        corrected.&#010;-     * @throws TorqueException if the database map for the criteria cannot be&#010;-     *         obtained.&#010;-     *&#010;-     * @deprecated Please use correctBooleans(&#010;-     *                 org.apache.torque.criteria.Criteria).&#010;-     *             This method will be removed in a future version of Torque.&#010;-     */&#010;-    @Deprecated&#010;-    public void correctBooleans(Criteria criteria)&#010;-            throws TorqueException&#010;-    {&#010;-        for (Object criterionObject : criteria.values())&#010;-        {&#010;-            Criteria.Criterion criterion = (Criteria.Criterion) criterionObject;&#010;-            correctBooleans(criteria, criterion);&#010;-       }&#010;-    }&#010;-&#010;-    /**&#010;-     * Checks all columns in the criteria to see whether&#010;-     * booleanchar and booleanint columns are queried with a boolean.&#010;-     * If yes, the query values are mapped onto values the database&#010;-     * does understand, i.e. 0 and 1 for booleanints and N and Y for&#010;-     * booleanchar columns.&#010;-     *&#010;-     * @param criteria The criteria to which teh criterion belongs.&#010;-     * @param criterion The criterion to be checked for booleanint&#010;-     *        and booleanchar columns.&#010;-     *&#010;-     * @throws TorqueException if the database map for the criteria cannot be&#010;-     *         retrieved.&#010;-     *&#010;-     * @deprecated&#010;-     */&#010;-    @Deprecated&#010;-    private void correctBooleans(&#010;-                Criteria criteria,&#010;-                Criteria.Criterion criterion)&#010;-            throws TorqueException&#010;-    {&#010;-        Column column = criterion.getColumn();&#010;-        TableMap tableMapFromCriteria = MapHelper.getTableMap(&#010;-                column,&#010;-                criteria,&#010;-                tableMap);&#010;-        // if no description of table available, do not modify anything&#010;-        if (tableMapFromCriteria != null)&#010;-        {&#010;-            String columnName = column.getColumnName();&#010;-            ColumnMap columnMap = tableMapFromCriteria.getColumn(columnName);&#010;-            if (columnMap != null)&#010;-            {&#010;-                if ("BOOLEANINT".equals(columnMap.getTorqueType()))&#010;-                {&#010;-                    replaceBooleanValues(&#010;-                            criterion,&#010;-                            Integer.valueOf(1),&#010;-                            Integer.valueOf(0));&#010;-                }&#010;-                else if ("BOOLEANCHAR".equals(columnMap.getTorqueType()))&#010;-                {&#010;-                    replaceBooleanValues(criterion, "Y", "N");&#010;-                 }&#010;-            }&#010;-        }&#010;-        for (Criteria.Criterion attachedCriterion : criterion.getClauses())&#010;-        {&#010;-            correctBooleans(criteria, attachedCriterion);&#010;-        }&#010;-    }&#010;-&#010;-    /**&#010;      * Checks all columns in the criteria to see whether&#010;      * booleanchar and booleanint columns are queried with a boolean.&#010;      * If yes, the query values are mapped onto values the database&#010;@@ -2406,7 +1627,7 @@ public class BasePeerImpl&lt;T&gt; implements &#010;      *         retrieved.&#010;      */&#010;     public void correctBooleans(&#010;-                org.apache.torque.criteria.Criteria criteria)&#010;+                final Criteria criteria)&#010;             throws TorqueException&#010;     {&#010;        correctBooleans(&#010;@@ -2415,8 +1636,8 @@ public class BasePeerImpl&lt;T&gt; implements &#010;     }&#010; &#010;     private void correctBooleans(&#010;-                org.apache.torque.criteria.Criteria criteria,&#010;-                org.apache.torque.criteria.Criterion criterion)&#010;+                final Criteria criteria,&#010;+                final Criterion criterion)&#010;             throws TorqueException&#010;     {&#010;         if (criterion == null)&#010;@@ -2425,7 +1646,7 @@ public class BasePeerImpl&lt;T&gt; implements &#010;         }&#010;         if (criterion.isComposite())&#010;         {&#010;-            for (org.apache.torque.criteria.Criterion part&#010;+            for (Criterion part&#010;                     : criterion.getParts())&#010;             {&#010;                 correctBooleans(criteria, part);&#010;@@ -2467,51 +1688,14 @@ public class BasePeerImpl&lt;T&gt; implements &#010;      * and falseValue if the Boolean equals &lt;code&gt;Boolean.FALSE&lt;/code&gt;.&#010;      *&#010;      * @param criterion the criterion to replace Boolean values in.&#010;-     * @param trueValue the value by which Boolean.TRUE should be replaced.&#010;-     * @param falseValue the value by which Boolean.FALSE should be replaced.&#010;-     *&#010;-     * @deprecated&#010;-     */&#010;-    @Deprecated&#010;-    private void replaceBooleanValues(&#010;-            Criteria.Criterion criterion,&#010;-            Object trueValue,&#010;-            Object falseValue)&#010;-    {&#010;-        // attachedCriterions also contains the criterion itself,&#010;-        // so no additional treatment is needed for the criterion itself.&#010;-        Criteria.Criterion[] attachedCriterions&#010;-            = criterion.getAttachedCriterion();&#010;-        for (int i = 0; i &lt; attachedCriterions.length; ++i)&#010;-        {&#010;-            Object criterionValue&#010;-                    = attachedCriterions[i].getValue();&#010;-            if (criterionValue instanceof Boolean)&#010;-            {&#010;-                Boolean booleanValue = (Boolean) criterionValue;&#010;-                attachedCriterions[i].setValue(&#010;-                        Boolean.TRUE.equals(booleanValue)&#010;-                                ? trueValue&#010;-                                : falseValue);&#010;-            }&#010;-&#010;-        }&#010;-    }&#010;-&#010;-    /**&#010;-     * Replaces any Boolean value in the criterion and its attached Criterions&#010;-     * by trueValue if the Boolean equals &lt;code&gt;Boolean.TRUE&lt;/code&gt;&#010;-     * and falseValue if the Boolean equals &lt;code&gt;Boolean.FALSE&lt;/code&gt;.&#010;-     *&#010;-     * @param criterion the criterion to replace Boolean values in.&#010;      *        May not be a composite criterion.&#010;      * @param trueValue the value by which Boolean.TRUE should be replaced.&#010;      * @param falseValue the value by which Boolean.FALSE should be replaced.&#010;      */&#010;     private void replaceBooleanValues(&#010;-            org.apache.torque.criteria.Criterion criterion,&#010;-            Object trueValue,&#010;-            Object falseValue)&#010;+            final Criterion criterion,&#010;+            final Object trueValue,&#010;+            final Object falseValue)&#010;     {&#010;         Object rValue = criterion.getRValue();&#010;         if (rValue instanceof Boolean)&#010;@@ -2546,7 +1730,7 @@ public class BasePeerImpl&lt;T&gt; implements &#010;      *         retrieved.&#010;      */&#010;     public void correctBooleans(&#010;-            ColumnValues columnValues)&#010;+            final ColumnValues columnValues)&#010;         throws TorqueException&#010;     {&#010;         for (Map.Entry&lt;Column, JdbcTypedValue&gt; entry : columnValues.entrySet())&#010;@@ -2596,7 +1780,7 @@ public class BasePeerImpl&lt;T&gt; implements &#010;      *&#010;      * @param crit the criteria to set the database name in, not null.&#010;      */&#010;-    protected void setDbName(org.apache.torque.criteria.Criteria crit)&#010;+    protected void setDbName(final Criteria crit)&#010;             throws TorqueException&#010;     {&#010;         if (crit.getDbName() == null)&#010;@@ -2604,23 +1788,4 @@ public class BasePeerImpl&lt;T&gt; implements &#010;             crit.setDbName(getDatabaseName());&#010;         }&#010;     }&#010;-&#010;-    /**&#010;-     * Sets the database name in the passed criteria to the table's default,&#010;-     * if it is not already set.&#010;-     *&#010;-     * @param crit the criteria to set the database name in, not null.&#010;-     *&#010;-     * @deprecated Please use addSelectColumns(&#010;-     *                 org.apache.torque.criteria.Criteria).&#010;-     *             This method will be removed in a future version of Torque.&#010;-     */&#010;-    @Deprecated&#010;-    protected void setDbName(Criteria crit) throws TorqueException&#010;-    {&#010;-        if (crit.getDbName() == null)&#010;-        {&#010;-            crit.setDbName(getDatabaseName());&#010;-        }&#010;-    }&#010; }&#010;&#010;&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org&#010;For additional commands, e-mail: torque-dev-help@db.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] [Assigned] (TORQUE-279) Remove deprecated methods and classes from the runtime</title>
<author><name>&quot;Thomas Fox (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/201305.mbox/%3cJIRA.12643794.1366488696360.344315.1368956596734@arcas%3e"/>
<id>urn:uuid:%3cJIRA-12643794-1366488696360-344315-1368956596734@arcas%3e</id>
<updated>2013-05-19T09:43:16Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&#010;     [ https://issues.apache.org/jira/browse/TORQUE-279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&#010;]&#010;&#010;Thomas Fox reassigned TORQUE-279:&#010;---------------------------------&#010;&#010;    Assignee: Thomas Fox&#010;    &#010;&gt; Remove deprecated methods and classes from the runtime&#010;&gt; ------------------------------------------------------&#010;&gt;&#010;&gt;                 Key: TORQUE-279&#010;&gt;                 URL: https://issues.apache.org/jira/browse/TORQUE-279&#010;&gt;             Project: Torque&#010;&gt;          Issue Type: Improvement&#010;&gt;          Components: Runtime&#010;&gt;    Affects Versions: 4.0&#010;&gt;            Reporter: Thomas Fox&#010;&gt;            Assignee: Thomas Fox&#010;&gt;             Fix For: 4.1&#010;&gt;&#010;&gt;&#010;&#010;&#010;--&#010;This message is automatically generated by JIRA.&#010;If you think it was sent incorrectly, please contact your JIRA administrators&#010;For more information on JIRA, see: http://www.atlassian.com/software/jira&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org&#010;For additional commands, e-mail: torque-dev-help@db.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r1484026 - /db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/typemapping/TypeMap.java</title>
<author><name>tfischer@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/201305.mbox/%3c20130517230549.962B02388906@eris.apache.org%3e"/>
<id>urn:uuid:%3c20130517230549-962B02388906@eris-apache-org%3e</id>
<updated>2013-05-17T23:05:49Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: tfischer&#010;Date: Fri May 17 23:05:49 2013&#010;New Revision: 1484026&#010;&#010;URL: http://svn.apache.org/r1484026&#010;Log:&#010;use final modifier where possible&#010;&#010;Modified:&#010;    db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/typemapping/TypeMap.java&#010;&#010;Modified: db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/typemapping/TypeMap.java&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/typemapping/TypeMap.java?rev=1484026&amp;r1=1484025&amp;r2=1484026&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/typemapping/TypeMap.java&#010;(original)&#010;+++ db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/typemapping/TypeMap.java&#010;Fri May 17 23:05:49 2013&#010;@@ -161,7 +161,7 @@ public final class TypeMap&#010;     /**&#010;      * The result set getter methods for a given schema type.&#010;      */&#010;-    private static Map&lt;SchemaType, ResultSetGetter&gt;&#010;+    private static final Map&lt;SchemaType, ResultSetGetter&gt;&#010;             SCHEMA_TYPE_TO_RESULT_SET_GETTER;&#010; &#010;     // fill SCHEMA_TYPE_TO_INIT_VALUE_MAP&#010;@@ -307,7 +307,7 @@ public final class TypeMap&#010;      * @param jdbcType the JDBC type&#010;      * @return name of the Object&#010;      */&#010;-    public static String getJavaObject(SchemaType jdbcType)&#010;+    public static String getJavaObject(final SchemaType jdbcType)&#010;     {&#010;         return SCHEMA_TYPE_TO_INIT_VALUE_MAP.get(jdbcType);&#010;     }&#010;@@ -319,7 +319,7 @@ public final class TypeMap&#010;      * @param schemaType the schema type.&#010;      * @return name of the native java type&#010;      */&#010;-    public static JavaType getJavaPrimitiveType(SchemaType schemaType)&#010;+    public static JavaType getJavaPrimitiveType(final SchemaType schemaType)&#010;     {&#010;         return SCHEMA_TYPE_TO_JAVA_PRIMITIVE_TYPE_MAP.get(schemaType);&#010;     }&#010;@@ -331,7 +331,7 @@ public final class TypeMap&#010;      * @param schemaType the schema type.&#010;      * @return the corresponding java Type.&#010;      */&#010;-    public static JavaType getJavaObjectType(SchemaType schemaType)&#010;+    public static JavaType getJavaObjectType(final SchemaType schemaType)&#010;     {&#010;         return SCHEMA_TYPE_TO_JAVA_OBJECT_TYPE_MAP.get(schemaType);&#010;     }&#010;@@ -343,7 +343,7 @@ public final class TypeMap&#010;      * @param schemaType the schema type&#010;      * @return the result set getter method.&#010;      */&#010;-    public static ResultSetGetter getResultSetGetter(SchemaType schemaType)&#010;+    public static ResultSetGetter getResultSetGetter(final SchemaType schemaType)&#010;     {&#010;         return SCHEMA_TYPE_TO_RESULT_SET_GETTER.get(schemaType);&#010;     }&#010;@@ -355,7 +355,7 @@ public final class TypeMap&#010;      * @param type The type to check.&#010;      * @return true if the type is BOOLEANINT&#010;      */&#010;-    public static boolean isBooleanInt(SchemaType type)&#010;+    public static boolean isBooleanInt(final SchemaType type)&#010;     {&#010;         return SchemaType.BOOLEANINT.equals(type);&#010;     }&#010;@@ -367,7 +367,7 @@ public final class TypeMap&#010;      * @param type The type to check.&#010;      * @return true if the type is BOOLEANCHAR&#010;      */&#010;-    public static boolean isBooleanChar(SchemaType type)&#010;+    public static boolean isBooleanChar(final SchemaType type)&#010;     {&#010;         return SchemaType.BOOLEANCHAR.equals(type);&#010;     }&#010;@@ -379,7 +379,7 @@ public final class TypeMap&#010;      * @param type The type to check.&#010;      * @return true if the type is BIT&#010;      */&#010;-    public static boolean isBit(SchemaType type)&#010;+    public static boolean isBit(final SchemaType type)&#010;     {&#010;         return SchemaType.BIT.equals(type);&#010;     }&#010;@@ -390,7 +390,7 @@ public final class TypeMap&#010;      * @param type The type to check.&#010;      * @return true if values for the type need to be quoted.&#010;      */&#010;-    public static boolean isTextType(SchemaType type)&#010;+    public static boolean isTextType(final SchemaType type)&#010;     {&#010;         return TEXT_TYPES.contains(type);&#010;     }&#010;&#010;&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org&#010;For additional commands, e-mail: torque-dev-help@db.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r1484025 - /db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/typemapping/VillageMethod.java</title>
<author><name>tfischer@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/201305.mbox/%3c20130517230458.8659F2388906@eris.apache.org%3e"/>
<id>urn:uuid:%3c20130517230458-8659F2388906@eris-apache-org%3e</id>
<updated>2013-05-17T23:04:58Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: tfischer&#010;Date: Fri May 17 23:04:58 2013&#010;New Revision: 1484025&#010;&#010;URL: http://svn.apache.org/r1484025&#010;Log:&#010;remove unused enum&#010;&#010;Removed:&#010;    db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/typemapping/VillageMethod.java&#010;&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org&#010;For additional commands, e-mail: torque-dev-help@db.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r1484024 - in /db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/model: Column.java Table.java Unique.java UniqueColumn.java View.java ViewColumn.java</title>
<author><name>tfischer@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/201305.mbox/%3c20130517225637.0FC28238890D@eris.apache.org%3e"/>
<id>urn:uuid:%3c20130517225637-0FC28238890D@eris-apache-org%3e</id>
<updated>2013-05-17T22:56:36Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: tfischer&#010;Date: Fri May 17 22:56:36 2013&#010;New Revision: 1484024&#010;&#010;URL: http://svn.apache.org/r1484024&#010;Log:&#010;TORQUE-273 &#010;change model types from String to Boolean where possible&#010;fix some checkstyle and javadoc issues&#010;&#010;Modified:&#010;    db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/model/Column.java&#010;    db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/model/Table.java&#010;    db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/model/Unique.java&#010;    db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/model/UniqueColumn.java&#010;    db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/model/View.java&#010;    db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/model/ViewColumn.java&#010;&#010;Modified: db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/model/Column.java&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/model/Column.java?rev=1484024&amp;r1=1484023&amp;r2=1484024&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/model/Column.java&#010;(original)&#010;+++ db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/model/Column.java&#010;Fri May 17 22:56:36 2013&#010;@@ -87,7 +87,7 @@ public class Column&#010; &#010;     /**&#010;      * Whether getters and setters for the field in the database object&#010;-     * should be public instead of protected.&#010;+     * should be protected instead of public.&#010;      */&#010;     public Boolean _protected;&#010; &#010;&#010;Modified: db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/model/Table.java&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/model/Table.java?rev=1484024&amp;r1=1484023&amp;r2=1484024&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/model/Table.java&#010;(original)&#010;+++ db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/model/Table.java&#010;Fri May 17 22:56:36 2013&#010;@@ -84,7 +84,7 @@ public class Table&#010; &#010;     /**&#010;      * The unqualified name of the data object class.&#010;-     * If null, the class name will be determined frome the name attribute.&#010;+     * If null, the class name will be determined from the name attribute.&#010;      */&#010;     public String javaName;&#010; &#010;@@ -101,56 +101,87 @@ public class Table&#010; &#010;     // properties for generation of ORM classes&#010; &#010;+    /** The class name of the data object class. */&#010;     public String dbObjectClassName;&#010; &#010;+    /** The class name of the data object base class. */&#010;     public String baseDbObjectClassName;&#010; &#010;+    /** The class name of the peer static wrapper class. */&#010;     public String peerClassName;&#010; &#010;+    /** The class name of the peer static wrapper base class. */&#010;     public String basePeerClassName;&#010; &#010;+    /** The class name of the peer implementation class. */&#010;     public String peerImplClassName;&#010; &#010;+    /** The class name of the peer implementation base class. */&#010;     public String basePeerImplClassName;&#010; &#010;+    /** The class name of the data object bean class. */&#010;     public String beanClassName;&#010; &#010;+    /** The class name of the data object bean base class. */&#010;     public String baseBeanClassName;&#010; &#010;+    /** The class name of the manager class. */&#010;     public String managerClassName;&#010; &#010;+    /** The class name of the manager base class. */&#010;     public String baseManagerClassName;&#010; &#010;+    /** The class name of the record mapper class. */&#010;     public String recordMapperClassName;&#010; &#010;+    /** The class name of the record mapper base class. */&#010;     public String baseRecordMapperClassName;&#010; &#010;+    /** The package of the data object class. */&#010;     public String dbObjectPackage;&#010; &#010;+    /** The package of the data object base class. */&#010;     public String baseDbObjectPackage;&#010; &#010;+    /** The package of the peer class. */&#010;     public String peerPackage;&#010; &#010;+    /** The package of the peer base class. */&#010;     public String basePeerPackage;&#010; &#010;+    /** The package of the record mapper class. */&#010;     public String recordMapperPackage;&#010; &#010;+    /** The package of the record mapper base class. */&#010;     public String baseRecordMapperPackage;&#010; &#010;+    /** The package of the manager class. */&#010;     public String managerPackage;&#010; &#010;+    /** The package of the manager base class. */&#010;     public String baseManagerPackage;&#010; &#010;+    /** The package of the data object bean class. */&#010;     public String beanPackage;&#010; &#010;+    /** The package of the data object bean base class. */&#010;     public String baseBeanPackage;&#010; &#010;+    /**&#010;+     * The optimistic Locking mode to use.&#010;+     * Valid values are "selectForUpdate", "simpleSelect". */&#010;     public String optimisticLockingMode;&#010; &#010;-    public String useManagers;&#010;+    /** Override flag whether manager classes are used in this table. */&#010;+    public Boolean useManagers;&#010; &#010;-    public String saveMethodsInDbObjects;&#010;+    /**&#010;+     * Whether the save method resides in the data objects&#010;+     * (default is it is in the peer).&#010;+     */&#010;+    public Boolean saveMethodsInDbObjects;&#010; &#010;+    /** The interface for the peer class. */&#010;     public String peerInterface;&#010; &#010;     // properties for sql generation&#010;&#010;Modified: db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/model/Unique.java&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/model/Unique.java?rev=1484024&amp;r1=1484023&amp;r2=1484024&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/model/Unique.java&#010;(original)&#010;+++ db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/model/Unique.java&#010;Fri May 17 22:56:36 2013&#010;@@ -1,9 +1,5 @@&#010; package org.apache.torque.templates.model;&#010; &#010;-import java.util.ArrayList;&#010;-import java.util.List;&#010;-&#010;-&#010; /*&#010;  * Licensed to the Apache Software Foundation (ASF) under one&#010;  * or more contributor license agreements.  See the NOTICE file&#010;@@ -23,6 +19,9 @@ import java.util.List;&#010;  * under the License.&#010;  */&#010; &#010;+import java.util.ArrayList;&#010;+import java.util.List;&#010;+&#010; /**&#010;  * The model of the unique tag in a Torque schema file.&#010;  *&#010;@@ -32,12 +31,16 @@ public class Unique&#010; {&#010;     // schema properties&#010; &#010;+    /** The table where this unique constraint belongs to. */&#010;     public Table parent;&#010; &#010;+    /** The options for this unique constraint. */&#010;     public List&lt;Option&gt; optionList = new ArrayList&lt;Option&gt;();&#010; &#010;+    /** The columns in this unique constraint. */&#010;     public List&lt;UniqueColumn&gt; uniqueColumnList = new ArrayList&lt;UniqueColumn&gt;();&#010; &#010;+    /** The name of the constraint. */&#010;     public String name;&#010; &#010;     // SQL generation properties&#010;&#010;Modified: db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/model/UniqueColumn.java&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/model/UniqueColumn.java?rev=1484024&amp;r1=1484023&amp;r2=1484024&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/model/UniqueColumn.java&#010;(original)&#010;+++ db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/model/UniqueColumn.java&#010;Fri May 17 22:56:36 2013&#010;@@ -1,7 +1,5 @@&#010; package org.apache.torque.templates.model;&#010; &#010;-&#010;-&#010; /*&#010;  * Licensed to the Apache Software Foundation (ASF) under one&#010;  * or more contributor license agreements.  See the NOTICE file&#010;@@ -28,7 +26,12 @@ package org.apache.torque.templates.mode&#010;  */&#010; public class UniqueColumn&#010; {&#010;+    /** The unique constraint to which this unique column definition belongs. */&#010;     public Unique parent;&#010; &#010;+    /**&#010;+     * The unqualified name of the column to be included in the&#010;+     * unique constraint.&#010;+     */&#010;     public String name;&#010; }&#010;&#010;Modified: db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/model/View.java&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/model/View.java?rev=1484024&amp;r1=1484023&amp;r2=1484024&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/model/View.java&#010;(original)&#010;+++ db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/model/View.java&#010;Fri May 17 22:56:36 2013&#010;@@ -1,8 +1,5 @@&#010; package org.apache.torque.templates.model;&#010; &#010;-import java.util.ArrayList;&#010;-import java.util.List;&#010;-&#010; /*&#010;  * Licensed to the Apache Software Foundation (ASF) under one&#010;  * or more contributor license agreements.  See the NOTICE file&#010;@@ -22,6 +19,9 @@ import java.util.List;&#010;  * under the License.&#010;  */&#010; &#010;+import java.util.ArrayList;&#010;+import java.util.List;&#010;+&#010; /**&#010;  * The model of the view tag in a Torque schema file.&#010;  *&#010;@@ -29,28 +29,47 @@ import java.util.List;&#010;  */&#010; public class View&#010; {&#010;+    /** The database to which this view belongs. */&#010;     public Database parent;&#010; &#010;+    /** The options for this view. */&#010;     public List&lt;Option&gt; optionList = new ArrayList&lt;Option&gt;();&#010; &#010;+    /** The columns of this view. */&#010;     public List&lt;ViewColumn&gt; columnList;&#010; &#010;+    /** The view's name. */&#010;     public String name;&#010; &#010;+    /** The base class of the data object class. */&#010;     public String baseClass;&#010; &#010;+    /** The base class of the peer class. */&#010;     public String basePeer;&#010; &#010;-    public String _abstract;&#010;+    /** Whether the data object class is abstract. */&#010;+    public Boolean _abstract;&#010; &#010;+    /**&#010;+     * The unqualified name of the data object class.&#010;+     * If null, the class name will be determined from the name attribute.&#010;+     */&#010;     public String javaName;&#010; &#010;+    /** The remainder of the sql for the view after column definitions. */&#010;     public String sqlSuffix;&#010; &#010;+    /**&#010;+     * The complete SQL for creating the view.&#010;+     * If set, overrides all other means of generating the SQL&#010;+     * for view creation.&#010;+     */&#010;     public String createSql;&#010; &#010;+    /** Whether sql generation should be skipped. */&#010;     public Boolean skipSql;&#010; &#010;+    /** A description of the view. */&#010;     public String description;&#010; &#010; }&#010;&#010;Modified: db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/model/ViewColumn.java&#010;URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/model/ViewColumn.java?rev=1484024&amp;r1=1484023&amp;r2=1484024&amp;view=diff&#010;==============================================================================&#010;--- db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/model/ViewColumn.java&#010;(original)&#010;+++ db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/model/ViewColumn.java&#010;Fri May 17 22:56:36 2013&#010;@@ -1,9 +1,5 @@&#010; package org.apache.torque.templates.model;&#010; &#010;-import java.util.ArrayList;&#010;-import java.util.List;&#010;-&#010;-&#010; /*&#010;  * Licensed to the Apache Software Foundation (ASF) under one&#010;  * or more contributor license agreements.  See the NOTICE file&#010;@@ -23,6 +19,9 @@ import java.util.List;&#010;  * under the License.&#010;  */&#010; &#010;+import java.util.ArrayList;&#010;+import java.util.List;&#010;+&#010; /**&#010;  * The model of the column tag in a Torque schema file.&#010;  *&#010;@@ -30,29 +29,47 @@ import java.util.List;&#010;  */&#010; public class ViewColumn&#010; {&#010;+    /** The view to which the view column belongs. */&#010;     public View parent;&#010; &#010;+    /** The list of options for this view column. */&#010;     public List&lt;Option&gt; options = new ArrayList&lt;Option&gt;();&#010; &#010;+    /** The list of inheritances for this view column. */&#010;     public List&lt;Inheritance&gt; inheritances = new ArrayList&lt;Inheritance&gt;();&#010; &#010;+    /** The view column's name. */&#010;     public String name;&#010; &#010;+    /** The type of the view column. */&#010;     public String type;&#010; &#010;+    /**&#010;+     * How many decimal places, characters or bytes the view column can take.&#010;+     */&#010;     public String size;&#010; &#010;+    /** The scale of the view column. */&#010;     public String scale;&#010; &#010;+    /** The field name for the view column in the database object. */&#010;     public String javaName;&#010; &#010;+    /** The type of the field for the view column in the database object. */&#010;     public String javaType;&#010; &#010;+    /** The domain reference name to set common settings. */&#010;     public String domain;&#010; &#010;+    /** The sql snippet which contains the value to select. */&#010;     public String select;&#010; &#010;+    /**&#010;+     * Whether getters and setters for the field in the database object&#010;+     * should be protected instead of public.&#010;+     */&#010;     public String _protected;&#010; &#010;+    /** The description of (== comment for) the view column. */&#010;     public String description;&#010; }&#010;&#010;&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org&#010;For additional commands, e-mail: torque-dev-help@db.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Jenkins build is back to normal : torque4-test-project-derby #340</title>
<author><name>Apache Jenkins Server  &lt;jenkins@builds.apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/201305.mbox/%3c774262955.3646.1368717246102.JavaMail.hudson@aegis%3e"/>
<id>urn:uuid:%3c774262955-3646-1368717246102-JavaMail-hudson@aegis%3e</id>
<updated>2013-05-16T15:14:06Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
See &lt;https://builds.apache.org/job/torque4-test-project-derby/340/&gt;&#010;&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org&#010;For additional commands, e-mail: torque-dev-help@db.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Build failed in Jenkins: torque4-test-project-derby #339</title>
<author><name>Apache Jenkins Server  &lt;jenkins@builds.apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/db-torque-dev/201305.mbox/%3c657713276.3545.1368693594587.JavaMail.hudson@aegis%3e"/>
<id>urn:uuid:%3c657713276-3545-1368693594587-JavaMail-hudson@aegis%3e</id>
<updated>2013-05-16T08:39:54Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
See &lt;https://builds.apache.org/job/torque4-test-project-derby/339/&gt;&#010;&#010;------------------------------------------&#010;Started by upstream project "Torque4-trunk" build number 427&#010;originally caused by: &#010; Started by an SCM change&#010; Started by an SCM change&#010;Building remotely on ubuntu4 in workspace &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/&gt;&#010;Cleaning up &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/.&gt;&#010;Deleting &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/./derby.log&gt;&#010;Deleting &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/./target&gt;&#010;Deleting &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/./src/main/generated-java&gt;&#010;Updating http://svn.apache.org/repos/asf/db/torque/torque4/trunk/torque-test&#010;At revision 1483248&#010;no change for http://svn.apache.org/repos/asf/db/torque/torque4/trunk/torque-test since the&#010;previous build&#010;Parsing POMs&#010;Failed to transfer Could not find metadata org.apache.torque:torque:4.1-SNAPSHOT/maven-metadata.xml&#010;in Nexus (http://repository.apache.org/snapshots)&#010;[torque4-test-project-derby] $ /home/hudson/tools/java/latest1.5/bin/java -cp /home/jenkins/jenkins-slave/maven-agent.jar:/home/jenkins/jenkins-slave/classworlds.jar&#010;hudson.maven.agent.Main /home/hudson/tools/maven/apache-maven-2.2.1 /home/jenkins/jenkins-slave/slave.jar&#010;/home/jenkins/jenkins-slave/maven-interceptor.jar 59329 /home/jenkins/jenkins-slave/maven2.1-interceptor.jar&#010;&lt;===[JENKINS REMOTING CAPACITY]===&gt;   channel started&#010;log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.converters.BooleanConverter).&#010;log4j:WARN Please initialize the log4j system properly.&#010;Executing Maven:  -B -f &lt;https://builds.apache.org/job/torque4-test-project-derby/ws/pom.xml&gt;&#010;-Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/0 -PderbyEmbedded clean&#010;test&#010;[INFO] Scanning for projects...&#010;[INFO] ------------------------------------------------------------------------&#010;[INFO] Building Torque Test Project&#010;[INFO]    task-segment: [clean, test]&#010;[INFO] ------------------------------------------------------------------------&#010;[INFO] snapshot org.apache.torque:torque-maven-plugin:4.1-SNAPSHOT: checking for updates from&#010;apache.snapshots&#010;May 16, 2013 8:39:52 AM hudson.remoting.SynchronousCommandTransport$ReaderThread run&#010;SEVERE: I/O error in channel channel&#010;java.io.StreamCorruptedException&#010;&#009;at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1332)&#010;&#009;at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)&#010;&#009;at hudson.remoting.Command.readFrom(Command.java:92)&#010;&#009;at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59)&#010;&#009;at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)&#010;channel stopped&#010;[INFO] ------------------------------------------------------------------------&#010;[ERROR] FATAL ERROR&#010;[INFO] ------------------------------------------------------------------------&#010;[INFO] null&#010;[INFO] ------------------------------------------------------------------------&#010;[INFO] Trace&#010;java.lang.reflect.UndeclaredThrowableException&#010;&#009;at $Proxy1.fetch2(Unknown Source)&#010;&#009;at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:127)&#010;&#009;at java.lang.ClassLoader.loadClass(ClassLoader.java:307)&#010;&#009;at java.lang.ClassLoader.loadClass(ClassLoader.java:252)&#010;&#009;at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)&#010;&#009;at hudson.maven.reporters.MavenArtifactArchiver.postBuild(MavenArtifactArchiver.java:101)&#010;&#009;at hudson.maven.Maven2Builder.postModule(Maven2Builder.java:129)&#010;&#009;at hudson.maven.MavenBuilder$Adapter.fireLeaveModule(MavenBuilder.java:354)&#010;&#009;at hudson.maven.MavenBuilder$Adapter.postBuild(MavenBuilder.java:308)&#010;&#009;at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:68)&#010;&#009;at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)&#010;&#009;at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)&#010;&#009;at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)&#010;&#009;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&#010;&#009;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)&#010;&#009;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&#010;&#009;at java.lang.reflect.Method.invoke(Method.java:592)&#010;&#009;at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)&#010;&#009;at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)&#010;&#009;at hudson.maven.agent.Main.launch(Main.java:185)&#010;&#009;at hudson.maven.MavenBuilder.call(MavenBuilder.java:154)&#010;&#009;at hudson.maven.Maven2Builder.call(Maven2Builder.java:79)&#010;&#009;at hudson.maven.Maven2Builder.call(Maven2Builder.java:55)&#010;&#009;at hudson.remoting.UserRequest.perform(UserRequest.java:118)&#010;&#009;at hudson.remoting.UserRequest.perform(UserRequest.java:48)&#010;&#009;at hudson.remoting.Request$2.run(Request.java:326)&#010;&#009;at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)&#010;&#009;at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)&#010;&#009;at java.util.concurrent.FutureTask.run(FutureTask.java:123)&#010;&#009;at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)&#010;&#009;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)&#010;&#009;at java.lang.Thread.run(Thread.java:595)&#010;Caused by: hudson.remoting.ChannelClosedException: channel is already closed&#010;&#009;at hudson.remoting.Channel.send(Channel.java:494)&#010;&#009;at hudson.remoting.Request.call(Request.java:129)&#010;&#009;at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:160)&#010;&#009;... 32 more&#010;Caused by: java.io.StreamCorruptedException&#010;&#009;at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1332)&#010;&#009;at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)&#010;&#009;at hudson.remoting.Command.readFrom(Command.java:92)&#010;&#009;at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59)&#010;&#009;at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)&#010;[INFO] ------------------------------------------------------------------------&#010;[INFO] Total time: 3 seconds&#010;[INFO] Finished at: Thu May 16 08:39:52 UTC 2013&#010;[INFO] Final Memory: 15M/314M&#010;[INFO] ------------------------------------------------------------------------&#010;ERROR: Maven JVM terminated unexpectedly with exit code 0&#010;&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org&#010;For additional commands, e-mail: torque-dev-help@db.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
</feed>
