User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JSP section within the Web Development category of DaniWeb, a massive community of 422,558 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,658 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JSP advertiser: Lunarpages JSP Web Hosting

JSP and Oracle

Join Date: Mar 2003
Posts: 2
Reputation: bebacha is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
bebacha bebacha is offline Offline
Newbie Poster

SQL Strings

  #3  
Mar 31st, 2003
Each card will use different attributes from different tables.
Each SQL string will select these attributes specific to the card.
When a new card is created, a new select statement will be created to identify which attributes this card will use.
That string will tell the jsp which fields to display on the page when the user selects a specific type of card. Then the user can add data, edit data, delete data, search through the data using drop down lists or print the data for a particular combination specific to that kind of card.
The reason I need to use these strings (I think) is that they are going to be different for every kind of card, and there is an infinite (within reason) number of card possibilities, and therefore an infinite number of attribute combinations.
So the sql strings themselves will be static but linked to a card type in the database, either as a very long string stored in the database, or as a path to a text file that holds the string, or possibly, as a callableStatement or stored procedure.
Does that explain?
Reply With Quote  
All times are GMT -4. The time now is 1:14 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC