This content has been marked as final. Show 2 replies
it's been a while since i've looked at it, but could you create a custom SQLData implementation for handling the REF types you're interested in, which would (attempt anyways) to prefetch the referenced object at the same time you 'get' the reference via JDBC?
Edit 5/11/11 Make that the OraData and OraDataFactory interfaces. Create custom implementations of these interfaces, adding complex object retrieval and caching mechanisms, and then use them in your JDBC getOraData(int colIndex, OraDataFactory factory)' calls.
The preFetch method is smarter than that, because it just requires one database trip to fetch all data that is needed.