How to store values that are retrieved from mysql database into an arraylist?

More inputs from you would do us good. Show us the piece of code that you are using to execute the query.
One Example may be --
Where i assume query is what you are running from your java program.

List mylist = query.list();

the add and addAll methods could do the trick as well, depends on how you read your data.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.