File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes create a JavaBean having prepared statement Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "create a JavaBean having prepared statement" Watch "create a JavaBean having prepared statement" New topic
Author

create a JavaBean having prepared statement

sachin yadav
Ranch Hand

Joined: Nov 24, 2005
Posts: 156
hi all,

i wana create a javabean in which i want to add a preapredstatement like "select * from employee where eid=?". how to do it??
[ November 29, 2005: Message edited by: Bear Bibeault ]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61434
    
  67

Moved to the JDBC forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: create a JavaBean having prepared statement