[jboss-user] [EJB 3.0] - Re: what´s the error

sashaxiv do-not-reply at jboss.com
Mon May 7 06:13:02 EDT 2007


i think this is interesting. I fixed my error but it was not in my UsuarioEJb class!! Jboss was misleading me. The error was in other class related to UsuarioEJb

i had
        Column(name="idUsuario", updatable=false, insertable=false)
	
	public UsuarioEJB getUsuario(){
		return this.usuario;
	}

  and this is how i fixed the error

	@ManyToOne
	@JoinColumn(name="idUsuario", updatable=false, insertable=false)
	
	public UsuarioEJB getUsuario(){
		return this.usuario;
	}

i think jboss should have other trace for the error.

Regards!!

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043607#4043607

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043607



More information about the jboss-user mailing list