developing a web application using java. I have SQL queries with more than 40 lines ,using ” , “+ at staring an end of query respectively. it is very difficult to convert string as query when i want to do any modifications in both both conversions
Share
Can’t you use PreparedStatement? If possible, use an ORM tool like hibernate. That will simplify your code (Of course there are other benefits).