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 2026/05/21 09:48:53 UTC
(empire-db) branch master updated: EMPIREDB-492: DBRowSet: allow record initialization from RecordData instead of DBRecordData
This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits 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 f64cf167 EMPIREDB-492: DBRowSet: allow record initialization from RecordData instead of DBRecordData
f64cf167 is described below
commit f64cf167b0f872dddaeaf85e9279900f3fd1d6b2
Author: Rainer Döbele <do...@apache.org>
AuthorDate: Thu May 21 11:48:48 2026 +0200
EMPIREDB-492:
DBRowSet: allow record initialization from RecordData instead of DBRecordData
---
empire-db/src/main/java/org/apache/empire/db/DBRowSet.java | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/empire-db/src/main/java/org/apache/empire/db/DBRowSet.java b/empire-db/src/main/java/org/apache/empire/db/DBRowSet.java
index 676e3a2c..48f88eb5 100644
--- a/empire-db/src/main/java/org/apache/empire/db/DBRowSet.java
+++ b/empire-db/src/main/java/org/apache/empire/db/DBRowSet.java
@@ -37,6 +37,7 @@ import org.apache.empire.data.ColumnExpr;
import org.apache.empire.data.DataType;
import org.apache.empire.data.Entity;
import org.apache.empire.data.Record;
+import org.apache.empire.data.RecordData;
import org.apache.empire.db.DBRelation.DBCascadeAction;
import org.apache.empire.db.DBRelation.DBReference;
import org.apache.empire.db.context.DBContextBase;
@@ -747,7 +748,7 @@ public abstract class DBRowSet extends DBExpr implements Entity
* @param recData the record data from which to initialized the record
* @param newRecord true if the record is new or false if it is an existing record
*/
- public void initRecord(DBRecordBase record, DBRecordData recData, boolean newRecord)
+ public void initRecord(DBRecordBase record, RecordData recData, boolean newRecord)
{
// check param
checkParamRecord(record, false);
@@ -785,11 +786,11 @@ public abstract class DBRowSet extends DBExpr implements Entity
/**
* Initializes a DBRecord for this rowset for an existing record
- * @see org.apache.empire.db.DBRowSet#initRecord(DBRecordBase, DBRecordData, boolean)
+ * @see org.apache.empire.db.DBRowSet#initRecord(DBRecordBase, RecordData, boolean)
* @param record the record object
* @param recData the record data from which to initialized the record
*/
- public final void initRecord(DBRecordBase record, DBRecordData recData)
+ public final void initRecord(DBRecordBase record, RecordData recData)
{
initRecord(record, recData, false);
}