You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by Georg Kallidis <ge...@cedis.fu-berlin.de> on 2020/08/01 10:17:05 UTC

Re: [VOTE] RC Torque 5.0 based on staged repository

Hi Jeffery, 

sorry, it might be, that I referred to the profile as 'manager', whereas it should be "managers".

-Georg

On July 31, 2020 3:30:52 PM GMT+02:00, Jeffery Painter <je...@jivecast.com> wrote:
>FYI - I get the same error when trying to run for the postgresql
>profile 
>(it does create the tables):
>
>
>bookstore=# \dt
>                   List of relations
>  Schema |            Name            | Type  | Owner
>--------+----------------------------+-------+--------
>  public | abstract                   | table | torque
>  public | author                     | table | torque
>  public | autoincrement_idbroker     | table | torque
>  public | autoincrement_native       | table | torque
>  public | autoincrement_none         | table | torque
>  public | base                       | table | torque
>  public | bigint_type                | table | torque
>  public | binary_type                | table | torque
>  public | bint_bchar_type            | table | torque
>  public | bit_composite_pk           | table | torque
>  public | bit_type                   | table | torque
>  public | blob_type                  | table | torque
>  public | book                       | table | torque
>
>...
>
>
>
>On 7/31/20 9:18 AM, Jeffery Painter wrote:
>> Hi Georg,
>>
>>
>> I created a db user torque@localhost, and then ran:
>>
>> painter@merlin:~/apache/torque/torque-5.0/torque-test$ mvn clean test
>> -Pmysql,manager,beans
>>
>> The tests created lots of tables in the 'bookstore' database, but
>then I
>> got the following complaints :-(
>>
>>
>> [INFO] -------------------------------------------------------------
>> [ERROR] COMPILATION ERROR :
>> [INFO] -------------------------------------------------------------
>> [ERROR]
>>
>/home/painter/apache/torque/torque-5.0/torque-test/src/test/java/org/apache/torque/ManagerTestConditional.java:[31,38]
>> package org.apache.torque.test.manager does not exist
>> [ERROR]
>>
>/home/painter/apache/torque/torque-5.0/torque-test/src/test/java/org/apache/torque/ManagerTestConditional.java:[32,38]
>> package org.apache.torque.test.manager does not exist
>> [ERROR]
>>
>/home/painter/apache/torque/torque-5.0/torque-test/src/test/java/org/apache/torque/ManagerTestConditional.java:[33,38]
>> package org.apache.torque.test.manager does not exist
>> [INFO] 3 errors
>> [INFO] -------------------------------------------------------------
>> [INFO]
>>
>------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>>
>------------------------------------------------------------------------
>> [INFO] Total time:  19.456 s
>> [INFO] Finished at: 2020-07-31T09:14:43-04:00
>> [INFO]
>>
>------------------------------------------------------------------------
>> [WARNING] The requested profile "manager" could not be activated
>because
>> it does not exist.
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile
>> (default-testCompile) on project torque-test: Compilation failure:
>> Compilation failure:
>> [ERROR]
>>
>/home/painter/apache/torque/torque-5.0/torque-test/src/test/java/org/apache/torque/ManagerTestConditional.java:[31,38]
>> package org.apache.torque.test.manager does not exist
>> [ERROR]
>>
>/home/painter/apache/torque/torque-5.0/torque-test/src/test/java/org/apache/torque/ManagerTestConditional.java:[32,38]
>> package org.apache.torque.test.manager does not exist
>> [ERROR]
>>
>/home/painter/apache/torque/torque-5.0/torque-test/src/test/java/org/apache/torque/ManagerTestConditional.java:[33,38]
>> package org.apache.torque.test.manager does not exist
>> [ERROR] -> [Help 1]
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with
>the
>> -e switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug
>logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please read the following articles:
>> [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>>
>>
>>
>>
>>> Hi Jeffery,
>>>
>>> Hi Jeffery,
>>>
>>> thanks for voting and testing!
>>>
>>> You may also check the README in subfolder torque-test and test
>there
>>> against locale or docker databases.
>>>
>>> Best regards,
>>>
>>> Georg
>>>
>>>
>>>
>>> Von:    Jeffery Painter <je...@jivecast.com>
>>> An:     torque-dev@db.apache.org
>>> Datum:  30.07.2020 17:13
>>> Betreff:        Re: [VOTE] RC Torque 5.0 based on staged repository
>>>
>>>
>>>
>>> Hi Georg,
>>>
>>> I was able to check out clean from SVN and build successfully with
>>>
>>> $ mvn clean install site
>>>
>>>
>>> $ mvn -version
>>>
>>> Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
>>> Maven home: /usr/java/maven
>>> Java version: 1.8.0_261, vendor: Oracle Corporation, runtime:
>>> /usr/java/jdk1.8.0_261/jre
>>> Default locale: en_US, platform encoding: UTF-8
>>> OS name: "linux", version: "5.4.0-42-generic", arch: "amd64",
>family:
>>> "unix"
>>>
>>>
>>> The artifacts look good to me:
>>>
>>> painter@merlin:~/apache/torque/artifacts$ gpg --verify
>>> torque-5.0-source-release.zip.asc torque-5.0-source-release.zip
>>> gpg: Signature made Fri 17 Jul 2020 05:37:06 AM EDT
>>> gpg:                using RSA key
>83221A9E13D9F6A39E718DD76EAAE3D2F615E012
>>> gpg: Good signature from "Georg Kallidis (APACHE CODE SIGNING KEY)
>>> <gk...@apache.org>" [unknown]
>>>
>>>
>>> My vote
>>>
>>> [ x ] +1 release it
>>>
>>>
>>> -
>>> Jeffery Painter
>>>
>>> painter@apache.org
>>>
>>> jeff@jivecast.com
>>>
>>>
>>>
>>> On 7/17/20 6:00 AM, Georg Kallidis wrote:
>>>> Hi Torque community,
>>>>
>>>> a release candidate for Torque version 5.0 has been prepared and is
>open
>>>> for voting!
>>>>
>>>> Artifacts:
>>>>
>>>>
>https://repository.apache.org/content/repositories/orgapachetorque-1000/
>>>> Tag:
>>>>
>>>> https://svn.apache.org/repos/asf/db/torque/torque4/tags/torque-5.0
>>>>
>>>> This release contains the following updates:
>>>>
>>>> - 81 resolved JIRA issues:
>>>>
>>>
>https://issues.apache.org/jira/browse/TORQUE-359?jql=project%20%3D%20TORQUE%20AND%20status%20%3D%20Resolved%20AND%20fixVersion%20%3D%204.1
>>>
>>>>    (note, this is still "fix version 4.1", but will be updated to
>5.0
>>> later)
>>>> - a lot of bugfixes, cleanup and refactoring, e.g.
>>>> time/date/timestamp-string formatting, deprecated DBCP1 adapters,
>DBCP2
>>> is
>>>> the default now...
>>>> - Java 8, tested and build in Java 8 and 14 with JUnit 5 and Log4j2
>>>> - updated almost all plugin, build and database dependencies, major
>>>> updates: velocity 2.0, groovy 3.0.4
>>>> - added Docker testcontainer profiles for mysql and postgresql
>>>> - new refactored ant task Torque4JDBCTransformTask
>>>>
>>>> Keys:
>>>> https://svn.apache.org/repos/asf/db/torque/torque4/trunk/KEYS
>>>> https://dist.apache.org/repos/dist/release/db/torque/KEYS (to be
>>> updated)
>>>>
>>>> Please verify this release candidate carefully, give feedback
>or/and
>>> vote
>>>>
>>>> [ ] +1 release it
>>>> [ ] +0 go ahead I don't care
>>>> [ ] -1 no, do not release it because
>>>>
>>>>
>>>> Have fun!
>>>>
>>>>
>>>> Best regards, Georg
>>>>
>>>>
>---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@torque.apache.org
>>>> For additional commands, e-mail: dev-help@torque.apache.org
>>>>
>>>>
>>>
>---------------------------------------------------------------------
>>> To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
>>> For additional commands, e-mail: torque-dev-help@db.apache.org
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
>> For additional commands, e-mail: torque-dev-help@db.apache.org
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
>For additional commands, e-mail: torque-dev-help@db.apache.org

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Re: [VOTE] RC Torque 5.0 based on staged repository #DNSBL#

Posted by Thomas Fox <th...@seitenbau.com>.
+1 from me as well (PMC, binding).

One more organizational point. Have you cc'ed the DB PMC mailing list? Technically, every DB PMC member is entitled to vote in there (and to be able to vote you need to know that there's a vote going on). Practically, this is done by either cc'ing the vote mail to the PMC mailing list, or (still better) write a separate mail to the PMC mailing list announcing that the vote is taking place at the torque dev list. 
If this is not already done, I'd suggest to announce a deadline to the vote (e.g. a week from now), and write a notice to the PMC mailing list.

    Thomas (Fox)

----- Ursprüngliche Mail -----
Von: "Georg Kallidis" <ge...@cedis.fu-berlin.de>
An: "Apache Torque Developers List" <to...@db.apache.org>
Gesendet: Sonntag, 30. August 2020 21:31:22
Betreff: Re: Re: Re: [VOTE] RC Torque 5.0 based on staged repository #DNSBL#

Hi Jeffery, hi Torque devs, thanks!

I now count three binding +1 votes and the release could be done. I will of course announce the result appropriately as soon as possible.

As soon as I am available I will proceed, but expect it to be mid/end of September. Feel free to update Torque site, we might use then the trunk..

Best regards, Georg


