-
April 4th, 2008, 10:33 AM
#1
DynaMetapushTable and Its Java Adapter
Hi,
I feel close but couldn't happen to pass this step:
I've created a java adapter based on PorftolioDemo adapter example which polls a database and returns the records. Initially, it returns these records (which the client isn't aware of these items' names) successfully with "ADD" command to the table created as such below:
var newTable = new DynaMetapushTable("spot", schema, "COMMAND");
newTable.setSnapshotRequired(true);
newTable.setPushedHtmlEnabled(false);
newTable.setClearOnDisconnected(true);
newTable.onChangingValues = updateItem;
newTable.setMaxDynaRows("UNLIMITED");
newTable.setMetapushFields(2, 1);
newTable.setMetapushSort(5, true);
"UPDATE" and "DELETE" commands also run on this metapushtable.
However, I couldn't succeed one thing: if a new record is inserted to the database i try to push this record to the client with the "ADD" command using listener.update. And the client doesn't receive anything with the below warning coming from the adapter:
< WARN> Unexpected update for item spot39
Any advices are welcome and thanks in advance,
Burak.
Similar Threads
-
By webmons in forum Adapter SDKs
Replies: 3
Last Post: March 7th, 2013, 09:30 AM
-
By pradeepgamage in forum General
Replies: 1
Last Post: January 9th, 2012, 11:39 AM
-
By achittoda in forum Adapter SDKs
Replies: 1
Last Post: December 21st, 2009, 10:05 AM
-
By k.mcc2009 in forum Adapter SDKs
Replies: 1
Last Post: May 21st, 2009, 09:41 AM
-
By garyj in forum Adapter SDKs
Replies: 1
Last Post: March 25th, 2008, 09:03 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 11:25 AM.
Bookmarks