-->
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: Cannot be specified as proxy
PostPosted: Fri Jul 14, 2006 12:32 pm 
Beginner
Beginner

Joined: Fri Jul 07, 2006 12:08 pm
Posts: 37
I am getting this error..what could be the cause..

Type:Transport Cannot be specified as proxy:type does not have a visible no argument constructor..
it seems i have to declare a no-arg constructor..

Another error I am getting..
InvalidProxyTypeException:Itinerary Cannot be specified as proxy:get_itineraryname should be virtual



thks


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 14, 2006 3:40 pm 
Regular
Regular

Joined: Wed Jun 21, 2006 3:13 pm
Posts: 110
Please post your mappings too...

If you're using alpha, everything is lazy by default... so it wants you to expose all properties on your class as public virtual

so public string itineraryname would become public virtual string itineraryname

Or, you can turn this off at the class level with a lazy="false"


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.