:[IBM][ODBC Oracle Wire Protocol driver][Oracle]ORA-00001: unique constraint (SC
今天在做一個WebSPhere Message Broker 簡單的練習,使用Compute節點訪問oracle資料庫.
第一次插入的時候,資料正常插入,沒有報錯,第二次插入,則報了一個違反唯一約束..是因為表主鍵不能重複.
解決方案:
把主鍵設定唯一的就能插入進去.
錯誤資訊:
Insert
Type:INTEGER:5
Text:CHARACTER:INSERT INTO Database.RECORDS ( ID, NAME, ADDRESS, AMOUNT1, AMOUNT2 ) VALUES (oututRecords.id, oututRecords.name, oututRecords.address, CAST(oututRecords.amount1 AS DECIMAL(8, 2)), CAST(oututRecords.amount2 AS DECIMAL(8, 2)) )
DatabaseException
File:CHARACTER:F:\build\S700_P\src\DataFlowEngine\ImbOdbc.cpp
Line:INTEGER:341
Function:CHARACTER:ImbOdbcHandle::checkRcInner
Type:CHARACTER:
Name:CHARACTER:
Label:CHARACTER:
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:2321
Text:CHARACTER:Root SQL exception
Insert
Type:INTEGER:2
Text:CHARACTER:-1
Insert
Type:INTEGER:14
Text:CHARACTER:odbc32.dll
DatabaseException
File:CHARACTER:F:\build\S700_P\src\DataFlowEngine\ImbOdbc.cpp
Line:INTEGER:480
Function:CHARACTER:ImbOdbcHandle::checkRcInner
Type:CHARACTER:
Name:CHARACTER:
Label:CHARACTER:
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:2322
Text:CHARACTER:Child SQL exception
Insert
Type:INTEGER:5
Text:CHARACTER:23000
Insert
Type:INTEGER:2
Text:CHARACTER:1
Insert
Type:INTEGER:5
Text:CHARACTER:[IBM][ODBC Oracle Wire Protocol driver][Oracle]ORA-00001: unique constraint (SCOTT.SYS_C005425) violated
相關文章
- Bug 2784796: ORA-00001:UNIQUE CONSTRAINTAI
- ORA-00001 Unique Constraint SYS.I_JOB_JOB ViolatedAI
- ORA-00001 : Unique Constraint Violated caused by DATE VS Timestamp(6)AI
- ORA-00001: UNIQUE CONSTRAINT (SYS.WRI$_SQLSET_PLANS_PK) VIOLATEDAISQL
- ORA-00001: unique constraint (...) violated並不一定是資料衝突AI
- ORA-00001: unique constraint (PERFSTAT.STATS$SQL_SUMMARY_PK) violated 解決方法AISQL
- Oracle 10g 10.2.0.4 Patchset Server Install - Does Not Install ODBC DriverOracle 10gServer
- [wm-cjdbc33-0069][Oracle JDBC Driver]Internal error: Net8 protocol errorJDBCOracleErrorProtocol
- oracle Distinct|Unique 異同Oracle
- Data Warehouse Guide閱讀筆記(六):unique constraint & unique indexGUIIDE筆記AIIndex
- Oracle ASM Filter Driver (ASMFD)OracleASMFilter
- kattle Driver class 'oracle.jdbc.driver.OracleDriver' could not be foundOracleJDBC
- Microsoft? ODBC Driver 11 for SQL Server? - RedHat LinuxROSSQLServerRedhatLinux
- Linux Use ODBC Connect OracleLinuxOracle
- oracle ASM錯誤Initializing the Oracle ASMLib driver:[FAILED]OracleASMAI
- java 連線oracle (jdbc-odbc橋)JavaOracleJDBC
- oracle連線SQLserver--通過ODBCOracleSQLServer
- 12C Oracle ASM Filter DriverOracleASMFilter
- Initializing the Oracle ASMLib driver: [FAILED]OracleASMAI
- 10、Oracle中的約 束constraintOracleAI
- oracle Distinct|Unique 異同【Blog 搬家】Oracle
- Wire:基於安卓的谷歌的Protocol Buffers的開源實現安卓谷歌Protocol
- Oracle使用DG4ODBC連線MySQLOracleMySql
- Linux平臺Oracle ODBC安裝使用LinuxOracle
- AIX平臺Oracle ODBC安裝手冊AIOracle
- Shutting down the Oracle ASMLib driver: [ failed ]OracleASMAI
- oracle asm Unable to mount ASMlib driver filesystemOracleASM
- Oracle Support IBM 資訊OracleIBM
- Oracle JD Edwards完全自動化介面設計SCOracle
- Oracle 記一次ORA-00001問題處理Oracle
- Oracle/MySQL透過odbc訪問PostgreSQL for LightDBOracleMySql
- ORACLE資料表匯出成EXCEL格式(ODBC)OracleExcel
- 轉載:Oracle jdbc thin driver三種格式OracleJDBC
- 【ASK_ORACLE】Oracle RAC配置ASM Filter Driver(ASMFD)(一)ASMFD簡介OracleASMFilter
- oracle10.2.0.4_create table_constraint_indexOracleAIIndex
- Zabbix5.0 配置 ODBC 監控 Oracle 資料庫Oracle資料庫
- 通過ODBC連線windows下SQLServer到UNIX oracleWindowsSQLServerOracle
- unixODBC: How to Generate ODBC Driver Shared Library libsqora on Linux/UnixLinux