Home > Back-end >  PreparedStatement is empty? O bosses look!!!!!
PreparedStatement is empty? O bosses look!!!!!

Time:10-05

I conn connection is not closed, but perparedstatement has been empty, I don't know what's going on, who help to look at the

CodePudding user response:

You put your conn. GetConnection () this method have a look at the post, or is related to initiate the connection post code, and all your running error log posted, you an error message is related to the connection relations,

CodePudding user response:

1/f, reference source is a ghost reply:
your conn. GetConnection () this method have a look at the post, or is related to initiate the connection post code, and all your running error log posted, you an error message is related to the connection relations,
could you please help to look at, mysql database

CodePudding user response:

refer to the second floor lqz610460333 response:
Quote: 1/f, reference source is a ghost reply:

You put your conn. GetConnection () this method have a look at the post, or is related to initiate the connection post code, and all your running error log posted, you an error message is related to the connection relations,
could you please help to look at, mysql database

You try the program output in your question above the figure the conn connection, should be able to see out wrong,

CodePudding user response:

reference source is ghost reply: 3/f
Quote: refer to the second floor lqz610460333 response:

Quote: 1/f, reference source is a ghost reply:

You put your conn. GetConnection () this method have a look at the post, or is related to initiate the connection post code, and all your running error log posted, you an error message is related to the connection relations,
could you please help to look at, mysql database

You try the program output in your question above the figure the conn connection, should be able to see out error,
I tried it on, output is not empty ah not false, is it? I compare novice, sorry

CodePudding user response:

CodePudding user response:

Just now I let you break point is obtained the corresponding connection link, but you write the code in the finally block, when you method performs in the end, your code will close the corresponding connection, so although you got to use the connection address, but after the connection is really has been closed, so you need to comment out your fianlly blocks, and close the flow need you to write a method, after the end of the task in the closed,
From this code, you can see on the finally block explanation, also can write their own examples of a few small test, memory deep,

CodePudding user response:

If you have not understand place can I private chat, solve and remember to post oh
  • Related