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
---
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
Try this code:
| private Authors authorsBean;
|
| public void init() throws ServletException {
| try {
| Context context = new InitialContext();
| authorsBean = (Authors)
context.lookup("AuthorsB
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
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
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
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
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
--
Sorry, the previous XML has been submited incorrectly:
;
java:/DefaultDS
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#
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;
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
12 matches
Mail list logo