-->
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.  [ 6 posts ] 
Author Message
 Post subject: GenericDialect not in hibernate3.jar version 3.1.2
PostPosted: Wed Feb 08, 2006 11:41 am 
Newbie

Joined: Tue Feb 07, 2006 5:07 pm
Posts: 5
Location: Dublin, OH
I downloaded version 3.1.2 and I don't see the GenericDialect class in hibernate3.jar - what's up? Did it move somewhere else?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 08, 2006 12:27 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
it were not doing any real good.

what did you use it for ?

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 08, 2006 1:39 pm 
Newbie

Joined: Tue Feb 07, 2006 5:07 pm
Posts: 5
Location: Dublin, OH
we used it as a "last resort" fallback. We can code around it - not a big issue.


Top
 Profile  
 
 Post subject: Loss of GenericDialect in 3.1.2
PostPosted: Thu Feb 16, 2006 6:28 pm 
Newbie

Joined: Thu Feb 16, 2006 6:18 pm
Posts: 1
Hello;

I am trying to connect to mainframe data via a JDBC driver adapted to access VSAM files. I've gotten it to work with other non-hibernate projects. can I leave this property out of the configuration without concern? it uses *standard* SQL I only need to read(search) no updates. I already have one configuration file with 9 MS-SQL tables working. I want to add this as a second configured sessionFactory.

SessionFactory sessionFactory = new Configuration()
.configure().buildSessionFactory();
SessionFactory viaServSession = new Configuration() .configure("validateFamis.cfg.xml").buildSessionFactory();

I tried to leave out the Dialect and got the following exception:

"Hibernate Dialect must be explicitly set for database: ViaSQL"


Top
 Profile  
 
 Post subject: GenericDialect has been removed???
PostPosted: Thu Jun 22, 2006 8:49 pm 
Newbie

Joined: Mon Oct 17, 2005 9:14 pm
Posts: 4
Hi All,

I have just tried running my applicaiton under the latest JBoss and found that the GenericDialect is no longer included in the hibernate.jar.

I have been using the GenericDialect for a connection to a legacy system through an Attunity jdbc driver. This has been working great for me.

It is a little strange to find a class being removed like this (was this depricated before now?).

Does anyone have any ideas as to what I should do now?

Regards,

Damian


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 25, 2006 11:36 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
since 3.0 we throw an exception if the dialect is either not explicit set or not identified by autodetection via the jdbc driver.

Using GenericDialect is afaik the same as using just the Dialect class directly - but it is much better if you created a specific subclass for your alternative dialect.

_________________
Max
Don't forget to rate


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 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.