You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2026/10/09 10:25:38 UTC

(shardingsphere) branch master updated: Fix encrypt example metadata constructor (#40113)

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

terrymanu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new 51a09f14611 Fix encrypt example metadata constructor (#40113)
51a09f14611 is described below

commit 51a09f1461165c240634984aec23a62c16bbdb6b
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Fri Oct 9 18:25:30 2026 +0800

    Fix encrypt example metadata constructor (#40113)
---
 .../template/java/TestQueryAssistedShardingEncryptAlgorithm.ftl         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/shardingsphere-jdbc-example-generator/src/main/resources/template/java/TestQueryAssistedShardingEncryptAlgorithm.ftl b/examples/shardingsphere-jdbc-example-generator/src/main/resources/template/java/TestQueryAssistedShardingEncryptAlgorithm.ftl
index bd5ee9e0268..21515b44124 100644
--- a/examples/shardingsphere-jdbc-example-generator/src/main/resources/template/java/TestQueryAssistedShardingEncryptAlgorithm.ftl
+++ b/examples/shardingsphere-jdbc-example-generator/src/main/resources/template/java/TestQueryAssistedShardingEncryptAlgorithm.ftl
@@ -39,7 +39,7 @@ public final class TestQueryAssistedShardingEncryptAlgorithm implements EncryptA
     @Override
     public void init(final Properties props) {
         this.properties = props;
-        EncryptAlgorithmMetaData algorithmMetaData = new EncryptAlgorithmMetaData(false, true, false);
+        EncryptAlgorithmMetaData algorithmMetaData = new EncryptAlgorithmMetaData(false, true, false, String.class);
         metaData = algorithmMetaData;
     }