truncated message in SqlException Ora 9i [message #126984] |
Thu, 07 July 2005 13:32 |
sergeds
Messages: 1 Registered: July 2005 Location: richmond
|
Junior Member |
|
|
I am using jdbc with ora9.1 and doing a statement.update
The record I am trying to update has several references to
other records.
Inthis case I made a mistake and didnt create the reference before I tried to reference it.
Oracle return saying parent key violated.
This is fine, but the issue I have is the text returned
when doing an e.getmessage();
The format is something like:
ORA????(table constraint) parent key violated.
I wish I had the actual text now.
The point is that the text in ( ... ) is truncated.
It is annoying to try to figure out which reference was violated when the record has several reference.
I think this is an oracle bug, but was wondering if anybody had
workarounds or knew where and when this was fixed.
Any takers?
thx
|
|
|