Disable Google App Engine in your eclipse settings. GAE does not allow you to use databases or open network connections.
--Sri On 19 April 2010 17:59, keyboard_samurai <[email protected]> wrote: > Hello, > > I need to know if anyone is able to query the database for fetching > data. This is a common requirement for most of the applications to use > database.If Hosted Mode doesnt support it then how are the users of > GWT developing ? > > Do let me know !! > > I get an exception while connecting to database using JDBC below is > the trace of it. > > java.lang.NoClassDefFoundError: java.lang.management.ManagementFactory > is a restricted class. Please see the Google App Engine developer's > guide for more details. > at > > com.google.appengine.tools.development.agent.runtime.Runtime.reject(Runtime.java: > 51) > at > oracle.jdbc.driver.OracleDriver.registerMBeans(OracleDriver.java:270) > at oracle.jdbc.driver.OracleDriver$1.run(OracleDriver.java:213) > at java.security.AccessController.doPrivileged(Native Method) > > 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]<google-web-toolkit%[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.
