[jboss-user] [EJB/JBoss] - Problem with a OneToOne relation

2009-06-19 Thread krum
help me please??? Thanks Krum View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4238696#4238696 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4238696 ___ jboss-user mailing list jboss

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Problem with a OneToOne relation

2009-06-19 Thread krum
ok thanks, can you tell me if this bug exist in any version of JBoss ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4238761#4238761 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4238761

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Problem with a OneToOne relation

2009-06-19 Thread krum
ok, thanks! i will try with JBoss 5.1.0 GA View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4238773#4238773 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4238773 ___ jboss-user

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Problem with a OneToOne relation

2009-06-19 Thread krum
so i try to deploy with jboss 5.1.0 and i have the same error but there is a description of the problem now: org.hibernate.AnnotationException: Referenced property not a (One|Many)ToOne: thales_isr.missionDAO.entity.FixedFrequency.listTechAnalysisParamses in mappedBy of thales_isr.mi |

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Problem with a OneToOne relation

2009-06-16 Thread krum
:55,341 INFO [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 10s:485ms But if i put a @OneToMany or @ManyToOne annotation with a Set, i have NO problem to deploy. Can you help me please? Thanks Krum View the original post : http

[jboss-user] [JNDI/Naming/Network] - Re: ClassCastException with JBoss 5.0.0 GA and higher

2009-04-15 Thread krum
have you got an idea? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4225533#4225533 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4225533 ___ jboss-user mailing list

[jboss-user] [JNDI/Naming/Network] - Re: ClassCastException with JBoss 5.0.0 GA and higher

2009-04-09 Thread krum
this is EJB3 the bean code: /** | * | */ | package thales_isr.bean; | | import java.util.ArrayList; | import java.util.List; | | import javax.ejb.Stateful; | import javax.persistence.EntityManager; | import javax.persistence.PersistenceContext; | | import

[jboss-user] [JNDI/Naming/Network] - ClassCastException with JBoss 5.0.0 GA and higher

2009-04-08 Thread krum
Hello, Ihave a problem when i want to get my ejb3.0 with the method lookup of the initialContext. When i use the JBoss 4.2.2 GA, it works perfectly. But if i would like to use the JBoss 5.0.0 or 5.0.1 GA, i have a ClassCastException: can't cas javax.naming.reference to my EJB... Someone have

[jboss-user] [JNDI/Naming/Network] - Re: ClassCastException with JBoss 5.0.0 GA and higher

2009-04-08 Thread krum
there is nothing about the classpath in the manifest of my jbossall-client.jar ... :s View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224382#4224382 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224382

[jboss-user] [JNDI/Naming/Network] - Re: ClassCastException with JBoss 5.0.0 GA and higher

2009-04-08 Thread krum
i'm sorry, i dont look at the good jar. it's ok, now i'll see if i could get my ejb with JBoss 5.0.1 GA View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224388#4224388 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224388

[jboss-user] [JNDI/Naming/Network] - Re: ClassCastException with JBoss 5.0.0 GA and higher

2009-04-08 Thread krum
So thanks, it's ok! i can get my ejb, but now i have this exception: Exception in thread main javax.ejb.EJBException: java.lang.IllegalArgumentException: Wrong target. class thales_isr.bean.MissionBean for public thales_isr.pojo.mission.Mission thales_isr.bean.MissionBean.get(java.lang.String)