[jboss-user] [EJB/JBoss] - mapping 0..1 association

2006-11-06 Thread arvindsj
Hi, I was wondering what is the best approach to map an association of the kind where one side is 0..1 and the other is 0..* I tried using OneToMany annotation along with nullable set to true, but that doesn't work. Do I have to do this using ManyToMany and provide code to check and enforce

[jboss-user] [EJB 3.0] - Pre-populating entity bean instances at application installa

2006-11-01 Thread arvindsj
Hi, I have a simple EJB3.0 application and I want to pre-populate the database with some entity instances. How do I do this? Thanks a lot for your help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982562#3982562 Reply to the post : http://www.jboss.co

[jboss-user] [Security & JAAS/JBoss] - Help with Logout

2006-09-21 Thread arvindsj
I have a struts application on JBOSS in whcih I have a logout button which points to "logout.do". In the logout Action, I invalidate the session. In my struts-config.xml i have this configuration for logout action: | | The reason I have the forward to "home.html" is because I