Hi everybody,
the subject already says it. ;) My first question is if entity objects
(some people call them domain objects) have to be serializable
or perhaps just in certain circumstances?
The problem is that I have an entity object "Person"
and a corresponding DAO PersonDao. In the latter
I have a function
@SuppressWarnings("unchecked")
public List<Person> getAllPersons()
{
return (List<Person>) getSession().createQuery("from Person").list();
}
In the logs (in the meanwhile this works now but only after putting
the configuration options in the main tomcat log4j.properties file.
The context related log4j files still arent't recognized) I see
that the SQL query is performed but the List doesn't seem to be
created. I thought perhaps because the cast doesn't work?
The second question is how I can insert linebreaks in the
values of Tapestry's *.properties files?
Thanks!
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]