If using the jTDS driver and having two identically named tables in different databases, any edits made in both tables shows up only in one of them. This is the default behavior for the jTDS driver. To workaround it you need to set the following driver property for your Sybase jTDS connection:
PREPARESQL = 2