Store last time synced in llblgen file

Posts   
 
    
Posts: 1255
Joined: 10-Mar-2006
# Posted on: 05-Feb-2019 14:19:04   

This new setting works - if you only have one database in your project file. It seems to generate the time synced for all but the first one if the setting is turned off.

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 05-Feb-2019 20:33:45   

Using v.5.5.1, I couldn't reproduce it.

Could you please share a repro LLBLGen Project file, already synched?

Do you see dates generated in all generated files, or in specific projects (all DB Specific projects except the first one)?

Posts: 1255
Joined: 10-Mar-2006
# Posted on: 26-Feb-2019 20:28:32   

Sorry for the late reply....did not seem to get the notification. I don't have one to share with you and do not know what is unique about it - sorry you could not reproduce.

I have a project with 4 database in it. Each one has several entities. If I resync - the first database does not update the time...but the rest do.

If you cannot reproduce I can send one over in private forms.

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 26-Feb-2019 20:50:37   

Where exactly do you look for date?

Yes please open a help desk thread and share the file.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 27-Feb-2019 11:50:57   

The databases are of different types? Or 4 catalogs in the same database server? And you use model first or database first? In the case of the 4 catalogs in the same server, they're synced in 1 go so should get their time updated always. In case of 4 different types, you have to sync them one by one (which is done by clicking the perform sync tasks button on the sync tab), and after each task that's performed successfully the sync time is updated.

Frans Bouma | Lead developer LLBLGen Pro
Posts: 1255
Joined: 10-Mar-2006
# Posted on: 28-Feb-2019 19:37:14   

All the databases are SQL. I have turned off the feature to 'update sync time', but that seems to only affect one of the syncs.

Can I get it to not ever update the sync time for any database in the project?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 01-Mar-2019 10:43:22   

multiple catalogs on 1 server should be reproducible tho. We'll see if we can repro it here. So you have the setting switched off, and it's only honored for 1 catalog. We'll see if we can repro it here at least.

Frans Bouma | Lead developer LLBLGen Pro
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 01-Mar-2019 11:23:00   

Can't reproduce it. 3 catalogs in a project, all entities on these catalogs. Sync -> Last sync date has all "Unknown (switched off by project setting)". Even if I switch it on first, then sync, I get the sync dates filled in properly. Then switch it off, save, close the project, reload it, then sync again, I see 'unknown (etc.)', and no date is added as a sync date.

This is with sync source set to 'database'

Frans Bouma | Lead developer LLBLGen Pro