On August 28, 2020 4:56:29 PM GMT+02:00, Jeffery Painter <je...@jivecast.com> wrote:
>Hi Georg,
>
>I read through your notes below and followed your advice.
>
>If we update the readme to reflect the following:
>
>======================================================
>Running test-profile for mysql in your local time zone
>======================================================
>
>First, the JDBC connection is stored in two places which
>should be updated to match your local timezone.
>
>
>1. torque-test/pom.xml
>2. torque-test/src/test/profile/mysql/Torque.properties
>
>
>After changing the timezone settings in both of the jdbc connection
>URLs,
>I ran:
>
>$ mvn clean test -Pmysql,manager,beans
>
>
>[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
>0.374 s - in org.apache.torque.map.DatabaseMapTest
>[INFO]
>[INFO] Results:
>[INFO]
>[INFO] Tests run: 287, Failures: 0, Errors: 0, Skipped: 0
>[INFO]
>[INFO]
>------------------------------------------------------------------------
>[INFO] BUILD SUCCESS
>[INFO]
>------------------------------------------------------------------------
>[INFO] Total time:  02:27 min
>[INFO] Finished at: 2020-08-28T10:52:44-04:00
>[INFO]
>------------------------------------------------------------------------
>
>
>I see no reason to stop the release and change my vote to +1
>
>Glad you figured it out!  :-)
>
>-
>Jeffery
>
>
>
>> Hi Jeffery,
>>
>> I rechecked this and I think, this is a test configuration issue and
>> resolvable.
>>
>> The point is we have at least two configurations for the connection
>url.
>> 1) pom.xml: in profile <database> property torque.database.url is
>set,
>> which is used in sql-maven and antrun plugins. This is, where you
>made the
>> changes..
>> 2) pom.xml: surefire plugin sets property torque.configuration.file
>to
>> src/test/profile/${torque.test.profileDirectory}/Torque.properties.
>> In mysql/Torque.properties the jdbc url is set for the JUnit tests
>with:
>> torque.dsfactory.bookstore.connection.url =
>>
>jdbc:mysql://localhost:3306/bookstore?serverTimezone=Europe/Berlin&useSSL=false&allowPublicKeyRetrieval=true
>> Exact Details: This is used in the host based (non docker) test
>> environment here:
>>
>org.apache.torque.junit5.extension.HostCallbackExtension.setUp(ExtensionContext).
>> There this configuration is checked before evaluating the default
>(which
>> is the same by the way: "src/test/profile/%s/Torque.properties").
>> If you change this and set the serverTimezone appropriately, e.g. to
>> serverTimezone=America/New_York the test is passing (your failing
>test) !
>>
>> Your first test fails, as the JUnit test sets the time field (using
>> HostCallbackExtensions jdbc connection with
>serverTimezone=Europe/Berlin)
>> and retrieves it from the database, which has timezone default to
>system,
>> which is America/New_York. Actually setting the serverTimezone in the
>> mysql pom profile does not affect anything, as all the initialization
>SQL
>> is hard coded, and the serverTimezone is set there only to avoid a
>warning
>> from the mysql jdbc driver (I think the warning is "The server
>timezone
>> value XXX is unrecognized or represents more than one timezone).
>Voila!
>>
>> Testing a different timezone than Europe/Berlin requires to set first
>of
>> all setting the jdbc url in src/test/profile/%s/Torque.properties (or
>any
>> other configured file). We should point out this somewhere in the
>> developer's readme and explain this behaviour!
>>
>> As a result, this is a test configuration issue.
>>
>> What do you think? Is this stopping the release?
>>
>> Of course, we should update the README.md in torque-test, as the test
>> expects, that the timezone in mysql is set implicitely (if it is
>system)
>> or explicitely to Europe/Berlin, and this might be of course not the
>case
>> ... This is a IMO a non-functional requirement for running the tests,
>and
>> we could only explain or declare it as such.
>>
>> Best regards, Georg
>>
>>
>>
>>
>> Von:    "Georg Kallidis" <ge...@cedis.fu-berlin.de>
>> An:     "Apache Torque Developers List" <to...@db.apache.org>
>> Datum:  24.08.2020 12:42
>> Betreff:        Re: Re: [VOTE] RC Torque 5.0 based on staged
>repository
>>
>>
>>
>> Hi Jeffery,
>>
>> thanks for testing this!
>>
>> The use case we want to test is IMO just the system time zone, i.e.
>mysql
>> uses the local system settings.
>>
>> 1) I would expect, if system timezone is America/NY, then, if using
>this
>> same timezone in the application jdbc driver, setting or getting the
>time
>> (date) should work and retrieve the same time. As it fails the
>question is
>>
>> why.. If I have to explain the result (of the failure), I would say,
>the
>> time was set in another time zone, e.g UTC and we retrieve the time
>> converting it to America/US timezone, that is a different time zone,
>but
>> how could that happen, if the system timezone is the same? As the
>second
>> test setting with Europe/Berlin does not fail, it may be, that some
>hard
>> coded time zone setting is somewhere in the code (?). We have to
>check ...
>>
>> could you check in mysql, if this results in "system":  SELECT
>> @@global.time_zone, @@session.time_zone;
>>
>> 2) The  same tests (DefaultValuesFromDatabaseContainerTest)pass here,
>if I
>>
>> use the docker test environment, having changed the system time zone
>or
>> setting e.g. ENV TZ America/New_York in DockerFile. If you have a
>running
>> docker environment , you may want to check this with
>>
>> mvn clean test -Pdocker-testcontainer,mysql,managers,beans
>>
>> (You may have to stop mysql server, as the docker mysql by default
>does
>> use the same port 3306 As in DockerCallbackMySQLExtension in the jdbc
>call
>>
>> the serverTimezone is set to ZoneId.systemDefault())
>>
>> This might by the last resort, and probably is not the reason: Mysql
>> driver version has in an upcoming release some bug fixes regarding
>date
>> time conversions:
>>
>https://dev.mysql.com/doc/relnotes/connector-j/8.0/en/news-8-0-20.html
>(we
>>
>> use 8.0.18). What happens, if you you update the driver to the newest
>> version - 8.0.22 in torque-test/pom.xml,
>> <torque.test.mysql.version>8.0.21</torque.test.mysql.version> ?
>>
>> I'll keep you updated, when more reliable results appear ;-)
>>
>> Best regards,  Georg
>>
>> P.S: By default named time zones are not settable on mysql server (at
>> least in windows, in unix you have to trigger the setting), see
>> https://dev.mysql.com/doc/refman/8.0/en/time-zone-support.html.
>>
>>
>>
>> Von:    Jeffery Painter <je...@jivecast.com>
>> An:     torque-dev@db.apache.org
>> Datum:  23.08.2020 23:17
>> Betreff:        Re: [VOTE] RC Torque 5.0 based on staged repository
>>
>>
>>
>> Hi Georg,
>>
>> I checked out the source from tag and was able to build and compile
>with
>> no issues on my Linux machine (Ubuntu 20.04 fresh install):
>>
>> Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
>> Maven home: /usr/java/maven
>> Java version: 1.8.0_261, vendor: Oracle Corporation, runtime:
>> /usr/java/jdk1.8.0_261/jre
>> Default locale: en_US, platform encoding: UTF-8
>> OS name: "linux", version: "5.4.0-42-generic", arch: "amd64", family:
>> "unix"
>>
>> I then went to torque-test/
>>
>> I was able to run:
>>
>> mvn clean test -Phsqldb,managers,beans
>>
>> This completed with all tests passing.
>>
>>
>> MySQL Issues:
>>
>> First test updating my pom.xml to use my local timezone:
>>
>> -------------------------------------------------------------
>>
>> I updated the torque-test/pom.xml to use my timezone
>"America/New_York"
>>
>> painter@merlin:~/apache/torque-5.0/torque-test$ grep New_York pom.xml
>>
><torque.database.url>jdbc:mysql://localhost:3306/bookstore?serverTimezone=America/New_York&amp;useSSL=false&amp;allowPublicKeyRetrieval=true</torque.database.url>
>>
>> root@merlin:~# timedatectl
>>                 Local time: Sun 2020-08-23 17:11:19 EDT
>>             Universal time: Sun 2020-08-23 21:11:19 UTC
>>                   RTC time: Sun 2020-08-23 21:11:19
>>                  Time zone: America/New_York (EDT, -0400)
>> System clock synchronized: yes
>>                NTP service: active
>>            RTC in local TZ: no
>>
>>
>> MySQL Server version: 8.0.21-0ubuntu0.20.04.4 (Ubuntu)
>> mvn clean test -Pmysql,managers,beans
>>
>> [INFO] Results:
>> [INFO]
>> [ERROR] Failures:
>> [ERROR] DefaultValuesFromDatabaseTest.testNewObjectChangedValue:214
>> expected: <1970-01-01 11:21:31> but was: <1970-01-01 05:21:31>
>> [INFO]
>> [ERROR] Tests run: 287, Failures: 1, Errors: 0, Skipped: 0
>> [INFO]
>>
>> -------------------------------------------------------------
>>
>> Second, I try to reset my local timezone to Europe/Berlin
>>
>> painter@merlin:~/apache/torque-5.0/torque-test$ grep Berlin pom.xml
>>
><torque.database.url>jdbc:mysql://localhost:3306/bookstore?serverTimezone=Europe/Berlin&amp;useSSL=false&amp;allowPublicKeyRetrieval=true</torque.database.url>
>>
>>
>> painter@merlin:~/apache/torque-5.0/torque-test$ timedatectl
>>                 Local time: Sun 2020-08-23 23:15:06 CEST
>>             Universal time: Sun 2020-08-23 21:15:06 UTC
>>                   RTC time: Sun 2020-08-23 21:15:07
>>                  Time zone: Europe/Berlin (CEST, +0200)
>> System clock synchronized: yes
>>                NTP service: active
>>            RTC in local TZ: no
>>
>>
>> mvn clean test -Pmysql,managers,beans
>>
>> [INFO] Results:
>> [INFO]
>> [INFO] Tests run: 287, Failures: 0, Errors: 0, Skipped: 0
>> [INFO]
>> [INFO]
>>
>------------------------------------------------------------------------
>> [INFO] BUILD SUCCESS
>> [INFO]
>>
>------------------------------------------------------------------------
>> [INFO] Total time:  02:27 min
>> [INFO] Finished at: 2020-08-23T23:15:33+02:00
>> [INFO]
>>
>------------------------------------------------------------------------
>>
>>
>> So unfortunately, I would still say there is a bug in this test case,
>> but it is very close! I do not know how to resolve this or I would
>:-)
>>
>> [ ] +1 release it
>> [ ] +0 go ahead I don't care
>> [x] -1 no, do not release it because
>>
>>
>> --
>>
>> Jeffery Painter
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On 8/14/20 8:17 AM, Georg Kallidis wrote:
>>> Hi Torque community,
>>>
>>>
>>> another release candidate for Torque version 5.0 has been prepared
>and
>> is
>>> again open for voting!
>>>
>>>
>>> Artifacts:
>>>
>>>
>>
>https://repository.apache.org/content/repositories/orgapachetorque-1002/org/apache/torque/
>>
>>
>>>
>>>
>>> Tag:
>>>
>>> https://svn.apache.org/repos/asf/db/torque/torque4/tags/torque-5.0
>>>
>>>
>>> This release contains the following updates:
>>>
>>> - fixes from last vote relplies, updated resources, improved build
>>> workflow.
>>>
>>> - 81 resolved JIRA issues:
>>>
>>
>https://issues.apache.org/jira/browse/TORQUE-359?jql=project%20%3D%20TORQUE%20AND%20status%20%3D%20Resolved%20AND%20fixVersion%20%3D%204.1
>>
>>
>>>
>>>
>>>   (note, this is still "fix version 4.1", but should be updated to
>5.0)
>>> - a lot of bugfixes, cleanup and refactoring, e.g.
>>> time/date/timestamp-string formatting, deprecated DBCP1 adapters,
>DBCP2
>> is
>>>
>>> the default now...
>>> - Java 8, tested and build in Java 8 and 14 with JUnit 5 and Log4j2
>>> - updated almost all plugin, build and database dependencies, major
>>> updates: velocity 2.0, groovy 3.0.4
>>> - added Docker testcontainer profiles for mysql and postgresql
>>> - new refactored ant task Torque4JDBCTransformTask
>>>
>>> Keys:
>>> https://svn.apache.org/repos/asf/db/torque/torque4/trunk/KEYS
>>> https://dist.apache.org/repos/dist/release/db/torque/KEYS (after
>release
>>> to be updated)
>>>
>>>
>>> Please verify this release candidate carefully, give feedback or/and
>> vote
>>>
>>>
>>> [ ] +1 release it
>>> [ ] +0 go ahead I don't care
>>> [ ] -1 no, do not release it because
>>>
>>>
>>> Have fun!
>>>
>>>
>>> Best regards, Georg
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
>> For additional commands, e-mail: torque-dev-help@db.apache.org
>>
>>
>>
>>
>>
>>
>
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
>For additional commands, e-mail: torque-dev-help@db.apache.org

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Re: Re: Re: [VOTE] RC Torque 5.0 based on staged repository #DNSBL#

Posted by Georg Kallidis <ge...@cedis.fu-berlin.de>.
Hi Jeffery, hi Torque devs, thanks!

I now count three binding +1 votes and the release could be done. I will of course announce the result appropriately as soon as possible.

As soon as I am available I will proceed, but expect it to be mid/end of September. Feel free to update Torque site, we might use then the trunk..

Best regards, Georg


