Win a copy of Machine Learning with TensorFlow this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Bear Bibeault
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • salvin francis
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
Bartenders:
  • Jj Roberts
  • Carey Brown
  • Scott Selikoff

connecting java application to JAVADB database

 
Greenhorn
Posts: 6
Android Netbeans IDE PHP
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
guys this is my project and i am not able to connect with database i am using...JAVA DB....PLEASE help me out ...i am not able to save any data to database or update or delete....if any body is having idea about this error tell me how to fix it..and if any error is there please post me with corrected code...please i need help....thank you guys...i have attched the file naming java code ..

 
Ranch Hand
Posts: 277
Oracle Spring Flex
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
whats the exception that you are getting. post the stack trace.
 
aditya vikram singh
Greenhorn
Posts: 6
Android Netbeans IDE PHP
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
IS THERE ANY ERROR IN WRITING CODE FOR CONNECTING TO JAVA DB..IF THERE PLEASE LET ME KNW THE CORRRECTION..IN


S1.JPG
[Thumbnail for S1.JPG]
error 1 that is occuring
S2.JPG
[Thumbnail for S2.JPG]
error 2 that is occuring
 
Marshal
Posts: 26388
81
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You made me open a stupid image just to read a single error message? Don't you have any consideration? Just copy and paste error messages the next time.

As for the so-called error message, it's just telling you that you haven't written any Javadoc for the method. You don't have to write Javadoc for the method. But if those warning messages confuse you, then just write the Javadoc and carry on with your work.
 
aditya vikram singh
Greenhorn
Posts: 6
Android Netbeans IDE PHP
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
WHAT ABOUT DATBASE IS THERE ANY ERROR..IN CODE..ANY WHY THIS CODE IS NOT GETTING CONNECTED TO DATABASE I HAVE GIVEN URL,DRIVER NAME AND ALL....

DO I NEED TO WRITE JAVA DOC..IS IT NECESSARY...??

what does this error says ....
S3.JPG
[Thumbnail for S3.JPG]
 
Sheriff
Posts: 22083
113
Eclipse IDE Spring VI Editor Chrome Java Ubuntu Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please KeepItDown. There's no need to use only uppercase letters.

Your problem from the screen shot is the class name. You think that the class name is "SailsManager", but it's "sails.manager.SailsManager" - the package is part of the class name.
 
aditya vikram singh
Greenhorn
Posts: 6
Android Netbeans IDE PHP
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
but how a class name can be sails.manager.sailsmanger. it can't be there will be no dot-operartor in between..it will be wrong class name...if i give also it will just take sails as my class name not the whole class name as you suggested..please refer to my code is there any problem there beacuse i have tried hell lot things but nothing is working out
 
Rob Spoor
Sheriff
Posts: 22083
113
Eclipse IDE Spring VI Editor Chrome Java Ubuntu Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You've put the class in a package called sails.manager; that's where that part of the name comes from.
 
Lookout! Runaway whale! Hide behind this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic