mardi 15 décembre 2015

Which design pattern is used in jdbc connection?

Connection conn = DriverManager.getConnection(URL); Statement stmt = conn.createStatement(); ResultSet rs = stmt.executeQuery(sql);

Which design pattern is in use here ? We see each object returning a different object.

What would be some alternatives to the chosen design pattern ?

Aucun commentaire:

Enregistrer un commentaire