[hibernate-dev] fixing 2 hibernate bugs

Strong Liu stliu at hibernate.org
Mon Sep 24 03:58:47 EDT 2012


I'm on vacation this week, forwarding it to hibernate-dev mail list

On Sep 24, 2012, at 3:55 PM, mutaz kabbashi <mutazhkabbashi at gmail.com> wrote:

> hi Strong
> 
> i am new here and i want to contribute to hibernate project so i start
> with simple bugs, so that i can understand the structure and coding
> conventions of hibernate
> i start with these 2 bugs
> 
> 1- DB2 HQL insert statement (https://hibernate.onjira.com/browse/HHH-7558)
> 
>   the problem here is that during the Session Factory initialization
> the sqlFunctions register Long data type as (big_integer ),while
> DB2Dialect class register it as
>    (bigint) so when hibernate trying to find the data type of
> (bigint) in SqlFunctions (big_integer) hibernate throw null Pinter
> Exception ,
>    I change bigint to big_integer in DB2Dialect class and it works  now
> 
> 2- getForUpdateString() of HSQLDialect returns empty string
> (https://hibernate.onjira.com/browse/HHH-7479)
> 
>   The problem here is that HQL Data base didn't support (select for
> update) statement in hql version 1.8 but it support it now  (from
> version 2.0)
>  so i modify  getForUpdate()@HSQLDialect  class and it works now
> 
> how can i commit my modifications (i already create my fork at git hub)
> 
> thank you

-------------------------
Best Regards,

Strong Liu <stliu at hibernate.org>
http://about.me/stliu/bio



More information about the hibernate-dev mailing list