2017/7/25

2017/7/25


These public variables define the logical names for database connections         这些公共变量定义数据库连接的逻辑名称

     * and JNDI contexts.  Once created, entries of this type should not change.    *和JNDI上下文。 创建后,此类型的条目不应更改。

     * The Java compiler will optimizes use of public static final definitions        * Java编译器将优化使用公共静态最终定义

     * by in lining them into the compiled code.  As a result, changing a         *将其编入编译代码。 因此,改变一个

     * logical name requires recompiling and redeploying all source that uses it.       *逻辑名称需要重新编译和重新部署使用它的所有源。

     *

     * These logical names map to physical and descriptive names.  To add             *这些逻辑名称映射到物理和描述性名称。 加上

     * a new database or context, first add a new public logical name.          *一个新的数据库或上下文,首先添加一个新的公共逻辑名称。

     * Then, revise appropriate map definitions with the new physical           *然后,使用新的物理修改相应的地图定义

     * and descriptive names.                                      *和描述性名称。

这些公共变量定义数据库连接的逻辑名称
      *和JNDI上下文。 创建后,此类型的条目不应更改。
      * Java编译器将优化使用公共静态最终定义
      *将其编入编译代码。 因此,改变一个
      *逻辑名称需要重新编译和重新部署使用它的所有源。
     *
      *这些逻辑名称映射到物理和描述性名称。 加上
      *一个新的数据库或上下文,首先添加一个新的公共逻辑名称。
      *然后,使用新的物理修改相应的地图定义
      *和描述性名称。

原文地址:https://www.cnblogs.com/Willie-WangLiang/p/7235399.html