First, As part of my previous post, ‘how-to-enable-disable-pooling-while-saving-in-db’, now am able to understand the pooling, why & how it is used for. Thank you for that.
As a follow-up, couple of more questions.
First, We are able to get the Business objects from DB successfully - now with pooling enabled and with the use of borrowAPIObject, however, when we try to save a new Business object by using post method, we do not see the entries in the db. As per your replies and if my understanding is correct, we need not write any custom code for basic CRUD operations for BO (Same result if we do use custom API or we use default RestWebService). Am sure am missing some additional configuration (tried assigning ADMIN permissions as well to the API instead of just API_READ permission earlier), but no errors in logs, only warning saying ‘RenaultPerson isDatalinkInstance() false’. Full message in Server logs below.
Also, we see a kind of warning ‘Beware this object has no user-key yet.‘ when we save or make any modifications to the Business object. Not sure if the save issue is due to ‘no user-key‘ or due to previous warning message.
Is it possible to shed some light on what BO object has to do with user-key and why the warning message?
Technical information
Instance /health
[Platform]
Status=OK
Version=6.2.14
BuiltOn=2025-07-31 15:05
Git=6.2/285e27aae1fe529c1a4afc33b026a6d5f04a3552
Encoding=UTF-8
EndpointIP=127.0.0.1
EndpointURL=http://renault2.simplicite.io:20058
TimeZone=Europe/Paris
SystemDate=2025-08-04 11:44:40
[Application]
ApplicationVersion=1.0.0
ContextPath=
ContextURL=https://vamsi.renault2.simplicite.io
ActiveSessions=2
TotalUsers=17
EnabledUsers=10
LastLoginDate=2025-08-04 11:27:27
[Server]
ServerInfo=Apache Tomcat/9.0.107
ServerType=WEB
ServerDevMode=true
ServerCompiler=true
ServerActiveSessions=2
ServerSessionTimeout=30
CronStarted=true
[OS]
Name=Linux
Architecture=amd64
Version=5.14.0-570.17.1.el9_6.x86_64
SystemEncoding=UTF-8
[Disk]
DiskFree=84540
DiskUsable=84540
DiskTotal=101109
[JavaVM]
Version=21.0.7
Vendor=Red Hat, Inc.
VMName=OpenJDK 64-Bit Server VM
VMVersion=21.0.7+6-LTS
ScriptEngine=rhino
ScriptEngineVersion=Rhino 1.7.13 2020 09 02
HeapFree=205090
HeapSize=524288
HeapMaxSize=524288
TotalFreeSize=205090
[Cache]
ObjectCache=854
ObjectCacheMax=10000
ObjectCacheRatio=8
ProcessCache=0
ProcessCacheMax=10000
ProcessCacheRatio=0
APIGrantCache=1
APIGrantCacheMax=1000
APIGrantRatio=0
[Database]
Vendor=3
VendorName=postgresql
ProductName=PostgreSQL
ProductVersion=13.20
DriverName=PostgreSQL JDBC Driver
DriverVersion=42.7.7
DBDate=2025-08-04 11:44:40
DBDateOffset=0
DBPatchLevel=6;P02;56a2df3887f754ccf1ded39d8fd8bffe;14
UsingBLOBs=true
[Healthcheck]
Date=2025-08-04 11:44:41
ElapsedTime=221
Server Logs
‘*2025-08-04 11:28:37,822|SIMPLICITE|WARN||http://renault2.simplicite.io:20058||WARN|z026064|com.simplicite.objects.RenaultPerson.RenaultPerson|postLoad||Event: isDataLinkInstance() r=false*’
Sreram

