aspose file tools
The moose likes JDBC and the fly likes What is the difference between static vs dynamic in SQLJ Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "What is the difference between static vs dynamic in SQLJ " Watch "What is the difference between static vs dynamic in SQLJ " New topic
Author

What is the difference between static vs dynamic in SQLJ

bob morkos
Ranch Hand

Joined: Sep 06, 2001
Posts: 104
I dont know the difference, could anyone explain. In my application I will have pagination functionality. Does that mean it's dynamic?
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 26496
    
  78

Bob,
When you were fixing the display name to get rid of the comma in "bob, morkos", the first name got lost. It is now showing up as "morkos"


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 26496
    
  78

Now on to your question. There are both static and dynamic types of paging. Static means you get all the data in one shot. Dynamic means you go back to the database when the user clicks "next page." So the fact that you have pagination, doesn't tell you whether it is static or dynamic.
bob morkos
Ranch Hand

Joined: Sep 06, 2001
Posts: 104
When do u used dynamic SQL? I need to implement pagination and column sorting and dont know if SQLJ static SQL support this functionality. Could you confirm. Thanks in advance for your response.

Originally posted by Jeanne Boyarsky:
Now on to your question. There are both static and dynamic types of paging. Static means you get all the data in one shot. Dynamic means you go back to the database when the user clicks "next page." So the fact that you have pagination, doesn't tell you whether it is static or dynamic.
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

"morkos",
thanks for changing your display name and sorry to be a pain, but it is still not valid.

We require display names to be two words: your first name, a space, then your last name. "Bob Morkos" is valid, "bob, morkos" is not valid, and "morkos" is even worse.

Can you fix this for us please so we can get back to Java?

thanks,
Dave.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: What is the difference between static vs dynamic in SQLJ
 
Similar Threads
jdk dynamic proxy vs cglib dynamic proxy
Question: what's "generate dynamic output of XML"?
Difference b/w Dynamic & Static Servlets
What is the difference between 'deep' and 'shallow' binding?
Static and Dynamic class loading