Hi,
after a discussion with a
JEE engineer / eclipse french, the latter tells me this:
It certainly would be if you called it, but in VideoDaoImpl you call getConnection (), which does not have the same signature, so it's not the same method.
In fact, the error is in DaoFactory: the getConnection method should not have arguments but use the attributes of the class (values passed to the constructor).
It would be nice to think of a pool of connections as well.
It seems clear to me that the method does not have the same signature!
but past the parameters in the constructor; I do not understand at all !
The connection pool is worse I do not see the code it should apply