Hello
I am new with Hibernate and I know that I can create a mapping for a table EVENTS (for myDatabase) as:
Code:
<hibernate-mapping>
<class name="events.Event" table="EVENTS">
<id name="id" column="EVENT_ID">
<generator class="native"/>
</id>
</class>
</hibernate-mapping>
My question is if I have a function inside this myDatabase, how I can create a mapping for that function
For example I have a function
CREATE OR REPLACE function getItems (...) AS .....
How I can handle this case..
Many thanks
john