You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@empire-db.apache.org by do...@apache.org on 2022/03/08 10:35:46 UTC

[empire-db] branch master updated: Updated changelog for version 3.0.0

This is an automated email from the ASF dual-hosted git repository.

doebele pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/empire-db.git


The following commit(s) were added to refs/heads/master by this push:
     new 0c4a0a5  Updated changelog for version 3.0.0
0c4a0a5 is described below

commit 0c4a0a55c8ec655abd6bce273529d9feeee94f56
Author: Rainer Döbele <do...@apache.org>
AuthorDate: Tue Mar 8 11:35:44 2022 +0100

    Updated changelog for version 3.0.0
---
 CHANGELOG.txt                                      | 32 +++++++++++++++++++++-
 .../samples/db/advanced/records/DealerRecord.java  |  4 +--
 2 files changed, 33 insertions(+), 3 deletions(-)

diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index bca5c52..1c622e1 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -1,10 +1,40 @@
 Apache Empire-db
-Copyright 2008-2021 The Apache Software Foundation
+Copyright 2008-2022 The Apache Software Foundation
 
 For more Information about a particular issue please visit
 https://issues.apache.org/jira/browse/EMPIREDB
 
 --------------
+Release 3.0.0:
+--------------
+
+Summary: Release 3.0 features a complete API rework hence introduces breaking changes from the previous 2.x branch.
+
+** Improvement
+	EMPIREDB-382	Core:	Provide easy access to native DBMS functions
+	EMPIREDB-381	Core:	Improve PostgreSQL Handler / Add Postgres specific functions
+	EMPIREDB-380	Core:	Reintegrate spring-boot example for version 3
+	EMPIREDB-378	Core:	PostgeSQL: SQL Pattern for TIMESTAMP Columns
+	EMPIREDB-374	Core:	replace log4jv1 usage - EOL and with multiple security vulnerabilities
+	EMPIREDB-373	Core:	Improve Automatic prepared statements with DBCommand
+	EMPIREDB-372	Core:	Allow method chaining by returning this on some DBCommand and DBRecord methods
+	EMPIREDB-371	Core:	Deferred identiy setting for DBRecord
+	EMPIREDB-370	Core:	Allow alternative DBRecord implementations
+	EMPIREDB-369	Core:	Improve typesafety by using generics
+	EMPIREDB-368	Core:	New queryBean functions and Bean Rowset mapping
+	EMPIREDB-367	Core:	New query type DataList as bean replacement
+	EMPIREDB-366	Core:	Remove Serializable from DBObject
+	EMPIREDB-365	Core:	Add support for Java 8 time api
+	EMPIREDB-364	Core:	Handle rollback on DBRecord to restore state
+	EMPIREDB-363	Core:	New DBContext as replacement for Connection param
+	EMPIREDB-362	Core:	Version 3 Complete API Rework
+	
+** Bugfix / Other
+	EMPIREDB-375	Struts:	Removed support for Struts2 and all its modules due to outdated Struts version
+	EMPIREDB-376	Core:	Do not use insecure http endpoints when doing maven build
+	EMPIREDB-377	JSF:	Page - addFacesMessage always issues WARN-Message
+
+--------------
 Release 2.5.1:
 --------------
 
diff --git a/empire-db-examples/empire-db-example-advanced/src/main/java/org/apache/empire/samples/db/advanced/records/DealerRecord.java b/empire-db-examples/empire-db-example-advanced/src/main/java/org/apache/empire/samples/db/advanced/records/DealerRecord.java
index 329ce79..21e1d5a 100644
--- a/empire-db-examples/empire-db-example-advanced/src/main/java/org/apache/empire/samples/db/advanced/records/DealerRecord.java
+++ b/empire-db-examples/empire-db-example-advanced/src/main/java/org/apache/empire/samples/db/advanced/records/DealerRecord.java
@@ -42,7 +42,7 @@ public class DealerRecord extends TRecord<SampleContext, CarSalesDB.Dealer>
      */
     public String getBrands()
     {
-        DBCommand cmd = T.DB.createCommand()
+        DBCommand cmd = CTX.createCommand()
                 .select(T.DB.BRAND.NAME.stringAgg(", "))
                 .join(T.DB.DEALER_BRANDS.WMI, T.DB.BRAND.WMI)
                 .where(T.DB.DEALER_BRANDS.DEALER_ID.is(getIdentity()));
@@ -57,7 +57,7 @@ public class DealerRecord extends TRecord<SampleContext, CarSalesDB.Dealer>
     {
         if (brandList == null)
         {   // init brand list
-            DBCommand cmd = T.DB.createCommand()
+            DBCommand cmd = CTX.createCommand()
                     .join(T.DB.DEALER_BRANDS.WMI, T.DB.BRAND.WMI)
                     .where(T.DB.DEALER_BRANDS.DEALER_ID.is(getIdentity()));
             brandList = CTX.getUtils().queryRecordList(cmd, T.DB.BRAND, BrandRecord.class);