Please be aware that the SAP SQL Anywhere Forum will be shut down on August 29th, 2024 when all it's content will be migrated to the SAP Community.

Hi,

I've implemented a syncObserver to get the name of the tables during the receiving data state but when I try to use the method "getCurrentTableName" of the SyncResult it returns a null value. Is there something that I forgot?

I´m using ultraliteJ version 12.0.1 ebf 3406.

tks,

Renato

asked 26 Aug '11, 09:14

Renato's gravatar image

Renato
2266614
accept rate: 0%


Hi Renato, I'm getting table names whith getCurrentTableName listening Receiving Table State: SyncObserver.States.RECEIVING_TABLE

Anyway, it would be fine to have a better documentation about sync states in ultralite clients. A comented state diagran would be perfect.

permanent link

answered 29 Aug '11, 02:34

David's gravatar image

David
21191120
accept rate: 50%

David,

My code was trying to get the table name on the RECEIVING_DATA state, I made some modifications on my code and it works perfectly.

tks

permanent link

answered 29 Aug '11, 09:20

Renato's gravatar image

Renato
2266614
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×79

question asked: 26 Aug '11, 09:14

question was seen: 1,241 times

last updated: 29 Aug '11, 09:20