Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JSP and Oracle

Status
Not open for further replies.

Bebacha

Programmer
Mar 30, 2003
3
PH
I have an application that will contain several items called cards.
Each card will access some attributes of some tables in the Oracle database via a select sql string and display those attributes in a jsp page.
Each card will be different about what data it accesses. There will be an option of adding new cards with new sql strings.
Some of these strings could be very long.
Does anyone have any idea where or how I can store and manage these strings?
Thanks
 
When you refer to "Strings" are you referring to the SQL statements themselves or to the atctual content of the cards?

If you are talking about the SQL statements, you have serveral option that range from resource files to XML files. I usually use XML because it gives me more flexibility and you can modify them any time.

If its the actual data for the cards, use varchar2 unless the string are really huge.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top