⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 noprimarykeyerror.java

📁 一个OR Mapping工具
💻 JAVA
字号:
//-< NoPrimaryKeyError.java >----------------------------------------*--------*
// JORA                       Version 2.0        (c) 1998  GARRET    *     ?  *
// (Java Object Relational Adapter)                                  *   /\|  *
//                                                                   *  /  \  *
//                          Created:     10-Jun-98    K.A. Knizhnik  * / [] \ *
//                          Last update: 16-Jun-98    K.A. Knizhnik  * GARRET *
//-------------------------------------------------------------------*--------*
// Exception raised when UPDATE/REMOVE operation is appllied to Table with
// no primary key
//-------------------------------------------------------------------*--------*

package jora;

/** Error raised when unpdate/remove operation is invoked for the table
 *  with no correct primary key defined (key was not specified or 
 *  type of the key component is not atomic).
 */
public class NoPrimaryKeyError extends java.lang.Error { 
    NoPrimaryKeyError(Table table) { 
        super("Table " + table.name + " has no atomic primary key");
    } 
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -