Hi,
I'm using ReflectionToStringBuilder to build a default toString() for all my
Hibernate entities.
It creates problem with non initialized Fields when outside of an open
session.
Basically, I'd like to be able to exclude all entity subobjects by putting
them in ExcludeFieldNames so that they d
oStringStyle.getInstance());
return tsb.toString();
}
The . isAnnotationPresent() method is very convenient in case you can
identify your classes with an Annotation, otherwise, I use
getType().getGenericSuperclass().toString() to check the superclass name.
nodje wrote:
>
> Hi,
&g
Is there anything wrong with that way of doing?
cheers
-nodje
--
View this message in context:
http://www.nabble.com/-commons-vfs--Using-a-unique-FileSystemManager-instancetp25866902p25866902.html
Sent from the Commons - User mailing list archive at
What'd be a good way to get access to a deployed WAR's content using VFS?
Right now, I'm doing:
servletContext.getRealPath("") + File.separator + "WEB-INF" + File.separator
+ "classes" + File.separator + path;
And this quite inconvenient to rely on servletContext since I don't have
access to it