How can I use SignalR with angularJS and Oracle using DbChangeNotification - angularjs

I am trying to use SignalR with Oracle and AngularJS.
I want to notify when insert/update happens in database.
I have done it with MS SQL Server.
But with oracle, problem is I need to know to implement DB Change Notification Properly with oracle.
OracleDependency not firing events
I have tried like this but could not succeed.
http://haneefputtur.com/signalr-oracle-db-change-notification-part-2-2.html

It might be that the underlying database is not supporting the notification service.
Check this
SO for more info

Related

How to implement TADSevent like functionality for SQL Server

I'm using Delphi 10.3 and Advantage DataBase.
Here, I have used sp_SignalEvent method and then, used the TADSEvent which get triggered for all the ADS connected application and handled the operation based on the requests.
Is there any similar operation is present in SQL Server.?
SQL Server has Query Notifications:
Built upon the Service Broker infrastructure, query notifications
allow applications to be notified when data has changed. This feature
is particularly useful for applications that provide a cache of
information from a database, such as a Web application, and need to be
notified when the source data is changed.
Query Notifications in SQL Server
Working with Query Notifications
Detecting Changes with SqlDependency

Is a reactive web UI to an SQL Server possible? If yes, how?

The SQL Server is a given.
I need to create a web UI that accesses the DB and refreshes itself automatically when the DB data changed, regardless of how it changed. This should be done without constant DB polling on the side of the UI.
I saw such a UI done in Java. Nevertheless it reacts only to changes originating from this particular Java UI. Data changes done in some external DB client, like SQL Server Management Studio, for instance, do not appear in the said Java solution.
Is it possible for a web UI to react to all changes, irrespective of their origin?
Ideally the UI should reside on a Linux server and should use Bootstrap. The SQL Server runs in a Windows environment in the same LAN.
If it's possible, what technology stacks would you recommend?
Thank you.

Alternative to Database Change Notification (DCN)

I am working on a Springboot project which needs a database listener that listens to any change made to a table in Oracle database (12c).
Oracle's Database Change Notification (DCN) seems to be the perfect solution.
But a quick research concluded that Oracle 12c (which we are using) doesn't support Database Change Notification (DCN). The Database Registration seems to be working as we can print the table being registered for listening.
But the onDatabaseChangeNotification method of the class implementing DatabaseChangeListener interface isn't being called when the table is updated.
Why should we not upgrade to Oracle 12c……YET
There are other restrictions in the requirement - No manually created threads, no triggers in DB are used.
I have used example shown in this Oracle guide. (minus the synchronization part and thread creation in onDatabaseChangeNotification method of listener class)==>
Database Change Notification
Is there any working alternative to this?.

Sync Offline Database with External Database Windows Phone 7

I have a wp7 app that uses the local database implemented with linq. I have an external MS-SQL (2008 R2) server. Both databases have the same schema.
I would like to know how to do the following:
Download information from the MS-SQL to the Database into the local DB of the phone. (Can I use some data-binding technique - I have found no links that do this)
If Changes made on the phone (add new record, edit existing record) how can I push changes back to server.
If changes are made to server then push to phone (I know I can use an observer pattern here)
I should also note that the client app is not used always-on access to the internet.
Thanks
There's no magic here.
You will need to create functionality to get updates from the server (probably meaning you need some kind of timestamp on each record, saying when it was last changed so you can query it).
You will need to create the functionality to upload data and update the database on the server (and potentially handle conflicts).
I would either use ODATA to communicate with the server, or plain old WCF/JSON service.
have a look at the Sync Framework Toolkit

How can SQLServer notify a vb.net application of an event?

Is there a relatively simple way that my VB.NET application can be notified of the fact that a new value has been written to a table in SQL Server Express 2008? Polling is not an option since I'd need to do that every 10 seconds nonstop.
Take a look at having your application subscribe to Query Notifications.
Also Using Query Notifications in .NET 2.0 to handle ad-hoc data refreshes

Resources