public class HibernateUtil extends Object
| Constructor and Description |
|---|
HibernateUtil() |
HibernateUtil(String host,
String catalog,
String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
org.hibernate.Session |
getSession() |
org.hibernate.SessionFactory |
getSessionFactory() |
void |
setCatalog(String catalog) |
void |
setHost(String host) |
void |
setPassword(String password) |
void |
setSessionFactory(org.hibernate.SessionFactory sessionFactory) |
void |
setUsername(String username) |
public void setHost(String host)
public void setCatalog(String catalog)
public void setUsername(String username)
public void setPassword(String password)
public org.hibernate.Session getSession()
public org.hibernate.SessionFactory getSessionFactory()
public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
Copyright © 2022. All rights reserved.