---
title: "orcale查询约束条件"
author: "jadewoo"
date: "2011-07-07T16:20:39Z"
tags: []
categories: ["数据库"]
slug: "orcale"
draft: false
lastmod: "2011-07-07T16:20:39Z"
id: 1118921
url: "https://jadewoo.iteye.com/blog/1118921"
---

Caused by: java.sql.BatchUpdateException: ORA-00001: 违反唯一约束条件 (xxx.SYS_C0065817)
出现如上错误时，可用语句查约束：select * from DBA_CONSTRAINTS t where t.constraint_name='SYS_C0065817'