- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- More detail from SQLException
Operating System - HP-UX
1824974
Members
4309
Online
109678
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2002 11:05 AM
08-15-2002 11:05 AM
More detail from SQLException
My application reads (or obtains) SQL instructions from various sources and they get executed to my Oracle database.
Often times there may be errors in the SQL since it is purely dynamic.
The nature of the errors can be any of the following:
Value larger then specified for this columns
Invalid column name
Null constraint violated
Invalid number
...
I am still new to JDBC but I would like to get the complete message from the Oracle database engine. Using Pro*C I can get it from the sqlca structure and/or from sqlglm(), when using OCI I get it from the oerhms() routine.
To be more specific I need the exception handler to report what column is invalid, or which column's constraints were violated. However, I realize that I may have to go the MetaData route for that. Nevertheless, in all cases isn't there a way to at least get the complete message from the Oracle database engine?
Thanks,
Often times there may be errors in the SQL since it is purely dynamic.
The nature of the errors can be any of the following:
Value larger then specified for this columns
Invalid column name
Null constraint violated
Invalid number
...
I am still new to JDBC but I would like to get the complete message from the Oracle database engine. Using Pro*C I can get it from the sqlca structure and/or from sqlglm(), when using OCI I get it from the oerhms() routine.
To be more specific I need the exception handler to report what column is invalid, or which column's constraints were violated. However, I realize that I may have to go the MetaData route for that. Nevertheless, in all cases isn't there a way to at least get the complete message from the Oracle database engine?
Thanks,
If life serves you lemons, make lemonade
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP