Java: preparing statements without connections

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
分享
二维码
< <上一篇
下一篇>>