• Post Reply Bookmark Topic Watch Topic
  • New Topic

java beginner project  RSS feed

 
numan ahmad
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hay to all....
i am new in java and have basic concept of OOP and awing API....now i want to make a small project in java using database which have a class For example DB.java and having methods of insert(); delete(); execute(); and update(); and finally connection with database..


But i don't know how to make these method please any body tell me how can i make these method please give me a code example of these methods ?
thanks in advance ...
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16060
88
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To learn how to work with databases from Java, have a look at the JDBC Tutorial.

If you're using the NetBeans IDE then you could have a look at the tutorials there: Building a Java Desktop Database Application.
 
numan ahmad
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i know how to make connection and have watched lot of tutorials already .......you please only told me that how can i make these methods?
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16060
88
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What exactly do you mean by "how to make these methods"? If you've already followed tutorials and you know how the JDBC API works, then where exactly do you get stuck?
 
numan ahmad
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
no you did not get my question exactly .....
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16060
88
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Then explain your question more clearly...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!