On August 28, 2020 4:56:29 PM GMT+02:00, Jeffery Painter <je...@jivecast.com> wrote:
>Hi Georg,
>
>I read through your notes below and followed your advice.
>
>If we update the readme to reflect the following:
>
>======================================================
>Running test-profile for mysql in your local time zone
>======================================================
>
>First, the JDBC connection is stored in two places which
>should be updated to match your local timezone.
>
>
>1. torque-test/pom.xml
>2. torque-test/src/test/profile/mysql/Torque.properties
>
>
>After changing the timezone settings in both of the jdbc connection
>URLs,
>I ran:
>
>$ mvn clean test -Pmysql,manager,beans
>
>
>[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
>0.374 s - in org.apache.torque.map.DatabaseMapTest
>[INFO]
>[INFO] Results:
>[INFO]
>[INFO] Tests run: 287, Failures: 0, Errors: 0, Skipped: 0
>[INFO]
>[INFO]
>------------------------------------------------------------------------
>[INFO] BUILD SUCCESS
>[INFO]
>------------------------------------------------------------------------
>[INFO] Total time:  02:27 min
>[INFO] Finished at: 2020-08-28T10:52:44-04:00
>[INFO]
>------------------------------------------------------------------------
>
>
>I see no reason to stop the release and change my vote to +1
>
>Glad you figured it out!  :-)
>
>-
>Jeffery
>
>
>
>> Hi Jeffery,
>>
>> I rechecked this and I think, this is a test configuration issue and
>> resolvable.
>>
>> The point is we have at least two configurations for the connection
>url.
>> 1) pom.xml: in profile <database> property torque.database.url is
>set,
>> which is used in sql-maven and antrun plugins. This is, where you
>made the
>> changes..
>> 2) pom.xml: surefire plugin sets property torque.configuration.file
>to
>> src/test/profile/${torque.test.profileDirectory}/Torque.properties.
>> In mysql/Torque.properties the jdbc url is set for the JUnit tests
>with:
>> torque.dsfactory.bookstore.connection.url =
>>
>jdbc:mysql://localhost:3306/bookstore?serverTimezone=Europe/Berlin&useSSL=false&allowPublicKeyRetrieval=true
>> Exact Details: This is used in the host based (non docker) test
>> environment here:
>>
>org.apache.torque.junit5.extension.HostCallbackExtension.setUp(ExtensionContext).
>> There this configuration is checked before evaluating the default
>(which
>> is the same by the way: "src/test/profile/%s/Torque.properties").
>> If you change this and set the serverTimezone appropriately, e.g. to
>> serverTimezone=America/New_York the test is passing (your failing
>test) !
>>
>> Your first test fails, as the JUnit test sets the time field (using
>> HostCallbackExtensions jdbc connection with
>serverTimezone=Europe/Berlin)
>> and retrieves it from the database, which has timezone default to
>system,
>> which is America/New_York. Actually setting the serverTimezone in the
>> mysql pom profile does not affect anything, as all the initialization
>SQL
>> is hard coded, and the serverTimezone is set there only to avoid a
>warning
>> from the mysql jdbc driver (I think the warning is "The server
>timezone
>> value XXX is unrecognized or represents more than one timezone).
>Voila!
>>
>> Testing a different timezone than Europe/Berlin requires to set first
>of
>> all setting the jdbc url in src/test/profile/%s/Torque.properties (or
>any
>> other configured file). We should point out this somewhere in the
>> developer's readme and explain this behaviour!
>>
>> As a result, this is a test configuration issue.
>>
>> What do you think? Is this stopping the release?
>>
>> Of course, we should update the README.md in torque-test, as the test
>> expects, that the timezone in mysql is set implicitely (if it is
>system)
>> or explicitely to Europe/Berlin, and this might be of course not the
>case
>> ... This is a IMO a non-functional requirement for running the tests,
>and
>> we could only explain or declare it as such.
>>
>> Best regards, Georg
>>
>>
>>
>>
>> Von:    "Georg Kallidis" <ge...@cedis.fu-berlin.de>
>> An:     "Apache Torque Developers List" <to...@db.apache.org>
>> Datum:  24.08.2020 12:42
>> Betreff:        Re: Re: [VOTE] RC Torque 5.0 based on staged
>repository
>>
>>
>>
>> Hi Jeffery,
>>
>> thanks for testing this!
>>
>> The use case we want to test is IMO just the system time zone, i.e.
>mysql
>> uses the local system settings.
>>
>> 1) I would expect, if system timezone is America/NY, then, if using
>this
>> same timezone in the application jdbc driver, setting or getting the
>time
>> (date) should work and retrieve the same time. As it fails the
>question is
>>
>> why.. If I have to explain the result (of the failure), I would say,
>the
>> time was set in another time zone, e.g UTC and we retrieve the time
>> converting it to America/US timezone, that is a different time zone,
>but
>> how could that happen, if the system timezone is the same? As the
>second
>> test setting with Europe/Berlin does not fail, it may be, that some
>hard
>> coded time zone setting is somewhere in the code (?). We have to
>check ...
>>
>> could you check in mysql, if this results in "system":  SELECT
>> @@global.time_zone, @@session.time_zone;
>>
>> 2) The  same tests (DefaultValuesFromDatabaseContainerTest)pass here,
>if I
>>
>> use the docker test environment, having changed the system time zone
>or
>> setting e.g. ENV TZ America/New_York in DockerFile. If you have a
>running
>> docker environment , you may want to check this with
>>
>> mvn clean test -Pdocker-testcontainer,mysql,managers,beans
>>
>> (You may have to stop mysql server, as the docker mysql by default
>does
>> use the same port 3306 As in DockerCallbackMySQLExtension in the jdbc
>call
>>
>> the serverTimezone is set to ZoneId.systemDefault())
>>
>> This might by the last resort, and probably is not the reason: Mysql
>> driver version has in an upcoming release some bug fixes regarding
>date
>> time conversions:
>>
>https://dev.mysql.com/doc/relnotes/connector-j/8.0/en/news-8-0-20.html
>(we
>>
>> use 8.0.18). What happens, if you you update the driver to the newest
>> version - 8.0.22 in torque-test/pom.xml,
>> <torque.test.mysql.version>8.0.21</torque.test.mysql.version> ?
>>
>> I'll keep you updated, when more reliable results appear ;-)
>>
>> Best regards,  Georg
>>
>> P.S: By default named time zones are not settable on mysql server (at
>> least in windows, in unix you have to trigger the setting), see
>> https://dev.mysql.com/doc/refman/8.0/en/time-zone-support.html.
>>
>>
>>
>> Von:    Jeffery Painter <je...@jivecast.com>
>> An:     torque-dev@db.apache.org
>> Datum:  23.08.2020 23:17
>> Betreff:        Re: [VOTE] RC Torque 5.0 based on staged repository
>>
>>
>>
>> Hi Georg,
>>
>> I checked out the source from tag and was able to build and compile
>with
>> no issues on my Linux machine (Ubuntu 20.04 fresh install):
>>
>> Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
>> Maven home: /usr/java/maven
>> Java version: 1.8.0_261, vendor: Oracle Corporation, runtime:
>> /usr/java/jdk1.8.0_261/jre
>> Default locale: en_US, platform encoding: UTF-8
>> OS name: "linux", version: "5.4.0-42-generic", arch: "amd64", family:
>> "unix"
>>
>> I then went to torque-test/
>>
>> I was able to run:
>>
>> mvn clean test -Phsqldb,managers,beans
>>
>> This completed with all tests passing.
>>
>>
>> MySQL Issues:
>>
>> First test updating my pom.xml to use my local timezone:
>>
>> -------------------------------------------------------------
>>
>> I updated the torque-test/pom.xml to use my timezone
>"America/New_York"
>>
>> painter@merlin:~/apache/torque-5.0/torque-test$ grep New_York pom.xml
>>
><torque.database.url>jdbc:mysql://localhost:3306/bookstore?serverTimezone=America/New_York&amp;useSSL=false&amp;allowPublicKeyRetrieval=true</torque.database.url>
>>
>> root@merlin:~# timedatectl
>>                 Local time: Sun 2020-08-23 17:11:19 EDT
>>             Universal time: Sun 2020-08-23 21:11:19 UTC
>>                   RTC time: Sun 2020-08-23 21:11:19
>>                  Time zone: America/New_York (EDT, -0400)
>> System clock synchronized: yes
>>                NTP service: active
>>            RTC in local TZ: no
>>
>>
>> MySQL Server version: 8.0.21-0ubuntu0.20.04.4 (Ubuntu)
>> mvn clean test -Pmysql,managers,beans
>>
>> [INFO] Results:
>> [INFO]
>> [ERROR] Failures:
>> [ERROR] DefaultValuesFromDatabaseTest.testNewObjectChangedValue:214
>> expected: <1970-01-01 11:21:31> but was: <1970-01-01 05:21:31>
>> [INFO]
>> [ERROR] Tests run: 287, Failures: 1, Errors: 0, Skipped: 0
>> [INFO]
>>
>> -------------------------------------------------------------
>>
>> Second, I try to reset my local timezone to Europe/Berlin
>>
>> painter@merlin:~/apache/torque-5.0/torque-test$ grep Berlin pom.xml
>>
><torque.database.url>jdbc:mysql://localhost:3306/bookstore?serverTimezone=Europe/Berlin&amp;useSSL=false&amp;allowPublicKeyRetrieval=true</torque.database.url>
>>
>>
>> painter@merlin:~/apache/torque-5.0/torque-test$ timedatectl
>>                 Local time: Sun 2020-08-23 23:15:06 CEST
>>             Universal time: Sun 2020-08-23 21:15:06 UTC
>>                   RTC time: Sun 2020-08-23 21:15:07
>>                  Time zone: Europe/Berlin (CEST, +0200)
>> System clock synchronized: yes
>>                NTP service: active
>>            RTC in local TZ: no
>>
>>
>> mvn clean test -Pmysql,managers,beans
>>
>> [INFO] Results:
>> [INFO]
>> [INFO] Tests run: 287, Failures: 0, Errors: 0, Skipped: 0
>> [INFO]
>> [INFO]
>>
>------------------------------------------------------------------------
>> [INFO] BUILD SUCCESS
>> [INFO]
>>
>------------------------------------------------------------------------
>> [INFO] Total time:  02:27 min
>> [INFO] Finished at: 2020-08-23T23:15:33+02:00
>> [INFO]
>>
>------------------------------------------------------------------------
>>
>>
>> So unfortunately, I would still say there is a bug in this test case,
>> but it is very close! I do not know how to resolve this or I would
>:-)
>>
>> [ ] +1 release it
>> [ ] +0 go ahead I don't care
>> [x] -1 no, do not release it because
>>
>>
>> --
>>
>> Jeffery Painter
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On 8/14/20 8:17 AM, Georg Kallidis wrote:
>>> Hi Torque community,
>>>
>>>
>>> another release candidate for Torque version 5.0 has been prepared
>and
>> is
>>> again open for voting!
>>>
>>>
>>> Artifacts:
>>>
>>>
>>
>https://repository.apache.org/content/repositories/orgapachetorque-1002/org/apache/torque/
>>
>>
>>>
>>>
>>> Tag:
>>>
>>> https://svn.apache.org/repos/asf/db/torque/torque4/tags/torque-5.0
>>>
>>>
>>> This release contains the following updates:
>>>
>>> - fixes from last vote relplies, updated resources, improved build
>>> workflow.
>>>
>>> - 81 resolved JIRA issues:
>>>
>>
>https://issues.apache.org/jira/browse/TORQUE-359?jql=project%20%3D%20TORQUE%20AND%20status%20%3D%20Resolved%20AND%20fixVersion%20%3D%204.1
>>
>>
>>>
>>>
>>>   (note, this is still "fix version 4.1", but should be updated to
>5.0)
>>> - a lot of bugfixes, cleanup and refactoring, e.g.
>>> time/date/timestamp-string formatting, deprecated DBCP1 adapters,
>DBCP2
>> is
>>>
>>> the default now...
>>> - Java 8, tested and build in Java 8 and 14 with JUnit 5 and Log4j2
>>> - updated almost all plugin, build and database dependencies, major
>>> updates: velocity 2.0, groovy 3.0.4
>>> - added Docker testcontainer profiles for mysql and postgresql
>>> - new refactored ant task Torque4JDBCTransformTask
>>>
>>> Keys:
>>> https://svn.apache.org/repos/asf/db/torque/torque4/trunk/KEYS
>>> https://dist.apache.org/repos/dist/release/db/torque/KEYS (after
>release
>>> to be updated)
>>>
>>>
>>> Please verify this release candidate carefully, give feedback or/and
>> vote
>>>
>>>
>>> [ ] +1 release it
>>> [ ] +0 go ahead I don't care
>>> [ ] -1 no, do not release it because
>>>
>>>
>>> Have fun!
>>>
>>>
>>> Best regards, Georg
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
>> For additional commands, e-mail: torque-dev-help@db.apache.org
>>
>>
>>
>>
>>
>>
>
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
>For additional commands, e-mail: torque-dev-help@db.apache.org

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Re: Re: Re: [VOTE] RC Torque 5.0 based on staged repository

