mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-22 16:26:06 +00:00
#507 SonarQube blocker severity bugs
This commit is contained in:
@@ -38,7 +38,7 @@ public class SpellDaoImpl extends DaoBaseImpl<Spell> implements SpellDao {
|
||||
|
||||
@Override
|
||||
public Spell findByName(String name) {
|
||||
Session session = getSession();
|
||||
Session session = getSessionFactory().openSession();
|
||||
Transaction tx = null;
|
||||
Spell result = null;
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user