Re: use java.sql.Blob with GWT

2009-07-03 Thread Lothar Kimmeringer

Vatcharaphun Rajsiri schrieb:

> Actually I use Blob in server side...and use RPC to call and get back
> message. The problem is when i compile the whole project which includes
> client and server sides, it gives me this error:
>  
>  "No source code is available for type *java.sql.Blob*; did you forget to
> inherit a required module?"
>  
> Actually, I dont know if i have to put some property of Blob in
> hibernate config xml file or not...or I need to add something in plus in
> GWT Module file.

It seems that java.sql.Blob is used somewhere in the client-classes
(the compiler should tell you which class is affected). Already
an unused import is enough in that case.


Regards, Lothar

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



Re: use java.sql.Blob with GWT

2009-07-03 Thread Vatcharaphun Rajsiri
Hi,
Actually I use Blob in server side...and use RPC to call and get back
message. The problem is when i compile the whole project which includes
client and server sides, it gives me this error:

 "No source code is available for type *java.sql.Blob*; did you forget to
inherit a required module?"

Actually, I dont know if i have to put some property of Blob in hibernate
config xml file or not...or I need to add something in plus in GWT Module
file.

Please give me some advice. Thank you
netty

2009/7/2 Lothar Kimmeringer 

>
> Vatcharaphun Rajsiri schrieb:
>
> > I'd like to store a XML file in database. So, I use java.sql.Blob class.
> > When I compile I get the following error:
> >
> > "No source code is available for type *java.sql.Blob*; did you forget to
> > inherit a required module?"
> >
> > I have no idea what should I have to do, please help me.
>
> Write a servlet that gets called by the GWT client application
> (e.g. by using the GWT RPC mechanism). On the server-side
> you have full access to the whole world of Java and its
> frameworks, including java.sql.*
>
>
> Regards, Lothar
>
> >
>

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



Re: use java.sql.Blob with GWT

2009-07-02 Thread Lothar Kimmeringer

Vatcharaphun Rajsiri schrieb:

> I'd like to store a XML file in database. So, I use java.sql.Blob class.
> When I compile I get the following error:
> 
> "No source code is available for type *java.sql.Blob*; did you forget to
> inherit a required module?"
> 
> I have no idea what should I have to do, please help me.

Write a servlet that gets called by the GWT client application
(e.g. by using the GWT RPC mechanism). On the server-side
you have full access to the whole world of Java and its
frameworks, including java.sql.*


Regards, Lothar

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



Re: use java.sql.Blob with GWT

2009-07-02 Thread waf

Hi

Don't use java.sql.Blob on the client side.
Move it to the server side of your application.

--
waf

On 2 Lip, 16:50, Vatcharaphun Rajsiri  wrote:
> Hi all,
>
> I'd like to store a XML file in database. So, I use java.sql.Blob class.
> When I compile I get the following error:
>
> "No source code is available for type *java.sql.Blob*; did you forget to
> inherit a required module?"
>
> I have no idea what should I have to do, please help me.
>
> Thanks,
>
> Netty
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



use java.sql.Blob with GWT

2009-07-02 Thread Vatcharaphun Rajsiri
Hi all,

I'd like to store a XML file in database. So, I use java.sql.Blob class.
When I compile I get the following error:

"No source code is available for type *java.sql.Blob*; did you forget to
inherit a required module?"

I have no idea what should I have to do, please help me.

Thanks,

Netty

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