diff options
Diffstat (limited to 'OpenSim/Data/NHibernate/NHibernateManager.cs')
-rw-r--r-- | OpenSim/Data/NHibernate/NHibernateManager.cs | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/OpenSim/Data/NHibernate/NHibernateManager.cs b/OpenSim/Data/NHibernate/NHibernateManager.cs index edef8ad..6f13294 100644 --- a/OpenSim/Data/NHibernate/NHibernateManager.cs +++ b/OpenSim/Data/NHibernate/NHibernateManager.cs | |||
@@ -25,18 +25,15 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | 28 | using System.Reflection; |
29 | using System.Collections.Generic; | 29 | using log4net; |
30 | using System.Data; | ||
31 | using libsecondlife; | ||
32 | using NHibernate; | 30 | using NHibernate; |
33 | using NHibernate.Cfg; | ||
34 | 31 | ||
35 | namespace OpenSim.Data.NHibernate | 32 | namespace OpenSim.Data.NHibernate |
36 | { | 33 | { |
37 | internal class NHibernateManager | 34 | internal class NHibernateManager |
38 | { | 35 | { |
39 | private static readonly log4net.ILog m_log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); | 36 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
40 | 37 | ||
41 | private ISessionFactory factory; | 38 | private ISessionFactory factory; |
42 | private ISession session; | 39 | private ISession session; |