[EJB 3.0] - Re: CascadeType.PERSIST question
by ttrepper
Hi waynebylor,
thank you for your answer - sorry, i forget to attach the code. Here it is:
package com.auctonova.ejb.persistence;
|
| import java.io.Serializable;
|
| import javax.persistence.Entity;
| import javax.persistence.Column;
| import javax.persistence.Id;
| import javax.persistence.Table;
|
|
| @Entity
| @Table(name="PersonHasCustomization")
| public class PersonHasCustomization implements Serializable {
| private static final long serialVersionUID = 1L;
| private String locale;
| private long partyidperson;
|
| //--------------------------------------------------------------------------
| public String getLocale() {
| return this.locale;
| }
|
| //--------------------------------------------------------------------------
| public void setLocale(String locale) {
| this.locale = locale;
| }
|
| //--------------------------------------------------------------------------
| @Id
| public long getPartyidperson() {
| return this.partyidperson;
| }
|
| //--------------------------------------------------------------------------
| public void setPartyidperson(long partyidperson) {
| this.partyidperson = partyidperson;
| }
| }
|
I have still not found the solution. Thank you for your help.
Thomas
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082398#4082398
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082398
18 years, 7 months
[EJB 3.0] - unable to find LoginModule class
by JPagera
hi anyone can help plz
when im tryin to login it give the Exception
unable to find LoginModule class : com.jpagera.login.JPageraLoginModul
i defined my login module like :
..................................
<application-policy name="JPassivateSecurityDomain">
<login-module code="com.jpagera.login.JPageraLoginModul" flag="required">
<module-option name="debug">true</module-option>
<module-option name="driverDB_">com.mysql.jdbc.Driver</module-option>
<module-option name="userDB_">myusrName</module-option>
<module-option name="passwordDB_">mypassword</module-option>
<module-option name="urlDB_">jdbc:mysql://localhost:3306/jos_db</module-option>
</login-module>
</application-policy>
......................................
and my jboss.xml
...................
<security-domain>java:/jaas/JPassivateSecurityDomain</security-domain>
<enterprise-beans>
<ejb-name>JBossSessionEJB</ejb-name>
<jndi-name>JBossSessionEJB</jndi-name>
</enterprise-beans>
...................................
did i miss somthing ??
thank 4 help
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082392#4082392
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082392
18 years, 7 months