• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Oracle Package +JDBC

 
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a table called EMP.
I want to get all rows of the tble in a SP and the display using JDBC
how can i do it?
How can i write a package for this and then execute it in java?
 
Ranch Hand
Posts: 1879
MySQL Database Suse
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hold on there partner!!! That's a lot of stuff for a forum question. How about you read a java book, do some tutorials, or just plain try first!
Let's start with how do I program in java--> start here
how do I create a GUI for displaying my records--> User Interfaces that SWING - pay attention to the JTable section
how do I access a database from java -->JDBC trail - pay attention to the CallableStatement section
How can i write a package for this and then execute it in java --> This might help
Feel free to ask anymore questions if you encounter any problems ( preferrably after you attempt to do it yourself! )
Jamie
 
Sanjay Deshpande
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well what i m looking for is ,
i have a package that returns
Select * from a table.
This is not possible in a Sp till we use package.
So what i want to know is how to rite this package and call THIS PACKAGE in jdbc.
Plz lemme know this one.
 
There will be plenty of time to discuss your objections when and if you return. The cargo is this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic