:rolleyes:
Silly me. I made some modifications to the working code before I posted it.
for (Task task : user.getTasks()) {
log.error(task.getProject() + " " + task.getName());
}
Type: Posts; User: virtual.havoc; Keyword(s):
:rolleyes:
Silly me. I made some modifications to the working code before I posted it.
for (Task task : user.getTasks()) {
log.error(task.getProject() + " " + task.getName());
}
Hi guys,
I've got DWR integrated with my spring / hibernate project. But for some reason after re-factoring code I get a lazy loading exception to some completely ORM mapping!
Before - Working...
Thanks for the quick reply. How you mention breaking it down gives me an idea.
Since we don't have to inherit Validator anymore, it could be validated using two seperate blocks of validation.
...
Hi all,
I'm trying to design a page where the user can edit there details. But I've hit a validation problem. I'm using a single UserValidator for both the registration page and the edit details...
Hi Marten,
I tried sending you a message with my code but it seems I'm not allowed too.
To be honest I think I never did have a problem in the first place!
User user =...
Increase memory size?
In the run.bat (or .sh) start up file
Change the following line:
set JAVA_OPTS=%JAVA_OPTS% -Xms512m -Xmx1024m
Thank you for your continued efforts in my problem.
I used to have three xml files with spring related configuration
I've moved them all into one big applicationContext.xml, the...
Other forum posts left me even more confused :rolleyes:
Here is missing information.
applicationContext-hibernate.xml
<!-- Configurer that replaces ${...} placeholders with values from a...
Hey guys,
I'm trying to implement OpenSessionInViewFilter because i'm getting a lazy loading exception in my jsp's, but i've spent 3 days on it and im getting nowhere:(
I've set up the...
I'm hitting a similar problem.
It could be due to do with multiple sessions somehow being loaded. I get loads of duplicate start up messages.
2010-01-26 21:19:47,887 INFO...
Thanks for the reply. This is basically what I will be using
(Based of hibernate code)
GenericDao
public interface GenericDao<T, ID extends Serializable> {
T findById(ID id, boolean...
Hi guys,
Im a student who's new to both spring and hibernate, I'm building my website Dao based this site
eg
public class UserDAOImpl implements UserDAO {