jeroen riezebeek

Greenhorn
+ Follow
since Nov 26, 2002
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by jeroen riezebeek

Maybe you can load a servlet at startup like this


At startup time this servlets will be invoked you can get a datasource here or parse a xml file.
15 years ago
Hi,
to get the primary keys directly from the databasemetadata is not possible.
You can get the primary key with the method getPrimaryKeys(String catalog, String schema, String table).
This method returns a resultset witht primary keys.
Since there isn't a primary key object will the resultset exists of primary key names.
For more information see javadoc about the DatabaseMateData object.
Hello,
is it possible to write a mp3 file read into memory as a byte[] and then write this array to the httpresponse?
15 years ago

Let the database do the sorting. So include a sort statement into your query.

Returns Enumeration wich is a collection of the elements in the tbl_TXRecords.
To print these element.
16 years ago
What you have to do is looking for the dijkstra algorithm.
This algorithm calculates the shortes(cheapest) path in a matrix.
16 years ago
Hello,
i'm just getting some feeling with threads.
Is it possible for sombody to check if the code is correct?


Thanks in advance.
Random rnd = new Random();
int value = (int)(rnd.nextDouble()*3);
17 years ago

Originally posted by Gaurav Chikara:
Can any one pls let me know as how can we generate random no in java with in certain range
e.g. I want to generate random no between 1 and 3
Thankx in advance
:roll:

17 years ago