Posted by Jeffery Painter <je...@jivecast.com>.
Hi Georg,

I read through your notes below and followed your advice.

If we update the readme to reflect the following:

======================================================
Running test-profile for mysql in your local time zone
======================================================

First, the JDBC connection is stored in two places which
should be updated to match your local timezone.


1. torque-test/pom.xml
2. torque-test/src/test/profile/mysql/Torque.properties


After changing the timezone settings in both of the jdbc connection URLs,
I ran:

$ mvn clean test -Pmysql,manager,beans


[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
0.374 s - in org.apache.torque.map.DatabaseMapTest
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 287, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time:  02:27 min
[INFO] Finished at: 2020-08-28T10:52:44-04:00
[INFO]
------------------------------------------------------------------------


I see no reason to stop the release and change my vote to +1

Glad you figured it out!  :-)

-
Jeffery



> Hi Jeffery,
>
> I rechecked this and I think, this is a test configuration issue and
> resolvable.
>
> The point is we have at least two configurations for the connection url.
> 1) pom.xml: in profile <database> property torque.database.url is set,
> which is used in sql-maven and antrun plugins. This is, where you made the
> changes..
> 2) pom.xml: surefire plugin sets property torque.configuration.file to
> src/test/profile/${torque.test.profileDirectory}/Torque.properties.
> In mysql/Torque.properties the jdbc url is set for the JUnit tests with:
> torque.dsfactory.bookstore.connection.url =
> jdbc:mysql://localhost:3306/bookstore?serverTimezone=Europe/Berlin&useSSL=false&allowPublicKeyRetrieval=true
> Exact Details: This is used in the host based (non docker) test
> environment here:
> org.apache.torque.junit5.extension.HostCallbackExtension.setUp(ExtensionContext).
> There this configuration is checked before evaluating the default (which
> is the same by the way: "src/test/profile/%s/Torque.properties").
> If you change this and set the serverTimezone appropriately, e.g. to
> serverTimezone=America/New_York the test is passing (your failing test) !
>
> Your first test fails, as the JUnit test sets the time field (using
> HostCallbackExtensions jdbc connection with serverTimezone=Europe/Berlin)
> and retrieves it from the database, which has timezone default to system,
> which is America/New_York. Actually setting the serverTimezone in the
> mysql pom profile does not affect anything, as all the initialization SQL
> is hard coded, and the serverTimezone is set there only to avoid a warning
> from the mysql jdbc driver (I think the warning is "The server timezone
> value XXX is unrecognized or represents more than one timezone). Voila!
>
> Testing a different timezone than Europe/Berlin requires to set first of
> all setting the jdbc url in src/test/profile/%s/Torque.properties (or any
> other configured file). We should point out this somewhere in the
> developer's readme and explain this behaviour!
>
> As a result, this is a test configuration issue.
>
> What do you think? Is this stopping the release?
>
> Of course, we should update the README.md in torque-test, as the test
> expects, that the timezone in mysql is set implicitely (if it is system)
> or explicitely to Europe/Berlin, and this might be of course not the case
> ... This is a IMO a non-functional requirement for running the tests, and
> we could only explain or declare it as such.
>
> Best regards, Georg
>
>
>
>
> Von:    "Georg Kallidis" <ge...@cedis.fu-berlin.de>
> An:     "Apache Torque Developers List" <to...@db.apache.org>
> Datum:  24.08.2020 12:42
> Betreff:        Re: Re: [VOTE] RC Torque 5.0 based on staged repository
>
>
>
> Hi Jeffery,
>
> thanks for testing this!
>
> The use case we want to test is IMO just the system time zone, i.e. mysql
> uses the local system settings.
>
> 1) I would expect, if system timezone is America/NY, then, if using this
> same timezone in the application jdbc driver, setting or getting the time
> (date) should work and retrieve the same time. As it fails the question is
>
> why.. If I have to explain the result (of the failure), I would say, the
> time was set in another time zone, e.g UTC and we retrieve the time
> converting it to America/US timezone, that is a different time zone, but
> how could that happen, if the system timezone is the same? As the second
> test setting with Europe/Berlin does not fail, it may be, that some hard
> coded time zone setting is somewhere in the code (?). We have to check ...
>
> could you check in mysql, if this results in "system":  SELECT
> @@global.time_zone, @@session.time_zone;
>
> 2) The  same tests (DefaultValuesFromDatabaseContainerTest)pass here, if I
>
> use the docker test environment, having changed the system time zone or
> setting e.g. ENV TZ America/New_York in DockerFile. If you have a running
> docker environment , you may want to check this with
>
> mvn clean test -Pdocker-testcontainer,mysql,managers,beans
>
> (You may have to stop mysql server, as the docker mysql by default does
> use the same port 3306 As in DockerCallbackMySQLExtension in the jdbc call
>
> the serverTimezone is set to ZoneId.systemDefault())
>
> This might by the last resort, and probably is not the reason: Mysql
> driver version has in an upcoming release some bug fixes regarding date
> time conversions:
> https://dev.mysql.com/doc/relnotes/connector-j/8.0/en/news-8-0-20.html (we
>
> use 8.0.18). What happens, if you you update the driver to the newest
> version - 8.0.22 in torque-test/pom.xml,
> <torque.test.mysql.version>8.0.21</torque.test.mysql.version> ?
>
> I'll keep you updated, when more reliable results appear ;-)
>
> Best regards,  Georg
>
> P.S: By default named time zones are not settable on mysql server (at
> least in windows, in unix you have to trigger the setting), see
> https://dev.mysql.com/doc/refman/8.0/en/time-zone-support.html.
>
>
>
> Von:    Jeffery Painter <je...@jivecast.com>
> An:     torque-dev@db.apache.org
> Datum:  23.08.2020 23:17
> Betreff:        Re: [VOTE] RC Torque 5.0 based on staged repository
>
>
>
> Hi Georg,
>
> I checked out the source from tag and was able to build and compile with
> no issues on my Linux machine (Ubuntu 20.04 fresh install):
>
> Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
> Maven home: /usr/java/maven
> Java version: 1.8.0_261, vendor: Oracle Corporation, runtime:
> /usr/java/jdk1.8.0_261/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "5.4.0-42-generic", arch: "amd64", family:
> "unix"
>
> I then went to torque-test/
>
> I was able to run:
>
> mvn clean test -Phsqldb,managers,beans
>
> This completed with all tests passing.
>
>
> MySQL Issues:
>
> First test updating my pom.xml to use my local timezone:
>
> -------------------------------------------------------------
>
> I updated the torque-test/pom.xml to use my timezone "America/New_York"
>
> painter@merlin:~/apache/torque-5.0/torque-test$ grep New_York pom.xml
> <torque.database.url>jdbc:mysql://localhost:3306/bookstore?serverTimezone=America/New_York&amp;useSSL=false&amp;allowPublicKeyRetrieval=true</torque.database.url>
>
> root@merlin:~# timedatectl
>                 Local time: Sun 2020-08-23 17:11:19 EDT
>             Universal time: Sun 2020-08-23 21:11:19 UTC
>                   RTC time: Sun 2020-08-23 21:11:19
>                  Time zone: America/New_York (EDT, -0400)
> System clock synchronized: yes
>                NTP service: active
>            RTC in local TZ: no
>
>
> MySQL Server version: 8.0.21-0ubuntu0.20.04.4 (Ubuntu)
> mvn clean test -Pmysql,managers,beans
>
> [INFO] Results:
> [INFO]
> [ERROR] Failures:
> [ERROR] DefaultValuesFromDatabaseTest.testNewObjectChangedValue:214
> expected: <1970-01-01 11:21:31> but was: <1970-01-01 05:21:31>
> [INFO]
> [ERROR] Tests run: 287, Failures: 1, Errors: 0, Skipped: 0
> [INFO]
>
> -------------------------------------------------------------
>
> Second, I try to reset my local timezone to Europe/Berlin
>
> painter@merlin:~/apache/torque-5.0/torque-test$ grep Berlin pom.xml
> <torque.database.url>jdbc:mysql://localhost:3306/bookstore?serverTimezone=Europe/Berlin&amp;useSSL=false&amp;allowPublicKeyRetrieval=true</torque.database.url>
>
>
> painter@merlin:~/apache/torque-5.0/torque-test$ timedatectl
>                 Local time: Sun 2020-08-23 23:15:06 CEST
>             Universal time: Sun 2020-08-23 21:15:06 UTC
>                   RTC time: Sun 2020-08-23 21:15:07
>                  Time zone: Europe/Berlin (CEST, +0200)
> System clock synchronized: yes
>                NTP service: active
>            RTC in local TZ: no
>
>
> mvn clean test -Pmysql,managers,beans
>
> [INFO] Results:
> [INFO]
> [INFO] Tests run: 287, Failures: 0, Errors: 0, Skipped: 0
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time:  02:27 min
> [INFO] Finished at: 2020-08-23T23:15:33+02:00
> [INFO]
> ------------------------------------------------------------------------
>
>
> So unfortunately, I would still say there is a bug in this test case,
> but it is very close! I do not know how to resolve this or I would :-)
>
> [ ] +1 release it
> [ ] +0 go ahead I don't care
> [x] -1 no, do not release it because
>
>
> --
>
> Jeffery Painter
>
>
>
>
>
>
>
>
>
>
> On 8/14/20 8:17 AM, Georg Kallidis wrote:
>> Hi Torque community,
>>
>>
>> another release candidate for Torque version 5.0 has been prepared and
> is
>> again open for voting!
>>
>>
>> Artifacts:
>>
>>
> https://repository.apache.org/content/repositories/orgapachetorque-1002/org/apache/torque/
>
>
>>
>>
>> Tag:
>>
>> https://svn.apache.org/repos/asf/db/torque/torque4/tags/torque-5.0
>>
>>
>> This release contains the following updates:
>>
>> - fixes from last vote relplies, updated resources, improved build
>> workflow.
>>
>> - 81 resolved JIRA issues:
>>
> https://issues.apache.org/jira/browse/TORQUE-359?jql=project%20%3D%20TORQUE%20AND%20status%20%3D%20Resolved%20AND%20fixVersion%20%3D%204.1
>
>
>>
>>
>>   (note, this is still "fix version 4.1", but should be updated to 5.0)
>> - a lot of bugfixes, cleanup and refactoring, e.g.
>> time/date/timestamp-string formatting, deprecated DBCP1 adapters, DBCP2
> is
>>
>> the default now...
>> - Java 8, tested and build in Java 8 and 14 with JUnit 5 and Log4j2
>> - updated almost all plugin, build and database dependencies, major
>> updates: velocity 2.0, groovy 3.0.4
>> - added Docker testcontainer profiles for mysql and postgresql
>> - new refactored ant task Torque4JDBCTransformTask
>>
>> Keys:
>> https://svn.apache.org/repos/asf/db/torque/torque4/trunk/KEYS
>> https://dist.apache.org/repos/dist/release/db/torque/KEYS (after release
>> to be updated)
>>
>>
>> Please verify this release candidate carefully, give feedback or/and
> vote
>>
>>
>> [ ] +1 release it
>> [ ] +0 go ahead I don't care
>> [ ] -1 no, do not release it because
>>
>>
>> Have fun!
>>
>>
>> Best regards, Georg
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-dev-help@db.apache.org
>
>
>
>
>
>





---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Re: Re: Re: [VOTE] RC Torque 5.0 based on staged repository

Posted by Georg Kallidis <ge...@cedis.fu-berlin.de>.
Hi Jeffery,

I rechecked this and I think, this is a test configuration issue and 
resolvable.

The point is we have at least two configurations for the connection url.
1) pom.xml: in profile <database> property torque.database.url is set, 
which is used in sql-maven and antrun plugins. This is, where you made the 
changes..
2) pom.xml: surefire plugin sets property torque.configuration.file to 
src/test/profile/${torque.test.profileDirectory}/Torque.properties. 
In mysql/Torque.properties the jdbc url is set for the JUnit tests with:
torque.dsfactory.bookstore.connection.url = 
jdbc:mysql://localhost:3306/bookstore?serverTimezone=Europe/Berlin&useSSL=false&allowPublicKeyRetrieval=true
Exact Details: This is used in the host based (non docker) test 
environment here: 
org.apache.torque.junit5.extension.HostCallbackExtension.setUp(ExtensionContext). 
There this configuration is checked before evaluating the default (which 
is the same by the way: "src/test/profile/%s/Torque.properties").
If you change this and set the serverTimezone appropriately, e.g. to 
serverTimezone=America/New_York the test is passing (your failing test) !

