Skip to main content
Question

Uniface genereates create procedure statements

  • May 4, 2026
  • 5 replies
  • 29 views

Geert Dupont
Forum|alt.badge.img

Our environment

  • Uniface 10.4.03.014.
  • MsSql driver U5.2
    • connection pooling:off
    • procs : on

The stored procs for INS/DEL/UPD/FET are re-created for all entities used in our application.

Our problem:

           - we see following statements when tracing our application.

                          create procedure dbo.[log_buffer_INS]  and others

Our question

  • does this harm the performance
  • why does uniface needs to create these procs if they are existing?

One special remark

  • we do use different drivers that refer to other databases

5 replies

Ingo Stiller
Forum|alt.badge.img+3
  • Participating Frequently
  • May 4, 2026

Hi Geert

As far as I understand, Uniface creates procedures at most once when a connection is opened.
Does this creation occur multiple times within a session, or just once?

Ingo


Geert Dupont
Forum|alt.badge.img
  • Author
  • New Participant
  • May 4, 2026

Sorry, i do not have the complete log of the session. We received a screen shot from a customer.

So i am not sure. But why would uniface need to RE-create these procedures? They exist.

 


Ingo Stiller
Forum|alt.badge.img+3
  • Participating Frequently
  • May 4, 2026

I asked my (“trusted” :-) AI, and it gave me this helpful illustration explaining "When a procedure is generated"
 



 


Geert Dupont
Forum|alt.badge.img
  • Author
  • New Participant
  • May 4, 2026

Nice flowchart, but ??

It seems to me that this step:

does not respect the ENTITIES section in the ASN-file, can someone confirm? or does this check & create has no influence on the performance?


Ingo Stiller
Forum|alt.badge.img+3
  • Participating Frequently
  • May 4, 2026

Sorry Geert.
This is an AI-generated image. I can’t say for sure if everything in it is accurate, and I also doubt that the AI really knows all the facts. 😀
You’d have to ask UnifAce how it actually works in the end.
The only important thing for your original question is that the procedure is created only once per session. And that really doesn’t take much time.
Ingo