Please suggest me the correct approach!
I am having lods of tables in db.
In a file called ‘databasequery.java’ we have defined static variables to hold queries [ select/delete/insert ].
So it is like, if we want to get the query :-
As there are lods of tables this file is going to be very huge.
What I wanted is, there should be some mechanism to achieve this:-
also we should be able to access the "YourTableName" only via DatabaseQuery, we should not be able to write like
Please guide me.. :(