我有一个 LinkedList 作为
/**
* The list of data to display.
*/
private static final List<Contact> CONTACTS = new LinkedList<Contact>(Arrays.asList(
new Contact("Some string", "1234", "5678")));
现在我想从 Postgres 中检索这些数据,而不是这个列表。我不知道我该怎么做。一个例子会很棒!谢谢你。