16
Views
4
Comments
Solved
How to insert null instead of Outsystems default 1900 to PostgreSQL DB
Application Type
Reactive
Service Studio Version
11.54.78 (Build 63596)
Platform Version
11.28.0 (Build 43201)

Assistance required to insert null values into a PostgreSQL database instead of the default 1900 value used by OutSystems. 


PostgreSQL version-
PostgreSQL 14.1 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36), 64-bit

2025-12-04 09-01-03
Kiet Phan
Champion
Solution

Hi @Santhosh Kumar HU,

In the Integration Studio, you set the Default Value behavior to "Convert to/from NULL value in Database. This will allow you to save null value to your PostgreSQL.

2019-04-09 00-57-55
carl ruhle

Hi Santhosh,

on the insert statement, on the value side write null, be on the table side that column must accept null values, if not then the default date will be applied. 

Regards and hope that this could help you. 

UserImage.jpg
Santhosh Kumar HU

Hi Carl, We are using outsystems provided entity actions not insert statements.

2025-12-04 09-01-03
Kiet Phan
Champion
Solution

Hi @Santhosh Kumar HU,

In the Integration Studio, you set the Default Value behavior to "Convert to/from NULL value in Database. This will allow you to save null value to your PostgreSQL.

UserImage.jpg
Santhosh Kumar HU

Thank you all, Its started working after changing this configuration which Kiet Phan shared.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.