Skip to Main Content

Breadcrumb

Question and Answer

Tom Kyte

Thanks for the question, Chris.

Asked: August 31, 2009 - 1:51 pm UTC

Last updated: August 31, 2009 - 2:08 pm UTC

Version: 10.2.0.4

Viewed 1000+ times

You Asked

Hi Tom,

I'd like to get your opinion on what you feel every new java developer should know. We're hiring a couple of entry level java programmers to who will be working on projects where the Oracle is the backend database. I don't have a training budget so I was going to have some of the more senior developers mentor them. I would, however, like to give the mentors a list of topics they should cover.

My list currently has one item on it - Not using bind variables will get you fired. Do you have any suggestions for additional entries?

Thank you,

Chris

and Tom said...

if #1 is Not using bind variables will get you fired.

then #2 should be "you should be able to tell us when not using a bind variable is not only acceptable but preferred"


The general rule should be - definitely - use a bind. Unless you are perhaps a data warehouse application - whereby using a bind for the data warehouse queries (just those queries, not the rest of the lot) would be a bad thing in general (you want to spend an extra second parsing SQL when you have SQL that takes minutes or hours to execute).

here is the rest of the short list

#3 should be "you have read the concepts guide"

#4 you can describe what multi-version read consistency is and explain why you care

#5 you understand locking and concurrency control in the database

#6 you have undertaken steps to get as knowledgeable on SQL as you are in Java, and if not you shall relinquish all database access to someone that has

#7 stored procedures are not evil, in fact, they promote code reuse much more than java can and will, they are more maintainable, they are more portable, they will be around after your application is put to rest

#8 design counts, there are times when generic is good - but they are exceedingly rare, you will actually design your schemas (with help).


Rating

  (4 ratings)

Is this answer out of date? If it is, please let us know via a Comment

Comments

Alexander, August 31, 2009 - 2:37 pm UTC

So depressing looking at that list. Everyone I work with cannot/has not do/done any of those :(

list is superb

Sokrates, August 31, 2009 - 3:56 pm UTC


Ouch

Rick, August 31, 2009 - 3:59 pm UTC

Luv the list!

<tongue-in-cheek> List an app dba should present to a room full of java developers once he has submittted his/her two week notice. </tongue-in-cheek>

good info

Kavish, September 01, 2009 - 2:57 pm UTC

Nice to see a list of this kind..

More to Explore

PL/SQL demos

Check out more PL/SQL tutorials on our LiveSQL tool.

PL/SQL docs

PL/SQL reference manual from the Oracle documentation library