-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Lazy data fetching for primitives
PostPosted: Thu Feb 26, 2004 7:48 am 
Beginner
Beginner

Joined: Tue Feb 17, 2004 7:53 am
Posts: 24
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,


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 26, 2004 8:51 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
http://www.hibernate.org/41.html

_________________
Emmanuel


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.