Brilliant !

Thanks :)

> -----Original Message-----
> From: Gavin King [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, 2 October 2003 3:12 AM
> To: Cameron Braid
> Cc: [EMAIL PROTECTED]
> Subject: Re: [Hibernate] ClassMetaData - doesn't have content 
> for Component classes
> 
> 
> It is all available through the property Type. You can cast to 
> AbstractComponentType any Type
> that returns true for isComponentType().
> 
> Cameron Braid wrote:
> 
> > I wish to be able to query the hibernate class meta data 
> for component
> > classes.
> >  
> > Is this something that can be added in ?
> >  
> > Currently I get :
> >  
> > ...
> > Caused by: net.sf.hibernate.MappingException: No persister for:
> > com.datacodex.chemistsaustralia.domainobject.AddressComponent
> >  at 
> > 
> net.sf.hibernate.impl.SessionFactoryImpl.getPersister(SessionF
> actoryImpl.java:441)
> >  at 
> > 
> net.sf.hibernate.impl.SessionFactoryImpl.getClassMetadata(Sess
> ionFactoryImpl.java:668)
> >  at 
> > 
> com.datacodex.util.TraversalList.newEntriesForHibernatePropsAn
> dComponents(TraversalList.java:71)
> >  at 
> > 
> com.datacodex.util.TraversalList.newEntriesForHibernatePropsAn
> dComponents(TraversalList.java:87)
> >  at 
> > 
> com.datacodex.chemistsaustralia.blimp.OrderManagerBLImp.archiv
> eOrders(OrderManagerBLImp.java:730)
> >  ... 17 more
> >  
> >  
> > Cheers,
> >  
> > Cameron
> 
> 
> 




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to