mardi 28 février 2017

Java Reflection PersistenceManager Mysql

i need to help with this problem. I want to program PersistanceManager for Database in Mysql, which will have this methods

ClassName(Connection connection, Class... classes) 
void initializeDatabase() 
<T> List<T> getAll(Class<T> type) 
<T> T get(Class<T> type, int id) 
<T> List<T> getBy(Class<T> type, String fieldName, Object value) 
int save(Object obj)

i want to use Reflection...how to do this? thanks a lot





Aucun commentaire:

Enregistrer un commentaire