Your first test fails, as the JUnit test sets the time field (using 
HostCallbackExtensions jdbc connection with serverTimezone=Europe/Berlin) 
and retrieves it from the database, which has timezone default to system, 
which is America/New_York. Actually setting the serverTimezone in the 
mysql pom profile does not affect anything, as all the initialization SQL 
is hard coded, and the serverTimezone is set there only to avoid a warning 
from the mysql jdbc driver (I think the warning is "The server timezone 
value XXX is unrecognized or represents more than one timezone). Voila!

Testing a different timezone than Europe/Berlin requires to set first of 
all setting the jdbc url in src/test/profile/%s/Torque.properties (or any 
other configured file). We should point out this somewhere in the 
developer's readme and explain this behaviour!

As a result, this is a test configuration issue.

What do you think? Is this stopping the release? 

Of course, we should update the README.md in torque-test, as the test 
expects, that the timezone in mysql is set implicitely (if it is system) 
or explicitely to Europe/Berlin, and this might be of course not the case 
... This is a IMO a non-functional requirement for running the tests, and 
we could only explain or declare it as such.

Best regards, Georg 




Von:    "Georg Kallidis" <ge...@cedis.fu-berlin.de>
An:     "Apache Torque Developers List" <to...@db.apache.org>
Datum:  24.08.2020 12:42
Betreff:        Re: Re: [VOTE] RC Torque 5.0 based on staged repository



Hi Jeffery,

thanks for testing this! 

The use case we want to test is IMO just the system time zone, i.e. mysql 
uses the local system settings. 

1) I would expect, if system timezone is America/NY, then, if using this 
same timezone in the application jdbc driver, setting or getting the time 
(date) should work and retrieve the same time. As it fails the question is 

why.. If I have to explain the result (of the failure), I would say, the 
time was set in another time zone, e.g UTC and we retrieve the time 
converting it to America/US timezone, that is a different time zone, but 
how could that happen, if the system timezone is the same? As the second 
test setting with Europe/Berlin does not fail, it may be, that some hard 
coded time zone setting is somewhere in the code (?). We have to check ... 

could you check in mysql, if this results in "system":  SELECT 
@@global.time_zone, @@session.time_zone;

2) The  same tests (DefaultValuesFromDatabaseContainerTest)pass here, if I 

use the docker test environment, having changed the system time zone or 
setting e.g. ENV TZ America/New_York in DockerFile. If you have a running 
docker environment , you may want to check this with 

mvn clean test -Pdocker-testcontainer,mysql,managers,beans

(You may have to stop mysql server, as the docker mysql by default does 
use the same port 3306 As in DockerCallbackMySQLExtension in the jdbc call 

the serverTimezone is set to ZoneId.systemDefault())

This might by the last resort, and probably is not the reason: Mysql 
driver version has in an upcoming release some bug fixes regarding date 
time conversions: 
https://dev.mysql.com/doc/relnotes/connector-j/8.0/en/news-8-0-20.html (we 

use 8.0.18). What happens, if you you update the driver to the newest 
version - 8.0.22 in torque-test/pom.xml, 
<torque.test.mysql.version>8.0.21</torque.test.mysql.version> ?

I'll keep you updated, when more reliable results appear ;-)

Best regards,  Georg

P.S: By default named time zones are not settable on mysql server (at 
least in windows, in unix you have to trigger the setting), see 
https://dev.mysql.com/doc/refman/8.0/en/time-zone-support.html.



Von:    Jeffery Painter <je...@jivecast.com>
An:     torque-dev@db.apache.org
Datum:  23.08.2020 23:17
Betreff:        Re: [VOTE] RC Torque 5.0 based on staged repository



Hi Georg,

I checked out the source from tag and was able to build and compile with 
no issues on my Linux machine (Ubuntu 20.04 fresh install):

Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /usr/java/maven
Java version: 1.8.0_261, vendor: Oracle Corporation, runtime: 
/usr/java/jdk1.8.0_261/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.4.0-42-generic", arch: "amd64", family: 
"unix"

I then went to torque-test/

I was able to run:

mvn clean test -Phsqldb,managers,beans

This completed with all tests passing.


MySQL Issues:

First test updating my pom.xml to use my local timezone:

-------------------------------------------------------------

I updated the torque-test/pom.xml to use my timezone "America/New_York"

painter@merlin:~/apache/torque-5.0/torque-test$ grep New_York pom.xml
<torque.database.url>jdbc:mysql://localhost:3306/bookstore?serverTimezone=America/New_York&amp;useSSL=false&amp;allowPublicKeyRetrieval=true</torque.database.url>

root@merlin:~# timedatectl
                Local time: Sun 2020-08-23 17:11:19 EDT
            Universal time: Sun 2020-08-23 21:11:19 UTC
                  RTC time: Sun 2020-08-23 21:11:19
                 Time zone: America/New_York (EDT, -0400)
System clock synchronized: yes
               NTP service: active
           RTC in local TZ: no


MySQL Server version: 8.0.21-0ubuntu0.20.04.4 (Ubuntu)
mvn clean test -Pmysql,managers,beans

[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] DefaultValuesFromDatabaseTest.testNewObjectChangedValue:214 
expected: <1970-01-01 11:21:31> but was: <1970-01-01 05:21:31>
[INFO]
[ERROR] Tests run: 287, Failures: 1, Errors: 0, Skipped: 0
[INFO]

-------------------------------------------------------------

Second, I try to reset my local timezone to Europe/Berlin

painter@merlin:~/apache/torque-5.0/torque-test$ grep Berlin pom.xml
<torque.database.url>jdbc:mysql://localhost:3306/bookstore?serverTimezone=Europe/Berlin&amp;useSSL=false&amp;allowPublicKeyRetrieval=true</torque.database.url>


painter@merlin:~/apache/torque-5.0/torque-test$ timedatectl
                Local time: Sun 2020-08-23 23:15:06 CEST
            Universal time: Sun 2020-08-23 21:15:06 UTC
                  RTC time: Sun 2020-08-23 21:15:07
                 Time zone: Europe/Berlin (CEST, +0200)
System clock synchronized: yes
               NTP service: active
           RTC in local TZ: no


mvn clean test -Pmysql,managers,beans

[INFO] Results:
[INFO]
[INFO] Tests run: 287, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] 
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] 
------------------------------------------------------------------------
[INFO] Total time:  02:27 min
[INFO] Finished at: 2020-08-23T23:15:33+02:00
[INFO] 
------------------------------------------------------------------------


So unfortunately, I would still say there is a bug in this test case, 
but it is very close! I do not know how to resolve this or I would :-)

[ ] +1 release it
[ ] +0 go ahead I don't care
[x] -1 no, do not release it because


--

Jeffery Painter










On 8/14/20 8:17 AM, Georg Kallidis wrote:
> Hi Torque community,
>
>
> another release candidate for Torque version 5.0 has been prepared and 
is
> again open for voting!
>
>
> Artifacts:
>
> 
https://repository.apache.org/content/repositories/orgapachetorque-1002/org/apache/torque/


>
>
> Tag:
>
> https://svn.apache.org/repos/asf/db/torque/torque4/tags/torque-5.0
>
>
> This release contains the following updates:
>
> - fixes from last vote relplies, updated resources, improved build
> workflow.
>
> - 81 resolved JIRA issues:
> 
https://issues.apache.org/jira/browse/TORQUE-359?jql=project%20%3D%20TORQUE%20AND%20status%20%3D%20Resolved%20AND%20fixVersion%20%3D%204.1


>
>
>   (note, this is still "fix version 4.1", but should be updated to 5.0)
> - a lot of bugfixes, cleanup and refactoring, e.g.
> time/date/timestamp-string formatting, deprecated DBCP1 adapters, DBCP2 
is
>
> the default now...
> - Java 8, tested and build in Java 8 and 14 with JUnit 5 and Log4j2
> - updated almost all plugin, build and database dependencies, major
> updates: velocity 2.0, groovy 3.0.4
> - added Docker testcontainer profiles for mysql and postgresql
> - new refactored ant task Torque4JDBCTransformTask
>
> Keys:
> https://svn.apache.org/repos/asf/db/torque/torque4/trunk/KEYS
> https://dist.apache.org/repos/dist/release/db/torque/KEYS (after release
> to be updated)
>
>
> Please verify this release candidate carefully, give feedback or/and 
vote
>
>
> [ ] +1 release it
> [ ] +0 go ahead I don't care
> [ ] -1 no, do not release it because
>
>
> Have fun!
>
>
> Best regards, Georg
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org






Re: Re: [VOTE] RC Torque 5.0 based on staged repository

Posted by Georg Kallidis <ge...@cedis.fu-berlin.de>.
Hi Jeffery,

thanks for testing this! 

The use case we want to test is IMO just the system time zone, i.e. mysql 
uses the local system settings. 

1) I would expect, if system timezone is America/NY, then, if using this 
same timezone in the application jdbc driver, setting or getting the time 
(date) should work and retrieve the same time. As it fails the question is 
why.. If I have to explain the result (of the failure), I would say, the 
time was set in another time zone, e.g UTC and we retrieve the time 
converting it to America/US timezone, that is a different time zone, but 
how could that happen, if the system timezone is the same? As the second 
test setting with Europe/Berlin does not fail, it may be, that some hard 
coded time zone setting is somewhere in the code (?). We have to check ... 
could you check in mysql, if this results in "system":  SELECT 
@@global.time_zone, @@session.time_zone;

2) The  same tests (DefaultValuesFromDatabaseContainerTest)pass here, if I 
use the docker test environment, having changed the system time zone or 
setting e.g. ENV TZ America/New_York in DockerFile. If you have a running 
docker environment , you may want to check this with 

mvn clean test -Pdocker-testcontainer,mysql,managers,beans

(You may have to stop mysql server, as the docker mysql by default does 
use the same port 3306 As in DockerCallbackMySQLExtension in the jdbc call 
the serverTimezone is set to ZoneId.systemDefault())

This might by the last resort, and probably is not the reason: Mysql 
driver version has in an upcoming release some bug fixes regarding date 
time conversions: 
https://dev.mysql.com/doc/relnotes/connector-j/8.0/en/news-8-0-20.html (we 
use 8.0.18). What happens, if you you update the driver to the newest 
version - 8.0.22 in torque-test/pom.xml, 
<torque.test.mysql.version>8.0.21</torque.test.mysql.version> ?

I'll keep you updated, when more reliable results appear ;-)

Best regards,  Georg

P.S: By default named time zones are not settable on mysql server (at 
least in windows, in unix you have to trigger the setting), see 
https://dev.mysql.com/doc/refman/8.0/en/time-zone-support.html.



Von:    Jeffery Painter <je...@jivecast.com>
An:     torque-dev@db.apache.org
Datum:  23.08.2020 23:17
Betreff:        Re: [VOTE] RC Torque 5.0 based on staged repository



Hi Georg,

I checked out the source from tag and was able to build and compile with 
no issues on my Linux machine (Ubuntu 20.04 fresh install):

Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /usr/java/maven
Java version: 1.8.0_261, vendor: Oracle Corporation, runtime: 
/usr/java/jdk1.8.0_261/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.4.0-42-generic", arch: "amd64", family: 
"unix"

I then went to torque-test/

I was able to run:

mvn clean test -Phsqldb,managers,beans

This completed with all tests passing.


MySQL Issues:

First test updating my pom.xml to use my local timezone:

-------------------------------------------------------------

I updated the torque-test/pom.xml to use my timezone "America/New_York"

painter@merlin:~/apache/torque-5.0/torque-test$ grep New_York pom.xml
<torque.database.url>jdbc:mysql://localhost:3306/bookstore?serverTimezone=America/New_York&amp;useSSL=false&amp;allowPublicKeyRetrieval=true</torque.database.url>

