Ask
SQL Query result to Java Array
-1
0

I want to read the query result in to array and want to check the array in if condition. Query in returns

SELECT COLUMN
 FROM Table;
OUT PUT:
A
B
C
D
F 

Want to store the above result in array in java and use in the if condition.

  • java
Viru
354
1
4
13
1 Answer
0
0

The JDBC API was written for the database, HTML extracts, not just using query results. So you could write your raw query so that it won't need to it.‌‌‌​​‌​‌‌​‌‌‌‌‌‌​​​‌​‌‌​‌‌‌‌

fetch db closest
fetch urlin(READER atestname)
id string(number range)

In Hibernate, you can use this query module while there is a query to select the new exe document, this example will give you the result if the table has only one entry at a time:

SELECT * FROM table;
Answered
Roboflow
askedLoading
viewed20 times
activeLoading