You cannot access JDBC directly from the client (GWT) code. You can only do it 
in the server (regular java) code.

On 04/03/11 08:59, Mohammed Magdi wrote:
hi
thanks for the link i do the conn but when i compile the project i get
that erorr


Compiling module com.test.dbc.TestDbC
    Validating newly compiled units
       [ERROR] Errors in
'file:/C:/Users/Magdi/Documents/MYWORK/WorkSpace/testDbC/src/com/test/dbc/client/DataBaseConn.java'
          [ERROR] Line 7: No source code is available for type
java.lang.ClassNotFoundException; did you forget to inherit a required
module?
          [ERROR] Line 7: No source code is available for type
java.sql.SQLException; did you forget to inherit a required module?
       [ERROR] Errors in
'file:/C:/Users/Magdi/Documents/MYWORK/WorkSpace/testDbC/src/com/test/dbc/client/DataBaseConnAsync.java'
          [ERROR] Line 10: No source code is available for type
java.lang.ClassNotFoundException; did you forget to inherit a required
module?
          [ERROR] Line 10: No source code is available for type
java.sql.SQLException; did you forget to inherit a required module?
    Finding entry point classes
       [ERROR] Unable to find type 'com.test.dbc.client.TestDbC'
          [ERROR] Hint: Previous compiler errors may have made this
type unavailable
          [ERROR] Hint: Check the inheritance chain from your module;
it may not be inheriting a required module or a module may not be
adding its source path entries properly


thanks
magdi

On 3/3/11, Ben Imp<[email protected]>  wrote:
Server-side GWT is just plain old java.  I'd suggest reading up on the
JDBC documentation.

http://download.oracle.com/javase/6/docs/technotes/guides/jdbc/

-Ben

On Mar 3, 3:14 pm, Mohammed Magdi<[email protected]>  wrote:
yes in Java

thanks
magdi

On Thu, Mar 3, 2011 at 6:06 PM, Juan Pablo Gardella<



[email protected]>  wrote:
Is Java. You must implement layers to connect with a database.
Juan
2011/3/3 Mohammed Magdi<[email protected]>
hi
i waht tow know how to connect database into GWT project
thanks
--
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.
  --
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.
--
Eng Mohammed Magdi Mohammed
Third Year - CS dept
--
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.




--
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