[JBoss-user] [JBossWS] - JBWS-666

2006-03-11 Thread ycswyw
I think this issue should be reopened: http://jira.jboss.org/jira/browse/JBWS-666 Do you agree? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3929562#3929562 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3929562 ---

[JBoss-user] [EJB 3.0] - Re: EBJ 3.0 and @SecurityDomain annotation

2006-02-17 Thread ycswyw
I think you should import "org.jboss.annotation.security.SecurityDomain" annotation (instead of "org.jboss.aspects.security.SecurityDomain"). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3924694#3924694 Reply to the post : http://www.jboss.com/index.html?mo

[JBoss-user] [EJB 3.0] - Re: JNDI Lookup & JBoss EJB 3.0 RC4 ???

2006-01-31 Thread ycswyw
Try this code: | private Authors authorsBean; | | public void init() throws ServletException { | try { | Context context = new InitialContext(); | authorsBean = (Authors) context.lookup("AuthorsB

[JBoss-user] [JBossWS] - Re: JSR181 + EJB3 (build: CVSTag=HEAD date=200601151019)

2006-01-20 Thread ycswyw
JulianHtun, I think he refers to the "wsdlLocation" attribute of "@WebService" annotation (to specify the file which contains the correct WSDL definition of the webservice). There is an example on CVS "jboss-head/webservice/test/java/org/jboss/test/ws/jsr181/webservice/EJB02Bean.java": ... @W

[JBoss-user] [JBossWS] - JSR181 + EJB3 (build: CVSTag=HEAD date=200601151019)

2006-01-15 Thread ycswyw
Hello, I'm getting an incorrect WSDL for a WebService implemeted as EJB3+JSR181 annotations, when methods return complex type arrays. It is a bug on my code? or it is a Jboss' one? (I haven't found an open bug on JIRA for this subject, so should it be opened/reopened?): This is a sample impl

[JBoss-user] [EJB 3.0] - Re: InheritanceType.JOINED relations in base class added als

2006-01-08 Thread ycswyw
I don't have this problem (jboss-head + hsqldb). Do you have specified the attribute @Inheritance(strategy = InheritanceType.JOINED) on both classes? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916332#3916332 Reply to the post : http://www.jboss.com/ind

[JBoss-user] [EJB 3.0] - Re: Session Bean can not find Entity Manager

2006-01-08 Thread ycswyw
Try with this other one "persistence.xml": | | http://java.sun.com/xml/ns/persistence";> | | java:/DefaultDS | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916330#3916330 Reply to the post : http://www.jboss.co

[JBoss-user] [EJB 3.0] - Re: Session Bean can not find Entity Manager

2006-01-08 Thread ycswyw
Maybe now: java:/DefaultDS View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916327#3916327 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916327 --

[JBoss-user] [EJB 3.0] - Re: Session Bean can not find Entity Manager

2006-01-08 Thread ycswyw
Sorry, the previous XML has been submited incorrectly: ; java:/DefaultDS

[JBoss-user] [EJB 3.0] - Re: Session Bean can not find Entity Manager

2006-01-08 Thread ycswyw
It seems that schema of "persistence.xml" has been changed with xmlns="http://java.sun.com/xml/ns/persistence";. Try with this other one "persistence.xml": java:/DefaultDS View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916325#

[JBoss-user] [EJB 3.0] - Re: How to do self ref. entities in EJB3

2005-12-04 Thread ycswyw
I think you should have to define the "JoinColumn" for the relations (to really setup the parent/childs in the same table) : @Entity public class ManagedObject { @Id @Column(name="ID") public String getId() { return dn; } public void setId(String dn) { this.dn = dn;

[JBoss-user] [EJB 3.0] - Re: Question about OneToOne relationships where other table'

2005-12-04 Thread ycswyw
If you don't want the unused "UserDetail" column and sequence , you can try with this code (not tested) class User{ @Id @Column(name="user_id") Long userId; @OneToOne(optional = true) @JoinColumn(name="user_id") UserDetail detail; } class UserDetail{ @Id(generate = G