zoukankan      html  css  js  c++  java
  • fnd_golbal和fnd_profile的区别 Difference between fnd_golbal & fnd_profile

    https://forums.oracle.com/forums/thread.jspa?threadID=833401 
     

    FND_GLOBAL

    The server-side package FND_GLOBAL returns the values of system globals, such as
    the login/signon or "session" type of values. You need to set Who columns for inserts
    and updates from stored procedures. Although you can use the FND_GLOBAL package
    for various purposes, setting Who columns is the package's primary use.
    You should not use FND_GLOBAL routines in your forms (that is on the client side), as
    FND_GLOBAL routines are stored procedures in the database and would cause extra
    roundtrips to the database. On the client side, most of the procedures in the
    FND_GLOBAL package are replaced by a user profile option with the same (or a
    similar) name. You should use FND_PROFILE routines in your forms instead.
    FND_PROFILE
    You can use these user profile routines to manipulate the option values stored in client and
    server user profile caches.+
    On the client, a single user profile cache is shared by multiple form sessions. Thus,
    when Form A and Form B are both running on a single client, any changes Form A
    makes to the client's user profile cache affect Form B's run-time environment, and vice
    versa.
    On the server, each form session has its own user profile cache. Thus, even if Form A
    and Form B are running on the same client, they have separate server profile caches.
    Server profile values changed from Form A's session do not affect Form B's session, and
    vice versa.
    Similarly, profile caches on the server side for concurrent programs are separate. Also,
    note that the server-side profile cache accessed by these PL/SQL routines is not
    synchronized with the C-code cache. If you put a value using the PL/SQL routines, it
    will not be readable with the C-code routines.
    Any changes you make to profile option values using these routines affect only the
    run-time environment. The effect of these settings ends when the program ends,
    because the database session (which holds the profile cache) is terminated. To change
    the default profile option values stored in the database, you must use the User Profiles
  • 相关阅读:
    vue2 v-model/v-text 中使用过滤器的方法示例
    HTML5游戏开发案例教程合集
    Docker实战案例视频课程
    Java项目框架架构与优化教程
    Linux云计算-虚拟化技术视频教程
    udl
    Chloe官网及基于NFine的后台源码毫无保留开放
    抽象类存在的意义和作用
    Shell 脚本语法
    Github 高级搜索功能
  • 原文地址:https://www.cnblogs.com/xiaoL/p/2638678.html
Copyright © 2011-2022 走看看