root@merlin:~# timedatectl
                Local time: Sun 2020-08-23 17:11:19 EDT
            Universal time: Sun 2020-08-23 21:11:19 UTC
                  RTC time: Sun 2020-08-23 21:11:19
                 Time zone: America/New_York (EDT, -0400)
System clock synchronized: yes
               NTP service: active
           RTC in local TZ: no


MySQL Server version: 8.0.21-0ubuntu0.20.04.4 (Ubuntu)
mvn clean test -Pmysql,managers,beans

[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] DefaultValuesFromDatabaseTest.testNewObjectChangedValue:214 
expected: <1970-01-01 11:21:31> but was: <1970-01-01 05:21:31>
[INFO]
[ERROR] Tests run: 287, Failures: 1, Errors: 0, Skipped: 0
[INFO]

-------------------------------------------------------------

Second, I try to reset my local timezone to Europe/Berlin

painter@merlin:~/apache/torque-5.0/torque-test$ grep Berlin pom.xml
<torque.database.url>jdbc:mysql://localhost:3306/bookstore?serverTimezone=Europe/Berlin&amp;useSSL=false&amp;allowPublicKeyRetrieval=true</torque.database.url>


painter@merlin:~/apache/torque-5.0/torque-test$ timedatectl
                Local time: Sun 2020-08-23 23:15:06 CEST
            Universal time: Sun 2020-08-23 21:15:06 UTC
                  RTC time: Sun 2020-08-23 21:15:07
                 Time zone: Europe/Berlin (CEST, +0200)
System clock synchronized: yes
               NTP service: active
           RTC in local TZ: no


mvn clean test -Pmysql,managers,beans

[INFO] Results:
[INFO]
[INFO] Tests run: 287, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] 
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] 
------------------------------------------------------------------------
[INFO] Total time:  02:27 min
[INFO] Finished at: 2020-08-23T23:15:33+02:00
[INFO] 
------------------------------------------------------------------------


So unfortunately, I would still say there is a bug in this test case, 
but it is very close! I do not know how to resolve this or I would :-)

[ ] +1 release it
[ ] +0 go ahead I don't care
[x] -1 no, do not release it because


--

Jeffery Painter










On 8/14/20 8:17 AM, Georg Kallidis wrote:
> Hi Torque community,
>
>
> another release candidate for Torque version 5.0 has been prepared and 
is
> again open for voting!
>
>
> Artifacts:
>
> 
https://repository.apache.org/content/repositories/orgapachetorque-1002/org/apache/torque/

>
>
> Tag:
>
> https://svn.apache.org/repos/asf/db/torque/torque4/tags/torque-5.0
>
>
> This release contains the following updates:
>
> - fixes from last vote relplies, updated resources, improved build
> workflow.
>
> - 81 resolved JIRA issues:
> 
https://issues.apache.org/jira/browse/TORQUE-359?jql=project%20%3D%20TORQUE%20AND%20status%20%3D%20Resolved%20AND%20fixVersion%20%3D%204.1

>
>
>   (note, this is still "fix version 4.1", but should be updated to 5.0)
> - a lot of bugfixes, cleanup and refactoring, e.g.
> time/date/timestamp-string formatting, deprecated DBCP1 adapters, DBCP2 
is
>
> the default now...
> - Java 8, tested and build in Java 8 and 14 with JUnit 5 and Log4j2
> - updated almost all plugin, build and database dependencies, major
> updates: velocity 2.0, groovy 3.0.4
> - added Docker testcontainer profiles for mysql and postgresql
> - new refactored ant task Torque4JDBCTransformTask
>
> Keys:
> https://svn.apache.org/repos/asf/db/torque/torque4/trunk/KEYS
> https://dist.apache.org/repos/dist/release/db/torque/KEYS (after release
> to be updated)
>
>
> Please verify this release candidate carefully, give feedback or/and 
vote
>
>
> [ ] +1 release it
> [ ] +0 go ahead I don't care
> [ ] -1 no, do not release it because
>
>
> Have fun!
>
>
> Best regards, Georg
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org




Re: [VOTE] RC Torque 5.0 based on staged repository

Posted by Jeffery Painter <je...@jivecast.com>.
Hi Georg,

I checked out the source from tag and was able to build and compile with 
no issues on my Linux machine (Ubuntu 20.04 fresh install):

Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /usr/java/maven
Java version: 1.8.0_261, vendor: Oracle Corporation, runtime: 
/usr/java/jdk1.8.0_261/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.4.0-42-generic", arch: "amd64", family: "unix"

I then went to torque-test/

I was able to run:

mvn clean test -Phsqldb,managers,beans

This completed with all tests passing.


MySQL Issues:

First test updating my pom.xml to use my local timezone:

-------------------------------------------------------------

I updated the torque-test/pom.xml to use my timezone "America/New_York"

painter@merlin:~/apache/torque-5.0/torque-test$ grep New_York pom.xml
<torque.database.url>jdbc:mysql://localhost:3306/bookstore?serverTimezone=America/New_York&amp;useSSL=false&amp;allowPublicKeyRetrieval=true</torque.database.url>

root@merlin:~# timedatectl
                Local time: Sun 2020-08-23 17:11:19 EDT
            Universal time: Sun 2020-08-23 21:11:19 UTC
                  RTC time: Sun 2020-08-23 21:11:19
                 Time zone: America/New_York (EDT, -0400)
System clock synchronized: yes
               NTP service: active
           RTC in local TZ: no


MySQL Server version: 8.0.21-0ubuntu0.20.04.4 (Ubuntu)
mvn clean test -Pmysql,managers,beans

[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] DefaultValuesFromDatabaseTest.testNewObjectChangedValue:214 
expected: <1970-01-01 11:21:31> but was: <1970-01-01 05:21:31>
[INFO]
[ERROR] Tests run: 287, Failures: 1, Errors: 0, Skipped: 0
[INFO]

-------------------------------------------------------------

Second, I try to reset my local timezone to Europe/Berlin

painter@merlin:~/apache/torque-5.0/torque-test$ grep Berlin pom.xml
<torque.database.url>jdbc:mysql://localhost:3306/bookstore?serverTimezone=Europe/Berlin&amp;useSSL=false&amp;allowPublicKeyRetrieval=true</torque.database.url>


painter@merlin:~/apache/torque-5.0/torque-test$ timedatectl
                Local time: Sun 2020-08-23 23:15:06 CEST
            Universal time: Sun 2020-08-23 21:15:06 UTC
                  RTC time: Sun 2020-08-23 21:15:07
                 Time zone: Europe/Berlin (CEST, +0200)
System clock synchronized: yes
               NTP service: active
           RTC in local TZ: no


mvn clean test -Pmysql,managers,beans

[INFO] Results:
[INFO]
[INFO] Tests run: 287, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] 
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] 
------------------------------------------------------------------------
[INFO] Total time:  02:27 min
[INFO] Finished at: 2020-08-23T23:15:33+02:00
[INFO] 
------------------------------------------------------------------------


So unfortunately, I would still say there is a bug in this test case, 
but it is very close! I do not know how to resolve this or I would :-)

[ ] +1 release it
[ ] +0 go ahead I don't care
[x] -1 no, do not release it because


--

Jeffery Painter










On 8/14/20 8:17 AM, Georg Kallidis wrote:
> Hi Torque community,
>
>
> another release candidate for Torque version 5.0 has been prepared and is
> again open for voting!
>
>
> Artifacts:
>
> https://repository.apache.org/content/repositories/orgapachetorque-1002/org/apache/torque/
>
>
> Tag:
>
> https://svn.apache.org/repos/asf/db/torque/torque4/tags/torque-5.0
>
>
> This release contains the following updates:
>
> - fixes from last vote relplies, updated resources, improved build
> workflow.
>
> - 81 resolved JIRA issues:
> https://issues.apache.org/jira/browse/TORQUE-359?jql=project%20%3D%20TORQUE%20AND%20status%20%3D%20Resolved%20AND%20fixVersion%20%3D%204.1
>
>
>   (note, this is still "fix version 4.1", but should be updated to 5.0)
> - a lot of bugfixes, cleanup and refactoring, e.g.
> time/date/timestamp-string formatting, deprecated DBCP1 adapters, DBCP2 is
>
> the default now...
> - Java 8, tested and build in Java 8 and 14 with JUnit 5 and Log4j2
> - updated almost all plugin, build and database dependencies, major
> updates: velocity 2.0, groovy 3.0.4
> - added Docker testcontainer profiles for mysql and postgresql
> - new refactored ant task Torque4JDBCTransformTask
>
> Keys:
> https://svn.apache.org/repos/asf/db/torque/torque4/trunk/KEYS
> https://dist.apache.org/repos/dist/release/db/torque/KEYS (after release
> to be updated)
>
>
> Please verify this release candidate carefully, give feedback or/and vote
>
>
> [ ] +1 release it
> [ ] +0 go ahead I don't care
> [ ] -1 no, do not release it because
>
>
> Have fun!
>
>
> Best regards, Georg
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Antwort: [VOTE] RC Torque 5.0 based on staged repository

Posted by Georg Kallidis <ge...@cedis.fu-berlin.de>.
[x] +1 release it

this is my vote ..



Von:    "Georg Kallidis" <ge...@cedis.fu-berlin.de>
An:     "Apache Torque Developers List" <to...@db.apache.org>
Datum:  14.08.2020 14:17
Betreff:        [VOTE] RC Torque 5.0 based on staged repository



Hi Torque community,


another release candidate for Torque version 5.0 has been prepared and is 
again open for voting!


Artifacts:

https://repository.apache.org/content/repositories/orgapachetorque-1002/org/apache/torque/ 



Tag:

https://svn.apache.org/repos/asf/db/torque/torque4/tags/torque-5.0


This release contains the following updates:

- fixes from last vote relplies, updated resources, improved build 
workflow.

- 81 resolved JIRA issues: 
https://issues.apache.org/jira/browse/TORQUE-359?jql=project%20%3D%20TORQUE%20AND%20status%20%3D%20Resolved%20AND%20fixVersion%20%3D%204.1 



 (note, this is still "fix version 4.1", but should be updated to 5.0)
- a lot of bugfixes, cleanup and refactoring, e.g. 
time/date/timestamp-string formatting, deprecated DBCP1 adapters, DBCP2 is 


the default now...
- Java 8, tested and build in Java 8 and 14 with JUnit 5 and Log4j2
- updated almost all plugin, build and database dependencies, major 
updates: velocity 2.0, groovy 3.0.4
- added Docker testcontainer profiles for mysql and postgresql
- new refactored ant task Torque4JDBCTransformTask

Keys:
https://svn.apache.org/repos/asf/db/torque/torque4/trunk/KEYS
https://dist.apache.org/repos/dist/release/db/torque/KEYS (after release 
to be updated)


Please verify this release candidate carefully, give feedback or/and vote


[ ] +1 release it
[ ] +0 go ahead I don't care
[ ] -1 no, do not release it because


Have fun!


Best regards, Georg






Re: [VOTE] RC Torque 5.0 based on staged repository

Posted by Georg Kallidis <ge...@cedis.fu-berlin.de>.
[ x ] +1 release it

my non binding vote ..

Best regards, Georg




Von:    "Georg Kallidis" <ge...@cedis.fu-berlin.de>
An:     "Apache Torque Developers List" <to...@db.apache.org>
Datum:  14.08.2020 14:17
Betreff:        [VOTE] RC Torque 5.0 based on staged repository



Hi Torque community,


another release candidate for Torque version 5.0 has been prepared and is 
again open for voting!


Artifacts:

https://repository.apache.org/content/repositories/orgapachetorque-1002/org/apache/torque/ 



Tag:

https://svn.apache.org/repos/asf/db/torque/torque4/tags/torque-5.0


This release contains the following updates:

- fixes from last vote relplies, updated resources, improved build 
workflow.

