|
Hi David, David R. Allen wrote: This are just the proxy definition that hibernate takes for using with the CGLIB. You want to specify a proxy in order to get full advances of proxiing capabilities within hibernate.Hi Carlos, What exactly are these proxies used for? Why would I want to specify a proxy class and where exactly does this tagged value go? There is a namespace property wich let you specify a default value. When trying to access objects, and the generated sql have a lot of outer-joins, you should set this property to true. Also you can set a tagged value within a class to true or false in order to override the default value. I am using proxies with hibernate and Jboss in an AndroMDA generated projects and it works Ok.I may not understand CGLIB all that well. In my case, with the Hibernate service on JBoss, the CGLIB optimizations are disabled since the AndroMDA generated classes have all the members as private (at least that's what the messages say in the server log file). No, this property is just to enable and disable the proxies within hibernateNevertheless, Hibernate uses proxies for all lazy loaded collections so that the actual collection is not loaded until that proxy is accessed. Are your proxies something different than the Hibernate proxies? Carlos Thanks, David On Tuesday 01 February 2005 12:18 pm, Carlos Cuenca (JIRA) wrote:[ http://team.andromda.org:8080/jira/browse/HIB-33?page=comments#action_10772 ] Carlos Cuenca commented on HIB-33: ---------------------------------- well, I think that not on all the cases, but sometimes you may want to do it. So my idea is to have a namespace property to use as default, and a tagged value to use it for each class, so If no tagged value is present, it will assume the namespace |
