These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: DB2
PostPosted: Thu Jun 22, 2006 9:17 am 
Regular
Regular

Joined: Thu May 11, 2006 12:30 pm
Posts: 72
Hibernate version: 1.2.0

Full stack trace of any exception that occurs:
{"The dialect was not set. Set the property hibernate.dialect."}

Name and version of the database you are using:DB2/400
using .NET Data Provider (IBM.Data.DB2.iSeries.dll Version 11.0.0.4 V5R4M0)

<nhibernate>
<add key="hibernate.connection.provider" value="NHibernate.Connection.DriverConnectionProvider" />
<add key="hibernate.dialect" value="NHibernate.Dialect.DB2Dialect" />
<add key="hibernate.connection.driver_class" value="NHibernate.Driver.DB2Driver" />
<add key="hibernate.connection.connection_string" value="Database=MANAGER;User ID=qsecofr;Password=pluto;Server=89.96.254.50;" />
<add key="hibernate.show_sql" value="true" />
</nhibernate>

all seems to be ok but when i run my app i get that exception... but the dialect was set! App.config and hbm.xml file are Embedded...

is DB2 fully supported ?

thanks


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 22, 2006 1:03 pm 
Regular
Regular

Joined: Thu May 11, 2006 12:30 pm
Posts: 72
i'm proceeding with test but i always get the same error.

this is the stacktrace

    in NHibernate.Connection.ConnectionProvider.ConfigureDriver(IDictionary settings) in c:\net\nhibernate\nhibernate\src\NHibernate\Connection\ConnectionProvider.cs:riga 84
    in NHibernate.Connection.ConnectionProvider.Configure(IDictionary settings) in c:\net\nhibernate\nhibernate\src\NHibernate\Connection\ConnectionProvider.cs:riga 56
    in NHibernate.Connection.ConnectionProviderFactory.NewConnectionProvider(IDictionary settings) in c:\net\nhibernate\nhibernate\src\NHibernate\Connection\ConnectionProviderFactory.cs:riga 50
    in NHibernate.Cfg.SettingsFactory.BuildSettings(IDictionary properties) in c:\net\nhibernate\nhibernate\src\NHibernate\Cfg\SettingsFactory.cs:riga 61
    in NHibernate.Cfg.Configuration.BuildSettings() in c:\net\nhibernate\nhibernate\src\NHibernate\Cfg\Configuration.cs:riga 1485
    in NHibernate.Cfg.Configuration.BuildSessionFactory() in c:\net\nhibernate\nhibernate\src\NHibernate\Cfg\Configuration.cs:riga 1000
    in RuredilManager.SessionHelper..cctor() in C:\Documents and Settings\luke\Desktop\RuredilManager\RuredilManager\NHibernate mapping\SessionHelper.cs:riga 21


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.