Hello,
Does hibernate supports lazy fetching of primitive types? For ex.
We have an object Catalog and its have a property defintion, of type
clob. Now can it be possible that definition will be fetched only on
demand, ie not with the main object catalog.
XML mapping file is:
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd">
<hibernate-mapping>
<class name="com.aceva.rms.knowledge.config.Catalog"
table="Catalog">
<id name="id" column="catalog_id" type="long"
unsaved-value="null">
<generator class="sequence"/>
</id>
<property name="definition" column="definition" type="clob"/>
<property name="name" column="name" type="string" length="30"/>
</class>
</hibernate-mapping>
Thanks,
|