Try using the 'Gilead' project for GWT. This provides Hibernate + GWT
integration.

-- 
Harpal Grover
President
*Harpal Grover Consulting Inc*


On Fri, Mar 2, 2012 at 7:35 AM, Frank <[email protected]> wrote:

> You can't just use any Java library on the GWT client side since GWT is
> not Java.
> Hibernate uses a lot of stuff that the GWT compiler can't translate to
> javascript so using hibernate in this way is not going to work.
>
> You can however offcourse use Hibernate at the serverside.
> To have a good integration you can think hard (this is what I did) and
> create your own solution, or you can Google for "GWT hibernate" as there is
> a project available some where that does this.
>
> Op donderdag 1 maart 2012 13:15:11 UTC+1 schreef [email protected] het
> volgende:
>
>> Hi all,
>> I'm programming with GWT and I would like to use Hibernate as
>> persistence framework .. But I have a problem when I make an action
>> that I perform the operation of the log (I click on the button) come
>> out the following errors:
>>
>> 00:00:11,621 [ERROR] Line 20: No source code is available for type
>> org.apache.commons.logging.**Log; did you forget to inherit a required
>> module?
>>
>> 00:00:11,621 [ERROR] Line 20: No source code is available for type
>> org.apache.commons.logging.**LogFactory; did you forget to inherit a
>> required module?
>>
>> 00:00:11,621 [ERROR] Line 34: No source code is available for type
>> org.hibernate.Session; did you forget to inherit a required module?
>>
>> 00:00:11,621 [ERROR] Line 37: No source code is available for type
>> org.hibernate.**HibernateException; did you forget to inherit a required
>> module?
>>
>> 00:00:11,622 [ERROR] Line 69: No source code is available for type
>> org.hibernate.LockMode; did you forget to inherit a required module?
>>
>> 00:00:11,622 [ERROR] Line 105: No source code is available for type
>> org.hibernate.criterion.**Criterion; did you forget to inherit a
>> required module?
>>
>> 00:00:11,622 [ERROR] Line 107: No source code is available for type
>> org.hibernate.Criteria; did you forget to inherit a required module?
>>
>> Infine lancia UmbrellaException
>>
>>
>> However, in the configuration file path gwt.xml also specific classes
>> of the persistence of the type:
>>
>> <source path='persistence'/>
>>
>> Thank you for availability.
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/NfmbQCv2uAIJ.
>
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to