- 81 resolved JIRA issues: 
https://issues.apache.org/jira/browse/TORQUE-359?jql=project%20%3D%20TORQUE%20AND%20status%20%3D%20Resolved%20AND%20fixVersion%20%3D%204.1 



 (note, this is still "fix version 4.1", but should be updated to 5.0)
- a lot of bugfixes, cleanup and refactoring, e.g. 
time/date/timestamp-string formatting, deprecated DBCP1 adapters, DBCP2 is 


the default now...
- Java 8, tested and build in Java 8 and 14 with JUnit 5 and Log4j2
- updated almost all plugin, build and database dependencies, major 
updates: velocity 2.0, groovy 3.0.4
- added Docker testcontainer profiles for mysql and postgresql
- new refactored ant task Torque4JDBCTransformTask

Keys:
https://svn.apache.org/repos/asf/db/torque/torque4/trunk/KEYS
https://dist.apache.org/repos/dist/release/db/torque/KEYS (after release 
to be updated)


Please verify this release candidate carefully, give feedback or/and vote


[ ] +1 release it
[ ] +0 go ahead I don't care
[ ] -1 no, do not release it because


Have fun!


Best regards, Georg






[VOTE] RC Torque 5.0 based on staged repository

Posted by Georg Kallidis <ge...@cedis.fu-berlin.de>.
Hi Torque community,


another release candidate for Torque version 5.0 has been prepared and is 
again open for voting!


Artifacts:

https://repository.apache.org/content/repositories/orgapachetorque-1002/org/apache/torque/ 


Tag:

https://svn.apache.org/repos/asf/db/torque/torque4/tags/torque-5.0


This release contains the following updates:

- fixes from last vote relplies, updated resources, improved build 
workflow.

- 81 resolved JIRA issues: 
https://issues.apache.org/jira/browse/TORQUE-359?jql=project%20%3D%20TORQUE%20AND%20status%20%3D%20Resolved%20AND%20fixVersion%20%3D%204.1 


 (note, this is still "fix version 4.1", but should be updated to 5.0)
- a lot of bugfixes, cleanup and refactoring, e.g. 
time/date/timestamp-string formatting, deprecated DBCP1 adapters, DBCP2 is 

the default now...
- Java 8, tested and build in Java 8 and 14 with JUnit 5 and Log4j2
- updated almost all plugin, build and database dependencies, major 
updates: velocity 2.0, groovy 3.0.4
- added Docker testcontainer profiles for mysql and postgresql
- new refactored ant task Torque4JDBCTransformTask

Keys:
https://svn.apache.org/repos/asf/db/torque/torque4/trunk/KEYS
https://dist.apache.org/repos/dist/release/db/torque/KEYS (after release 
to be updated)


Please verify this release candidate carefully, give feedback or/and vote


[ ] +1 release it
[ ] +0 go ahead I don't care
[ ] -1 no, do not release it because


Have fun!


Best regards, Georg




Re: Re: [VOTE] RC Torque 5.0 based on staged repository

Posted by Georg Kallidis <ge...@cedis.fu-berlin.de>.
Hi Jeffery,

ok, I missed this.
I tested only with local mysql 10.1.36-MariaDB and the test passed (!).
And it is not included in the mysql docker tests in package 
org.apache.torque.testcontainer. If I test it with mysql image 
mysql:8.0.18 the test fails.
I get this error: org.junit.ComparisonFailure: expected:<1970-01-01 
1[2]:21:31> but was:<1970-01-01 1[1]:21:31>
"Expected" is this code:
toString(doSelect(toDate("1970-01-01 11:21:31"),
                java.sql.Time.class, adapter))

It seems to me, that this may be converted from GMT to system default time 
zone (for me: as summertime is only after 1996 it is Europe/Berlin / CET, 
which has a one hour difference from GMT -> 12 instead of 11, in your case 
about GMT - 6h). If I add the timezone in the jdbc driver in 
org.apache.torque.testcontainer.junit5.extension.DockerCallbackMySQLExtension 
call of 
generateJdbcUrl("?loggerLevel=OFF&serverTimezone="+ ZoneId.systemDefault
());
the test passes (!) But why do date and timestamp tests pass? 
This is how docker mysql (TODO postgresql docker) could be fixed, but what 
if running a mysql server locally? 

Best regards, Georg

P.S.: We set in pom.xml the jdbc in profile mysql with hard coded 
serverTimezone=Europe/Berlin. This has to be correct of course set and not 
system default. ;ay be some time zone setting is not done for time type 
converting. I think Thomas (tv) mentioned, that the time mapping should be 
reviewed once more, but he may not have done it.



Von:    Jeffery Painter <je...@jivecast.com>
An:     torque-dev@db.apache.org
Datum:  03.08.2020 18:28
Betreff:        Re: [VOTE] RC Torque 5.0 based on staged repository


Hi Georg,


Thanks for the pointer.  I re-ran the tests with both PostgreSQL and 
MySQL.  It was "managers" and not "manager" that fixed it. All looks 
good except for one test failure, and it looks like maybe a simple fix 
is needed.  I get the same test failure on both databases.  It looks 
like maybe it is a time zone issue?


[ERROR] Failures:
[ERROR] DefaultValuesFromDatabaseTest.testNewObjectChangedValue:211 
expected:<1970-01-01 [05]:21:31> but was:<1970-01-01 [11]:21:31>
[INFO]
[ERROR] Tests run: 260, Failures: 1, Errors: 0, Skipped: 0
[INFO]


Otherwise, I think everything looks good.


-

Jeffery



On 8/1/20 6:17 AM, Georg Kallidis wrote:
> Hi Jeffery,
>
> sorry, it might be, that I referred to the profile as 'manager', whereas 
it should be "managers".
>
> -Georg
>
> On July 31, 2020 3:30:52 PM GMT+02:00, Jeffery Painter 
<je...@jivecast.com> wrote:
>> FYI - I get the same error when trying to run for the postgresql
>> profile
>> (it does create the tables):
>>
>>
>> bookstore=# \dt
>>                    List of relations
>>   Schema |            Name            | Type  | Owner
>> --------+----------------------------+-------+--------
>>   public | abstract                   | table | torque
>>   public | author                     | table | torque
>>   public | autoincrement_idbroker     | table | torque
>>   public | autoincrement_native       | table | torque
>>   public | autoincrement_none         | table | torque
>>   public | base                       | table | torque
>>   public | bigint_type                | table | torque
>>   public | binary_type                | table | torque
>>   public | bint_bchar_type            | table | torque
>>   public | bit_composite_pk           | table | torque
>>   public | bit_type                   | table | torque
>>   public | blob_type                  | table | torque
>>   public | book                       | table | torque
>>
>> ...
>>
>>
>>
>> On 7/31/20 9:18 AM, Jeffery Painter wrote:
>>> Hi Georg,
>>>
>>>
>>> I created a db user torque@localhost, and then ran:
>>>
>>> painter@merlin:~/apache/torque/torque-5.0/torque-test$ mvn clean test
>>> -Pmysql,manager,beans
>>>
>>> The tests created lots of tables in the 'bookstore' database, but
>> then I
>>> got the following complaints :-(
>>>
>>>
>>> [INFO] -------------------------------------------------------------
>>> [ERROR] COMPILATION ERROR :
>>> [INFO] -------------------------------------------------------------
>>> [ERROR]
>>>
>> 
/home/painter/apache/torque/torque-5.0/torque-test/src/test/java/org/apache/torque/ManagerTestConditional.java:[31,38]
>>> package org.apache.torque.test.manager does not exist
>>> [ERROR]
>>>
>> 
/home/painter/apache/torque/torque-5.0/torque-test/src/test/java/org/apache/torque/ManagerTestConditional.java:[32,38]
>>> package org.apache.torque.test.manager does not exist
>>> [ERROR]
>>>
>> 
/home/painter/apache/torque/torque-5.0/torque-test/src/test/java/org/apache/torque/ManagerTestConditional.java:[33,38]
>>> package org.apache.torque.test.manager does not exist
>>> [INFO] 3 errors
>>> [INFO] -------------------------------------------------------------
>>> [INFO]
>>>
>> 
------------------------------------------------------------------------
>>> [INFO] BUILD FAILURE
>>> [INFO]
>>>
>> 
------------------------------------------------------------------------
>>> [INFO] Total time:  19.456 s
>>> [INFO] Finished at: 2020-07-31T09:14:43-04:00
>>> [INFO]
>>>
>> 
------------------------------------------------------------------------
>>> [WARNING] The requested profile "manager" could not be activated
>> because
>>> it does not exist.
>>> [ERROR] Failed to execute goal
>>> org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile
>>> (default-testCompile) on project torque-test: Compilation failure:
>>> Compilation failure:
>>> [ERROR]
>>>
>> 
/home/painter/apache/torque/torque-5.0/torque-test/src/test/java/org/apache/torque/ManagerTestConditional.java:[31,38]
>>> package org.apache.torque.test.manager does not exist
>>> [ERROR]
>>>
>> 
/home/painter/apache/torque/torque-5.0/torque-test/src/test/java/org/apache/torque/ManagerTestConditional.java:[32,38]
>>> package org.apache.torque.test.manager does not exist
>>> [ERROR]
>>>
>> 
/home/painter/apache/torque/torque-5.0/torque-test/src/test/java/org/apache/torque/ManagerTestConditional.java:[33,38]
>>> package org.apache.torque.test.manager does not exist
>>> [ERROR] -> [Help 1]
>>> [ERROR]
>>> [ERROR] To see the full stack trace of the errors, re-run Maven with
>> the
>>> -e switch.
>>> [ERROR] Re-run Maven using the -X switch to enable full debug
>> logging.
>>> [ERROR]
>>> [ERROR] For more information about the errors and possible solutions,
>>> please read the following articles:
>>> [ERROR] [Help 1]
>>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>>>
>>>
>>>
>>>
>>>> Hi Jeffery,
>>>>
>>>> Hi Jeffery,
>>>>
>>>> thanks for voting and testing!
>>>>
>>>> You may also check the README in subfolder torque-test and test
>> there
>>>> against locale or docker databases.
>>>>
>>>> Best regards,
>>>>
>>>> Georg
>>>>
>>>>
>>>>
>>>> Von:    Jeffery Painter <je...@jivecast.com>
>>>> An:     torque-dev@db.apache.org
>>>> Datum:  30.07.2020 17:13
>>>> Betreff:        Re: [VOTE] RC Torque 5.0 based on staged repository
>>>>
>>>>
>>>>
>>>> Hi Georg,
>>>>
>>>> I was able to check out clean from SVN and build successfully with
>>>>
>>>> $ mvn clean install site
>>>>
>>>>
>>>> $ mvn -version
>>>>
>>>> Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
>>>> Maven home: /usr/java/maven
>>>> Java version: 1.8.0_261, vendor: Oracle Corporation, runtime:
>>>> /usr/java/jdk1.8.0_261/jre
>>>> Default locale: en_US, platform encoding: UTF-8
>>>> OS name: "linux", version: "5.4.0-42-generic", arch: "amd64",
>> family:
>>>> "unix"
>>>>
>>>>
>>>> The artifacts look good to me:
>>>>
>>>> painter@merlin:~/apache/torque/artifacts$ gpg --verify
>>>> torque-5.0-source-release.zip.asc torque-5.0-source-release.zip
>>>> gpg: Signature made Fri 17 Jul 2020 05:37:06 AM EDT
>>>> gpg:                using RSA key
>> 83221A9E13D9F6A39E718DD76EAAE3D2F615E012
>>>> gpg: Good signature from "Georg Kallidis (APACHE CODE SIGNING KEY)
>>>> <gk...@apache.org>" [unknown]
>>>>
>>>>
>>>> My vote
>>>>
>>>> [ x ] +1 release it
>>>>
>>>>
>>>> -
>>>> Jeffery Painter
>>>>
>>>> painter@apache.org
>>>>
>>>> jeff@jivecast.com
>>>>
>>>>
>>>>
>>>> On 7/17/20 6:00 AM, Georg Kallidis wrote:
>>>>> Hi Torque community,
>>>>>
>>>>> a release candidate for Torque version 5.0 has been prepared and is
>> open
>>>>> for voting!
>>>>>
>>>>> Artifacts:
>>>>>
>>>>>
>> 
https://repository.apache.org/content/repositories/orgapachetorque-1000/
>>>>> Tag:
>>>>>
>>>>> https://svn.apache.org/repos/asf/db/torque/torque4/tags/torque-5.0
>>>>>
>>>>> This release contains the following updates:
>>>>>
>>>>> - 81 resolved JIRA issues:
>>>>>
>> 
https://issues.apache.org/jira/browse/TORQUE-359?jql=project%20%3D%20TORQUE%20AND%20status%20%3D%20Resolved%20AND%20fixVersion%20%3D%204.1

>>>>>     (note, this is still "fix version 4.1", but will be updated to
>> 5.0
>>>> later)
>>>>> - a lot of bugfixes, cleanup and refactoring, e.g.
>>>>> time/date/timestamp-string formatting, deprecated DBCP1 adapters,
>> DBCP2
>>>> is
>>>>> the default now...
>>>>> - Java 8, tested and build in Java 8 and 14 with JUnit 5 and Log4j2
>>>>> - updated almost all plugin, build and database dependencies, major
>>>>> updates: velocity 2.0, groovy 3.0.4
>>>>> - added Docker testcontainer profiles for mysql and postgresql
>>>>> - new refactored ant task Torque4JDBCTransformTask
>>>>>
>>>>> Keys:
>>>>> https://svn.apache.org/repos/asf/db/torque/torque4/trunk/KEYS
>>>>> https://dist.apache.org/repos/dist/release/db/torque/KEYS (to be
>>>> updated)
>>>>> Please verify this release candidate carefully, give feedback
>> or/and
>>>> vote
>>>>> [ ] +1 release it
>>>>> [ ] +0 go ahead I don't care
>>>>> [ ] -1 no, do not release it because
>>>>>
>>>>>
>>>>> Have fun!
>>>>>
>>>>>
>>>>> Best regards, Georg
>>>>>
>>>>>
>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe@torque.apache.org
>>>>> For additional commands, e-mail: dev-help@torque.apache.org
>>>>>
>>>>>
>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
>>>> For additional commands, e-mail: torque-dev-help@db.apache.org
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
>>> For additional commands, e-mail: torque-dev-help@db.apache.org
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
>> For additional commands, e-mail: torque-dev-help@db.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org




