Java: preparing statements without connections
•
Java
I'm trying to generate some SQL files in my java application
I want to use Java sql. Preparedstatement creates my statement so that I don't have to validate each string with my own method
Is there any way to call Java sql. Connection. Preparedstatement is used in the case of preparestatement (string) function, because I don't have Java sql. Connection?
Solution
Take a look at this Java library: http://openhms.sourceforge.net/sqlbuilder/
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码