| Author |
a very basic question about java and oracle database
|
Sakura Mika
Greenhorn
Joined: Aug 21, 2010
Posts: 3
|
|
first of all , I would like to say that's a very basic question, but yet I couldn't find it's answer, I'm a Java newpie have almost just finshed Head First Java second edition book, beside that I have a good knowlege in oracle database ( I'm working to get my cirtification soon ) .
I've started to learn java become a database developer, I hate " Oracle Forms " and I believe it's and old tech and full of restrictions, and Java is the feture . so actually database tech in Java are my goal for the time being , then I'll move to Oracle ADF after I do that ( long road and needs lots of effort I know ..)
I started to learn JDBC from java JDBC tutorial and learning more about JTable also form java tutorial and things are going well so far ..
sorry for this long introduction , now let's head to the question
so, so far I got a basic result , I managed to create a connection to the database and query the data and display the data at the console, but I couldn't yet figure out how to fetch the data from ResultSet into JTable , I mean I want to make a table and make it display rows from database, not from array for example .
that's the simple result I talked about ..
another thing , when I started studying Java form headfirst java, everything was so smooth , and everything was in one place, while I'm trying to learn about database in Java now, I have to search the net for tutorials for every single info I need ( like I said before JDBC and JTable ) , it would be great if someone would recommend a book ( or a site) where I can I find everything related to database in java in one place ..
any help , I would really appreciate it .. and thanks for everyone ..
|
 |
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
|
|
|
Please check your private messages.
|
JavaRanch FAQ HowToAskQuestionsOnJavaRanch
|
 |
Sakura Mika
Greenhorn
Joined: Aug 21, 2010
Posts: 3
|
|
done sir , thanks for informing me
|
 |
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
|
|
OK, you need to populate some sort of data structure while you iterate through the ResultSet. Have a look at this.
|
 |
Sakura Mika
Greenhorn
Joined: Aug 21, 2010
Posts: 3
|
|
Paul Sturrock wrote:OK, you need to populate some sort of data structure while you iterate through the ResultSet. Have a look at this.
thanks for your answer , actullay since I'm still at the first step of the ladder I would like a more detailed answer , I know maybe I'm asking to much ( and for being respectful for the forum rules and the members ), so I'll do my best studying JDBC and JTable now , and I'll back when I have some new questions .
but I still would like to find an answer for me second question ( database resoures for Java )
once again thanks for you time and effort
|
 |
 |
|
|
subject: a very basic question about java and oracle database
|
|
|