apex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhup...@apache.org
Subject apex-malhar git commit: APEXMALHAR-2351 fix to extract operator properties for Jdbc Poll i/p operator
Date Wed, 23 Nov 2016 06:52:39 GMT
Repository: apex-malhar
Updated Branches:
  refs/heads/master 664257b4a -> 645d9d1fc


APEXMALHAR-2351 fix to extract operator properties for Jdbc Poll i/p operator


Project: http://git-wip-us.apache.org/repos/asf/apex-malhar/repo
Commit: http://git-wip-us.apache.org/repos/asf/apex-malhar/commit/645d9d1f
Tree: http://git-wip-us.apache.org/repos/asf/apex-malhar/tree/645d9d1f
Diff: http://git-wip-us.apache.org/repos/asf/apex-malhar/diff/645d9d1f

Branch: refs/heads/master
Commit: 645d9d1fcd4fc74c3cfb6058ef9884801869823d
Parents: 664257b
Author: Hitesh-Scorpio <forhiteshjob@gmail.com>
Authored: Tue Nov 22 15:32:20 2016 +0530
Committer: Hitesh-Scorpio <forhiteshjob@gmail.com>
Committed: Wed Nov 23 10:59:25 2016 +0530

----------------------------------------------------------------------
 .../src/main/java/com/datatorrent/lib/db/jdbc/JdbcStore.java  | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/apex-malhar/blob/645d9d1f/library/src/main/java/com/datatorrent/lib/db/jdbc/JdbcStore.java
----------------------------------------------------------------------
diff --git a/library/src/main/java/com/datatorrent/lib/db/jdbc/JdbcStore.java b/library/src/main/java/com/datatorrent/lib/db/jdbc/JdbcStore.java
index 1ce01fe..ea0dd28 100644
--- a/library/src/main/java/com/datatorrent/lib/db/jdbc/JdbcStore.java
+++ b/library/src/main/java/com/datatorrent/lib/db/jdbc/JdbcStore.java
@@ -91,6 +91,13 @@ public class JdbcStore implements Connectable
     connectionProperties = new Properties();
   }
 
+
+  /**
+   *  Function to get the connection.
+   *  Ignoring "connection" for serialization as it was being used even after
+   *  being closed while fetching/displaying the operator properties (refer APEXMALHAR-2351)
+   */
+  @JsonIgnore
   public Connection getConnection()
   {
     return connection;


Mime
View raw message