A number of questions in this regard:-
a. Is there a specific hibernate type to be used for oracle 11g virtual columns or the native ones would do?
b. If types e.g., string, long are to be used (and they do work fine when used in hql queries) then how to fetch the properties mapped onto virtual columns using Criteria API?
c. Currently, criteria query returns such properties as empty although they do have values in them. As an alternative I have used the formula element by calling the function used to derive the virtual column and that returns the result set with actual values. But then, having a virtual column in table is of no use as the processing overhead again shifts to hibernate/ application code.
Any suggestions?