Persist (Java tool): Difference between revisions

Content deleted Content added
Rufiao (talk | contribs)
No edit summary
No edit summary
Line 1:
{{lowercase|Persist}}
{{Infobox_Software
|name = Persist
Line 55:
 
QueryData qd1 = persist.read(QueryData.class, "select 1 as count, 'hello' as concat_name from dual");
QueryData qd2 = persist.read(QueryData.class, "select 2 as counts, null as concatnames from dual");
 
'''java.util.Map's'''
Line 78 ⟶ 77:
// fetch all customer id's as a list of integers
List<Integer> ids = persist.readList(intInteger.class, "select id from customer");
 
'''Custom queries with no returning data'''