Ubadan wrote:
In the same time i don't want to use lazy loading or mapping property as Logo class type
Why don't you want to map it as the Logo class type? If the logo is a proxy by default only the ID will be loaded anyway, so there won't be a performance hit. This would give you the desired behavior until you try to access properties of the Logo class (besides the ID) which you obviously are stating you wouldn't do.
Additionally you could always write HQL queries that return just the properties you need, so if there is a case where you are populating a grid for example, you wouldn't need all of the logo classes, you could have accomplished the ID portion via an HQL query.
Maybe there are some other options besides what you state that will work for you? Give us some more information, and maybe we can come up with some other alternatives as well.