This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information

Persistence

General questions regarding the development with JVx.

Persistence

Postby lucdep » Mon Dec 17, 2018 12:04 pm

Hello,

It is not clear to me when VisionX writes the data entered in a workscreen effectively to the database. I have remarked on many occasions that data inserted or updated in a screen are not available for the HTML client or are not visible when querying the Postgres database in pgAdmin.

Luc
lucdep
 
Posts: 53
Joined: Wed Oct 10, 2018 12:01 pm

Re: Persistence

Postby Support@SIB » Mon Dec 17, 2018 1:54 pm

This is independent or VisionX. The JVx framework is used in the background!

Usually, a DataBook writes all data to the storage if:

(writeback isolation level: DATA_ROW)

  • you change the selected record/row#
  • you call save...

(writeback isolation level: DATASOURCE)

  • you call save...

Usually, a workscreen will call save on close.
User avatar
Support@SIB
 
Posts: 353
Joined: Mon Sep 28, 2009 1:56 pm

Re: Persistence

Postby Support@SIB » Mon Dec 17, 2018 1:57 pm

The storage sends data to the data layer, e.g. a database if you use a DBStorage.

It depends on the storage if it sends the data immediately or delayed. The standard DBStorage sends data immediately to the database.
User avatar
Support@SIB
 
Posts: 353
Joined: Mon Sep 28, 2009 1:56 pm


Return to Development