-->
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.  [ 5 posts ] 
Author Message
 Post subject: Process for Updating Dialect?
PostPosted: Wed May 10, 2006 11:07 am 
Newbie

Joined: Wed May 10, 2006 10:55 am
Posts: 2
Hi,

What is the process to update a dialect for a specific database? Specifically:

1) If a new version of a DB is available that requires changes to the dialect, how are these changes submitted?

2) Does Hibernate provide a test suite/test harness to ensure that the dialect is compatible with all versions of Hibernate to prevent regressions?

3) What kind of problems would occur if dialect files for a specific database did not reflect its complete configuration? (i.e. some features were omitted)

Thanks for your time.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 10, 2006 2:04 pm 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
1. Like all other reasonable cases, through our issue tracking system.

2. Hibernate has a test suite in the regular download. We also provide commercial certification for JDBC drivers/dialect combinations.

3. That's why the dialects can be customized, subclassed, and extended by anyone. It's an open system.


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 11, 2006 6:02 am 
Newbie

Joined: Fri Oct 15, 2004 5:47 am
Posts: 2
Location: Florence, Italy
In fact.... I've found some issues with the new JDBC driver for Informix Database, and some incompatibilities with Hibernate 2.

I'd like to post them, but I'm not sure how to do that. A Jira issue? A simple forum request?

By the way, the problem is this: a boolean-type column is mapped as smallint in Informix (no bit or boolean type in Ifx), a nullable boolean column works fine with Ifx JDBC Driver 2.x

With the new JDBC Driver 3, updating a null value throws an SQL Exception, saying that 'cannot convert from boolean to smallint'.
Guess it's a dialect problem.

Another thing: blob types are not covered by InformixDialect packaged with Hibernate. I extended the Dialect class and put the BLOB type, how can I 'contribute' this in the official Dialect?

Thanks for all your efforts!
Stefano


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 11, 2006 10:00 am 
Pro
Pro

Joined: Mon Jan 24, 2005 5:39 am
Posts: 216
Location: Germany
I dont think that hibernate2 will still be maintained.
Apart from that you can certainly create your own Dialect class.

_________________
dont forget to rate !


Top
 Profile  
 
 Post subject: Cost of Commercial Certification
PostPosted: Thu May 11, 2006 1:27 pm 
Newbie

Joined: Wed May 10, 2006 10:55 am
Posts: 2
Thanks for the replies. What is the cost for commercial certification for a JDBC driver/dialect combination?


Thanks.


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