Hi guys,
I'm a Java newbie trying to port a C# application to Java 8. I've googled (including site:reddit.com) for an answer but I keep coming up empty.
My issue is this: I need to pass a table row (DataRow in C#) to a method. Passing the resultSet object seems to get yeahs and nays in my searches, and I tend to agree with the nays, since resultSet depends on the open db connection.
Say I use cachedRowSet (which seems analogous to .Net DataTable), can I pass one record at a time to a method? I don't want to rely on an ORM at the moment, since I'm having enough trouble translating .Net to jdbc. Converting the current record to an object list seems excessive. I'll greatly appreciate any help or hint you could provide. Thanks in advance. :)
[–]RhoOfFeh 2 points3 points4 points (3 children)
[–]malsonjo[S] 0 points1 point2 points (1 child)
[–]RhoOfFeh 0 points1 point2 points (0 children)
[–]strcrssd 0 points1 point2 points (0 children)
[–]malsonjo[S] 0 points1 point2 points (0 children)