File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Need to hold a set of numbers between package calls (preferrably without a table) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Reply locked New topic
Author

Need to hold a set of numbers between package calls (preferrably without a table)

Matt Kohanek
Village Idiot
Ranch Hand

Joined: Apr 04, 2009
Posts: 483

I have some numbers generated in a sql package. I need these numbers to be held by some kind of object that is available to the entire package. The package makes calls to other packages, so my attempts to use a global variable that is a type table of number does not work because that gets reset when calls are made to other packages (at least I assume that is how they are getting reset).

Is my only option to simply create a one column table that I delete from every time I am done with the numbers? Or is there something that will hold this data for me like I need it to other than a table?


True wisdom is in knowing you know nothing - Socrates
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2510
    
  10

Let's continue in your original post: http://www.coderanch.com/t/529535/JDBC/java/help-table-number#2401277


OCUP UML fundamental and ITIL foundation
youtube channel
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need to hold a set of numbers between package calls (preferrably without a table)