-->
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: dialect proerty not set
PostPosted: Sat Sep 16, 2006 2:59 am 
Newbie

Joined: Wed Sep 13, 2006 10:25 am
Posts: 3
my program is showing an exception on the line cf.configure that dialect property not set pls help

_________________
Amit


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 16, 2006 10:39 am 
Newbie

Joined: Wed Sep 06, 2006 9:39 am
Posts: 5
Location: London
At a guess you need to set a dialect in your .config file.

You can find more information about this in the NHibernate docs and search for config NHibernate on Google.

E.G.
Code:
  <hibernate-configuration xmlns="urn:nhibernate-configuration-2.0">
    <session-factory>
      <property name="dialect">
          NHibernate.Dialect.MsSql2000Dialect
      </property>
      <property name="connection.provider">
          NHibernate.Connection.DriverConnectionProvider
      </property>
      <property name="connection.connection_string">
          <!-- Your connection string goes here! -->
      </property>
      <property name="connection.isolation">ReadCommitted</property>
    </session-factory>
  </hibernate-configuration>


If this doesn't help you, you'll need to flesh out your query with a lot more detail.


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.