Re: [VOTE] RC Torque 5.0 based on staged repository

Posted by Jeffery Painter <je...@jivecast.com>.
Hi Georg,


Thanks for the pointer.  I re-ran the tests with both PostgreSQL and 
MySQL.  It was "managers" and not "manager" that fixed it. All looks 
good except for one test failure, and it looks like maybe a simple fix 
is needed.  I get the same test failure on both databases.  It looks 
like maybe it is a time zone issue?


[ERROR] Failures:
[ERROR] DefaultValuesFromDatabaseTest.testNewObjectChangedValue:211 
expected:<1970-01-01 [05]:21:31> but was:<1970-01-01 [11]:21:31>
[INFO]
[ERROR] Tests run: 260, Failures: 1, Errors: 0, Skipped: 0
[INFO]


Otherwise, I think everything looks good.


-

Jeffery



On 8/1/20 6:17 AM, Georg Kallidis wrote:
> Hi Jeffery,
>
> sorry, it might be, that I referred to the profile as 'manager', whereas it should be "managers".
>
> -Georg
>
> On July 31, 2020 3:30:52 PM GMT+02:00, Jeffery Painter <je...@jivecast.com> wrote:
>> FYI - I get the same error when trying to run for the postgresql
>> profile
>> (it does create the tables):
>>
>>
>> bookstore=# \dt
>>                    List of relations
>>   Schema |            Name            | Type  | Owner
>> --------+----------------------------+-------+--------
>>   public | abstract                   | table | torque
>>   public | author                     | table | torque
>>   public | autoincrement_idbroker     | table | torque
>>   public | autoincrement_native       | table | torque
>>   public | autoincrement_none         | table | torque
>>   public | base                       | table | torque
>>   public | bigint_type                | table | torque
>>   public | binary_type                | table | torque
>>   public | bint_bchar_type            | table | torque
>>   public | bit_composite_pk           | table | torque
>>   public | bit_type                   | table | torque
>>   public | blob_type                  | table | torque
>>   public | book                       | table | torque
>>
>> ...
>>
>>
>>
>> On 7/31/20 9:18 AM, Jeffery Painter wrote:
>>> Hi Georg,
>>>
>>>
>>> I created a db user torque@localhost, and then ran:
>>>
>>> painter@merlin:~/apache/torque/torque-5.0/torque-test$ mvn clean test
>>> -Pmysql,manager,beans
>>>
>>> The tests created lots of tables in the 'bookstore' database, but
>> then I
>>> got the following complaints :-(
>>>
>>>
>>> [INFO] -------------------------------------------------------------
>>> [ERROR] COMPILATION ERROR :
>>> [INFO] -------------------------------------------------------------
>>> [ERROR]
>>>
>> /home/painter/apache/torque/torque-5.0/torque-test/src/test/java/org/apache/torque/ManagerTestConditional.java:[31,38]
>>> package org.apache.torque.test.manager does not exist
>>> [ERROR]
>>>
>> /home/painter/apache/torque/torque-5.0/torque-test/src/test/java/org/apache/torque/ManagerTestConditional.java:[32,38]
>>> package org.apache.torque.test.manager does not exist
>>> [ERROR]
>>>
>> /home/painter/apache/torque/torque-5.0/torque-test/src/test/java/org/apache/torque/ManagerTestConditional.java:[33,38]
>>> package org.apache.torque.test.manager does not exist
>>> [INFO] 3 errors
>>> [INFO] -------------------------------------------------------------
>>> [INFO]
>>>
>> ------------------------------------------------------------------------
>>> [INFO] BUILD FAILURE
>>> [INFO]
>>>
>> ------------------------------------------------------------------------
>>> [INFO] Total time:  19.456 s
>>> [INFO] Finished at: 2020-07-31T09:14:43-04:00
>>> [INFO]
>>>
>> ------------------------------------------------------------------------
>>> [WARNING] The requested profile "manager" could not be activated
>> because
>>> it does not exist.
>>> [ERROR] Failed to execute goal
>>> org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile
>>> (default-testCompile) on project torque-test: Compilation failure:
>>> Compilation failure:
>>> [ERROR]
>>>
>> /home/painter/apache/torque/torque-5.0/torque-test/src/test/java/org/apache/torque/ManagerTestConditional.java:[31,38]
>>> package org.apache.torque.test.manager does not exist
>>> [ERROR]
>>>
>> /home/painter/apache/torque/torque-5.0/torque-test/src/test/java/org/apache/torque/ManagerTestConditional.java:[32,38]
>>> package org.apache.torque.test.manager does not exist
>>> [ERROR]
>>>
>> /home/painter/apache/torque/torque-5.0/torque-test/src/test/java/org/apache/torque/ManagerTestConditional.java:[33,38]
>>> package org.apache.torque.test.manager does not exist
>>> [ERROR] -> [Help 1]
>>> [ERROR]
>>> [ERROR] To see the full stack trace of the errors, re-run Maven with
>> the
>>> -e switch.
>>> [ERROR] Re-run Maven using the -X switch to enable full debug
>> logging.
>>> [ERROR]
>>> [ERROR] For more information about the errors and possible solutions,
>>> please read the following articles:
>>> [ERROR] [Help 1]
>>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>>>
>>>
>>>
>>>
>>>> Hi Jeffery,
>>>>
>>>> Hi Jeffery,
>>>>
>>>> thanks for voting and testing!
>>>>
>>>> You may also check the README in subfolder torque-test and test
>> there
>>>> against locale or docker databases.
>>>>
>>>> Best regards,
>>>>
>>>> Georg
>>>>
>>>>
>>>>
>>>> Von:    Jeffery Painter <je...@jivecast.com>
>>>> An:     torque-dev@db.apache.org
>>>> Datum:  30.07.2020 17:13
>>>> Betreff:        Re: [VOTE] RC Torque 5.0 based on staged repository
>>>>
>>>>
>>>>
>>>> Hi Georg,
>>>>
>>>> I was able to check out clean from SVN and build successfully with
>>>>
>>>> $ mvn clean install site
>>>>
>>>>
>>>> $ mvn -version
>>>>
>>>> Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
>>>> Maven home: /usr/java/maven
>>>> Java version: 1.8.0_261, vendor: Oracle Corporation, runtime:
>>>> /usr/java/jdk1.8.0_261/jre
>>>> Default locale: en_US, platform encoding: UTF-8
>>>> OS name: "linux", version: "5.4.0-42-generic", arch: "amd64",
>> family:
>>>> "unix"
>>>>
>>>>
>>>> The artifacts look good to me:
>>>>
>>>> painter@merlin:~/apache/torque/artifacts$ gpg --verify
>>>> torque-5.0-source-release.zip.asc torque-5.0-source-release.zip
>>>> gpg: Signature made Fri 17 Jul 2020 05:37:06 AM EDT
>>>> gpg:                using RSA key
>> 83221A9E13D9F6A39E718DD76EAAE3D2F615E012
>>>> gpg: Good signature from "Georg Kallidis (APACHE CODE SIGNING KEY)
>>>> <gk...@apache.org>" [unknown]
>>>>
>>>>
>>>> My vote
>>>>
>>>> [ x ] +1 release it
>>>>
>>>>
>>>> -
>>>> Jeffery Painter
>>>>
>>>> painter@apache.org
>>>>
>>>> jeff@jivecast.com
>>>>
>>>>
>>>>
>>>> On 7/17/20 6:00 AM, Georg Kallidis wrote:
>>>>> Hi Torque community,
>>>>>
>>>>> a release candidate for Torque version 5.0 has been prepared and is
>> open
>>>>> for voting!
>>>>>
>>>>> Artifacts:
>>>>>
>>>>>
>> https://repository.apache.org/content/repositories/orgapachetorque-1000/
>>>>> Tag:
>>>>>
>>>>> https://svn.apache.org/repos/asf/db/torque/torque4/tags/torque-5.0
>>>>>
>>>>> This release contains the following updates:
>>>>>
>>>>> - 81 resolved JIRA issues:
>>>>>
>> https://issues.apache.org/jira/browse/TORQUE-359?jql=project%20%3D%20TORQUE%20AND%20status%20%3D%20Resolved%20AND%20fixVersion%20%3D%204.1
>>>>>     (note, this is still "fix version 4.1", but will be updated to
>> 5.0
>>>> later)
>>>>> - a lot of bugfixes, cleanup and refactoring, e.g.
>>>>> time/date/timestamp-string formatting, deprecated DBCP1 adapters,
>> DBCP2
>>>> is
>>>>> the default now...
>>>>> - Java 8, tested and build in Java 8 and 14 with JUnit 5 and Log4j2
>>>>> - updated almost all plugin, build and database dependencies, major
>>>>> updates: velocity 2.0, groovy 3.0.4
>>>>> - added Docker testcontainer profiles for mysql and postgresql
>>>>> - new refactored ant task Torque4JDBCTransformTask
>>>>>
>>>>> Keys:
>>>>> https://svn.apache.org/repos/asf/db/torque/torque4/trunk/KEYS
>>>>> https://dist.apache.org/repos/dist/release/db/torque/KEYS (to be
>>>> updated)
>>>>> Please verify this release candidate carefully, give feedback
>> or/and
>>>> vote
>>>>> [ ] +1 release it
>>>>> [ ] +0 go ahead I don't care
>>>>> [ ] -1 no, do not release it because
>>>>>
>>>>>
>>>>> Have fun!
>>>>>
>>>>>
>>>>> Best regards, Georg
>>>>>
>>>>>
>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe@torque.apache.org
>>>>> For additional commands, e-mail: dev-help@torque.apache.org
>>>>>
>>>>>
>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
>>>> For additional commands, e-mail: torque-dev-help@db.apache.org
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
>>> For additional commands, e-mail: torque-dev-help@db.apache.org
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
>> For additional commands, e-mail: torque-dev-help@db.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org