6 Replies Latest reply on Mar 19, 2020 4:05 PM by sddcsd

    AutoREST issue with default value on POST and null on PUT

    sddcsd

      Hello,

       

      Context:

      ORDS 19.4

      APEX 19.2

      DB 18c

      AutoREST enabled on database tables

       

      Is it the normal behaviour that for POST on AutoREST table (insert into table), default values on the table are not taken into account. That means that default values must be added into the POST json?

      Also is it the normal behaviour that for PUT on AutoREST table (update on table), values that are not into the PUT json are set to null in the table. That means that all not null values must be added into the PUT json?

       

      AutoREST is a really nice feature but if this 2 behaviours are normal they are a huge drawback and make it difficult to use AutoREST.

       

      Thanks for any comment or feedback on usage of AutoREST.