The driver has been copied to the class path directory, and the specified class is not found, and then "jakarta-tomcat-5.0.28" for "jboss-4.0.2"
Org. springframework. jdbc. cannotGetJdbcConnectionException: cocould not get JDBC Connection; nested exception is org. apache. commons. dbcp. SQLNestedException: Cannot load JDBC driver class 'com. microsoft. jdbc. sqlserver. SQLServerDriver'Org. apache. commons.
Com. microsoft. sqlserver. jdbc. SQLServerException: The result set does not have the current row, and the result set is exhausted.Refer to blog com. microsoft. sqlserver. jdbc. SQLServerException: The result set does not have the current row.
Java obtains the result set, if (rs! = Null), which is different from while
1. The error "Java. Lang. classnotfoundexception: COM. Microsoft. JDBC. sqlserver. sqlserverdriver" is displayed:
The final cause may be as follows:
1. SQL Server 2000 driver for JDBC is not installed
2. Pay attention to you after installationProgramWhether the package of the class has imported three files under the Lib file after the SQL Server 2000 driver for JDBC program is installed:
C:/program file
. executenonquery ();CN. Close ();} [AutoComplete] Public Void Testdtc () {Drawmoneyfroma (100);Depositmoneytob (100);} }
However, when I call the testdtc () method to test DTC, the CN in the drawmoneyfroma method is executed. when the open method is used, an exception is thrown. "The partner Transaction Manager has disabled remote/network transaction support." No reason is found.Later, I right-click "my computer" in the component configuration. When selecting properties, I found that
1First, go to the component service and view the component service./Computer/My computer/COM +ApplicationProgram, The error"COM +Cannot matchMicrosoftThe Distributed Transaction Coordination Program can not view the objects in the conversation.
2, Go to the Event Viewer and findMSDTCThe service is not started properly.
3, Delete the key value in the Registry (note that it is the key value in this catego
Myeclipse error message:
Error: COM. Microsoft. sqlserver. JDBC. sqlserverexception: the object name 'xx' is invalid.
Warning SQL error: 208, sqlstate: s0002
Error Description: The hql statement can be run in sqlserver, but an error is returned when it is run in hibernate.
Solution: the settings in the. HBM. xml file mapped to the data table are incorrect. You must not only add the database name catal
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.