• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to Creating the JavaBeans using MySql

 
vamshi krishnan
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi everybody
please tell me how to create the beans and usage of beans
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35279
384
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Vamshi,
A JavaBean is just an object with getters and setters. MySql is a database and knows nothing about Java. You join the two using JDBC (or an object relational technology.) With JDBC, you loop through the result set, create your beans and call their setters.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic