Java. SQL. SQLException: the Protocol is violated, and OALL8 is inconsistent.

Source: Internet
Author: User

A cool exception, no clue at all, so google.
 
In the past, my database used oracle 11.2.0.1.0 and jdbc used ojdbc 10.2.0.2.0. After several months, no error was reported. Today, even more enchanting events have occurred. The two applications are connected to different users in the same database and all users use ojdbc 10.2.0.2.0. An error is returned and a normal operation is performed. My sun ~~~
 
Change the next new oracle driver to 11.2.0.1.0.
 
Http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-112010-090769.html
 
Ojdbc has several versions, I use 1.6. Update maven private server
 
1
<Dependency>
2
<GroupId> com. oracle </groupId>
3
<ArtifactId> ojdbc6 </artifactId>
4
<Version> 11.2.0.3 </version>
5
</Dependency>
 
 
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.