Menu

DatabaseEvent returns same value for getId() and getSource()

Help
2015-01-23
2015-01-23
  • Justin Cranford

    Justin Cranford - 2015-01-23

    I am using activated() and deactivated() listeners with HA-JDBC 3.0.3-SNAPSHOT. When I log the DatabaseEvent passed through to my listener, the values for getSource() and getId() are identical - the database id.

    It would be useful if getSource() returns the source application address, and getId() returns the database id.

     
  • Justin Cranford

    Justin Cranford - 2015-01-23

    When I receive a DatabaseEvent I push it to logs, reports, and user notifications. I can notify which database was affected, but not the application where it came from.

     

Log in to post a comment.