Building dynamic Querys
1 posts in topic
Flat View  Flat View

Posted By:   Albert_Einstein
Posted On:   Friday, February 8, 2002 03:42 AM

i want to know, how i can best make a db class, that:
has read, insert, .... functions that can dynamicly do querys.

from other jsp or java files i want to give some parameters to the read, insert.... functions and i want that these functions do the job.

how can i do that at best?

does anybody has code for this problem ?

thanks a lot for help


Re: Building dynamic Querys

Posted By:   Christopher_Schultz  
Posted On:   Friday, February 8, 2002 05:12 AM

Will the PreparedStatement do the job for you (this will handle dynamic data for static queries), or do you need something where you can actually dynamically build the query, including the table name, column names, where clause, order by clause, etc.?

About | Sitemap | Contact