ote:
>> No, that is no longer possible. You have a boolean, you should set a
>> boolean.
>>
>> On 12/17/2012 09:12 AM, Oto Júnior wrote:
>>> Correct.
>>>
>>> In Hibernate 2, this example with 'q.setParameter( "isActive", 1 );' wo
sion.createQuery( "from Listing l where listing.active =
> :isActive" );
> q.setParameter( "isActive", 1 );
>
> rather than:
> q.setParameter( "isActive", true );
>
> ?
>
> On 12/17/2012 07:34 AM, Oto Júnior wrote:
>>
>> Hi,
&
Hi,
I used Hibernate 2 in my software and now I'm using Hibernate 4.
Before the version migration, the method Query.setParameter(p, 1) -
[Integer values in boolean properties] - works well for setting
boolean properties.
Now, in Hibernate 4, doesn't work anymore.
Anyone could help me?
_