NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
Antony7U
Joined: 20 May 2012 Posts: 2
|
|
| Back to top |
|
 |
Antony7U
Joined: 20 May 2012 Posts: 2
|
Posted: Mon May 21, 2012 5:59 pm Post subject: Re: I have problem maybe at java.sql.DriverManager.getConnection(DriverManager.java:579) |
|
|
I do some new tests and I add a time delay to the code and it does not depend how fast it runs as the println counter(50) stops at same exception position.
But set break point to counter 49 then start debug I do not get the problem seems there is a buffer clear time? or GC?
And seems if I change at that String:
“String database = "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb, *.accdb)};DBQ="…”;DriverID=25;"
and that parameter:
DriverID=25 or to DriverID=22
then I get faster (counter 38 ) the error message with “Invalid string or buffer length”
Question is maybe how to free up that buffer?
Maybe it is near too that symptom connection caching parameters:
http://forums.visokio.com/discussion/1087/refresh-from-source-task-of-database-blockodbc-fails-to-execute.
Unfortunately I do not know, how to implement that solution to my project it is undocumented for that MSDriver. Or contact MS Support? I am doubt here is it the driver or the GC or the JVM which cause that problem? Any further idea how to solve it?
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|