Enter your email address:

Delivered by FeedBurner


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
java.sql.SQLException: General error solution
12-14-2011, 12:27 PM
Post: #1
Sad java.sql.SQLException: General error solution
Sometimes when dealing with the msaccess database you can get this type of error "java.sql.SQLException: General error"
First check whether the driver is loaded that is jdbc:odbc:jdbcodbcDriver,If it is loaded then the Exception java.sql.SQLException: General error is because of data source so follow these steps to solve the error
you have create the datasource in odbcdata source administrator
and select system dsn and select Mirosoft access driver
and select the database

Happy coding.
Find all posts by this user
Add Thank You Quote this message in a reply
Advertise here or at any positions around our site send a mail to info@walkinsforum.com
01-25-2012, 12:34 PM
Post: #2
RE: java.sql.SQLException: General error solution
Have you tried to check the Primary key in the database table. I was facing the same issue in one of my applications and the reason was the Primary Key Restriction. The application was trying to update two record having the same values in Primary Key column and the same was causing the GeneralError Issue. Hope this will resolve the issue for whom facing this issue.BlushBlushBlush[/quote]
Find all posts by this user
Add Thank You Quote this message in a reply
[-] The following 1 user says Thank You to Anshniit for this post:
mjm (01-25-2012)
01-25-2012, 12:40 PM
Post: #3
RE: java.sql.SQLException: General error solution
(01-25-2012 12:34 PM)Anshniit Wrote: In order to view links, you must have to reply to this thread.Have you tried to check the Primary key in the database table. I was facing the same issue in one of my applications and the reason was the Primary Key Restriction. The application was trying to update two record having the same values in Primary Key column and the same was causing the GeneralError Issue. Hope this will resolve the issue for whom facing this issue.BlushBlushBlush
[/quote]

Yep
In order to view links, you must have to reply to this thread.
In order to view links, you must have to reply to this thread.

Note:
For all the jobs, make sure to call the given number and attend the walkin. if you get this information is not accurate, please reply to this thread to help others.
Find all posts by this user
Add Thank You Quote this message in a reply
02-07-2012, 03:05 PM
Post: #4
RE: java.sql.SQLException: General error solution
check your system date......that should match with the present date
Find all posts by this user
Add Thank You Quote this message in a reply
Post Reply 


[-]
Share/Bookmark (Show All)
Facebook Linkedin Technorati Twitter Digg MySpace Delicious

Possibly Related Threads...
Thread: Author Replies Views: Last Post
Tongue Students management java project download rajasri 25 2,290 05-15-2012 12:45 PM
Last Post: itischinmay
  shopping cart in jsp&java admin 6 1,072 04-13-2012 08:51 PM
Last Post: sushantkop
Sad create a file from form input in java,jsp rajasri 0 258 12-19-2011 06:32 PM
Last Post: rajasri
Wink Reading Html code of all the url using java rajasri 0 186 12-19-2011 06:17 PM
Last Post: rajasri
Star pagination in jsp,java rajasri 0 237 12-19-2011 05:32 PM
Last Post: rajasri
Photo Tomcat not starting error code 0 rajasri 0 460 12-14-2011 02:04 PM
Last Post: rajasri
Music How to extract war file in java rajasri 0 2,887 12-14-2011 12:07 PM
Last Post: rajasri
Thumbs Up Solution for java.lang.NoClassDefFoundError: javax/transaction/Synchronization rajasri 0 1,013 12-14-2011 12:00 PM
Last Post: rajasri
Video How to use batch update in java and jsp rajasri 0 471 12-12-2011 11:38 PM
Last Post: rajasri
Bug Print current time using java in jsp page rajasri 0 619 12-12-2011 11:20 PM
Last Post: rajasri

Forum Jump:


User(s) browsing this thread: 1 Guest(s)