Hi!
I haven not read all posts but I know the following works with Oracle.
1. Annotate your entity with @Entity as normal.
2. Annotate your ID column with @Id.
@GeneratedValue(strategy=GenerattionType.AUTO, generator="seqMyObject"),
@SequenceGenerator(name="seqMyObject", sequenceMame="SEQ_MY_O
Hello!
Sorry to say, but this may be a hard working lesson to never go for the "code
first" approach when creating web services which contracts shall be persistent
over time and over different application servers. So a tip for future
development, write your wsdl and included schemas by hand and
Here is a short eaxample:
| @Service
| @Management(MyServiceManagement.class)
| @Depends("jboss.ws:service=DeployerInterceptorEJB3")
| public class MyService implements MyServiceManagement {
|
|private Timer timer = null;
|
|@Resource
|private EJBContext ejbCon
Hi!
When annotating with the service you have four life cycle methods that you can
implement.
*create
*start
*stop
*destroy
Try call test from start and you'll se that it will be called.
Cheers
/Oskar
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4140493
Ooopss... Then we are in trouble...
Is it possible to configure MySQL and Hypersonic with a XA data sources. What
we want to do is to use the default data source as the timer data source and
then use JPA with an underlying MySQL (with MyISAM tables) and get this to
work. A config example would
I'm using JBoss 4.2.2.GA. Do I still have to use the JBoss specific annotation
@IgnoreDependency or is it possible to do this in a pure standard java ee way?
Kind regards
/Oskar
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139503#4139503
Reply to the pos
Hmm... and now you're back where you started, aren't you?
This is a pretty annoying problem. Is there a working example of doing this
within an EJB? Is the following solution possible?
| @Stateless
| @Local
| public class A {
|
|@EJB
|B b;
|
|/**
|* this meth
Hi All!
Downgrade your JVM and your problem shall be gone. It has to do with the
SOAP-implementation (SAAJ). I think you can switch SAAJ-implementation by
adding a newer saajImpl.jar file to the $JBOSS_HOME/lib/endorsed directory. I'm
not sure about the last part about SAAJ but it is a known pr
Hi again!
Now I look at all these parts on a communication level. There might be a
feature in JAXB to do all this state synchronization without your/my knowledge.
I don't know. But the concept of web services does not support this kind of
void feature where you change a value in your method "ar
Hi!
In such cases you have to return the new "state" to the client in form av a
returned object. So you cannot have this method as a void method.
Cheers
/Oskar
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4131113#4131113
Reply to the post :
http://www.j
Sorry!
Didn't get it all. I think this thread would give you answers about how to do
handle attachments in the way you want.
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=124280
/Oskar
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129309#412930
Hi!
Attachments are a tricky part. The simplest way to do is to add your attachment
as a base64binary in your schema, but that is not what you always want to do.
I've been asking a lot about how to use MTOM on a SOAPMessage, but I didn't get
any response at all.
To answer your question about h
Hi!
You can always set the url in the service object when adding the port, like the
following:
| Service service = Service.create(new QName("...", "..."));
| service.addPort(new QName("...", "..."), SOAPBinding.SOAP11HTTP_BINDING,
"http://service.location/at/some/context";);
| dispatch =
Hello!
Is it possible to implement MTOM when using the javax.xml.ws.Provider<
SOAPMessage >? Does any of you have a simple example.
Best regards
/Oskar
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127174#4127174
Reply to the post :
http://www.jboss.com
Hi!
Just use a javax.xml.ws.Provider< SOAPElement > provider. You create a class
that implements the Provider interface. You'll get something like:
| @Local
| @Stateless
| @WebServiceProvider(
| serviceName = "...",
| portName = "...",
| targetNamespace = "...",
|
Hello!
Unfortunately there are no safe functions in javascript to detect when the
browser window is closed. For me it sounds better to grab the output stream
from the response and check it in a separate thread while the session bean is
executing. I think you can write an empty/blank character t
Hello!
This is the way to go. Never add a properties-file in the WEB-INF folder. A
better place is on the classpath, i.e. in the WEB-INF/classes directory. Then
you can access this file with the following command:
|
Thread.currentThread().getContextClassloader().getResourceAsStream("filenam
Hi All!
Important to know. An ejb is NOT started just because it is deployed. It is
just available to a "client" through the application server. There is no method
invoked on an ejb during or just after the deploy.
Ok, there are ways to go around this. Add a service to your ejb that is
invokin
Hi Kasim!
Sequenzes are not hibernate specific "stuff". Instead sequences are database
specific counters. Oracle are using sequnces, but MsSQL, MySQL, etc. are using
identity mappings. If you are using MySQL you probably use an auto_increment to
get the same feature as an Oracle sequence.
Sett
Hello all!!
I'm writing this into the JBoss security forum because I can't find any better
place to put it. I hope I will get some good answers or at least good advices
of how to implement a security model in a multi language SOA environment.
I have an environment where we have some Perl models
Hello!
Many of the javax... files (read jars, taglibs, ...) are under license of Sun
Microsystems Inc. Therefore they are not part of the global maven repository.
Make a mvn deploy:deploy-file (or install:install-file) to add the jars you
want to your own repository.
Cheers
/Oskar
View the
Hi!
Thanks a lot!
//Oskar
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108428#4108428
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108428
___
jboss-user mailing list
j
Hi again!
Is this as simple as just creating JAX-B objects having normal annotations and
then let one of the child objects take a DataHandler as argument?
One more question. Where do all the attachments go if I use the Provider<
SOAPMessage > implementation?
Regards
/Oskar
View the original p
Ok!
What I mean is when I have a DataHandler I can get an input stream to the reach
the attachment data. But what if I have the following xml. How do I get my xml
document:
|
|
|
|
| SOME TEXTUAL INFO 1
| SOME TEXTUAL INFO 2
|
Hi! Thanks for a quick reply!
Ok! It might be a good one to do so. When using a DataHandler list , where do I
get the rest of my xml document. If using document/literal I will post/receive
an xml document that may contain other textual information. In other words, my
xml may contain some "norma
Hi!
Has anyone made i possible to implement a web service that can receive or send
multiple attachments using MTOM. All examples just have one DataHandler but
this is not enough for what I want to do. I want to be able to use a dynamic
number of attachments.
XOP has support for several attachm
Hi!
http://repository.jboss.org/maven2/jboss/jbossws-spi/1.0.0.GA/jbossws-spi-1.0.0.GA.jar
//Oskar
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097904#4097904
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097904
Hi!
If you are creating "contract first" web services, there should be no problem
at all. If you are generating your contract you can get into trouble.
So stick to contract first and generate booth service implementation and client
usage from the contract to be on the "safe" side.
Regards
Oska
Hi!
Just take a look in the source code for the jbossws web application and you´re
up and running. It's really simple when you find the correct source.
Anyway, here is a code snippet ...
| // get SPI provider and endpoint registry
| SPIProvider spiProvider = SPIProviderResolver.getInstance(
Hi!
You have to set the encoding to UTF-8 (default is ISO-8859). I'm not sure if
there is any other way right now than setting the file.encoding parameter to
UTF-8. So add -Dfile.encoding=UTF-8 to your JAVA_OPTS when starting JBoss.
Good luck!
/Oskar
View the original post :
http://www.jbos
Hi!
The most correct way to do this is to write your own MBean/Service. AFAIK
threads are not allowed inside an EJB (some application servers will allow
threads in the EJB). So writing your own MBean that will take care of
multithreading might solve your problem.
Creating MBeans is about addin
Hello!
AFAIK the whole idea with JPA is to have one data source per ejb-jar-file (but
I might have misunderstood everything). If you need to persist data into
several schemas you have to create a "super/delegating" ejb that will lookup
the correct ejb to use for persistence.
So, you have to ma
Hello!
As I said before, this is probably due to the circular schema imports. JBoss
will try to load the first schema (CoreComponentTypes.xsd). While scanning this
schema JBoss will find the schema import for the 2:nd schema
(eBLBaseComponents.xsd). While scanning this 2:nd schema JBoss will fi
Hi!
The WSDL file imports two XML-schemas that create a circular reference. A good
point would be to ask them to change their design. The wsdl file at
https://www.sandbox.paypal.com/wsdl/PayPalSvc.wsdl imports two xml-schemas:
|
|
|
The CoreComponentTypes.xsd contains an import of eBL
Sorry, the links got messed up. Here they are again:
Java EE Tutorial: http://java.sun.com/javaee/5/docs/tutorial/doc/
Java EE JavaDoc:
http://java.sun.com/javaee/5/docs/api/javax/ejb/TransactionManagement.html
//Oskar
View the original post :
http://www.jboss.com/index.html?module=bb&op=view
Hello!
Do I understand You right if I say that Spring is starting its own
transactions. If so, then you must use BMT (Bean Managed Transaction) and not
CMT (Container Managed Transactions). CMT is used per default if you don't give
any transaction attribute at all. Check out the Java EE tutoria
Hmmm
I think I had this problem a long time ago. As I can remember it is the
Document type that gives you the problem. Try adding an element instead of a
document. I think the xml parser will complain about adding a document node to
an existing document which is not allowed. Try adding elem
Hi!
I'm not sure if you are doing this, but I have had som troubles with JBossWS
and nested schema imports. I tried to have relative urls between schemas using
.. syntax for traversal of parent directory. JBossWS failed when doing this and
told me to use something like getParent() instead of ..
Hello!
You can start JBoss with the file.encoding parameter
| -Dfile.encoding=UTF-8
|
Be careful when doing this because you will treat all files as UTF-8-encoded if
nothing else is given. OK, I haven't had any problems doing this on all our
servers, but it is worth an extra note.
Regar
Hello!
Take a look at the samples in the JBossWS distribution. I'm using contract
first based web services with jboss that are working fine. Are your xml schemas
valid? Do they point to a url that is inaccessible? Such things can cause JBoss
to hang until it gets a timeout.
Best
/Oskar
Vi
JBossWS 1.2.1.GA and above are made for JBoss 4.0.5.GA and above.
anonymous wrote : Currently, we have integration layers for the JBossAS-5.0,
JBossAS-4.2, JBossAS-4.0.5 and above.
See http://jbws.dyndns.org/mediawiki/index.php?title=Install_JBossWS for more
information about this.
Regards
/Os
It fixed the problem. I had bundled the jboss-annotations-3.0.jar file to my
ear file (didn't set the scope of the above jar to provided in my maven
project). So my mistake. Removing that jar file from the ear solved my problem.
Thanks for all help!
/Oskar
View the original post :
http://www
Hi!
Everything I know is that the javax.xml.soap... implementations are found in
the $JRE_HOME/lib/rt.jar ($JDK_HOME/jre/lib/rt.jar). If you want to override
these implementation then you must place the correct jar files in the endorsed
folder. You can read more about the Java Endorsed Override
Hi!
This is probably because you are running JBoss with Java SE 1.6. The SOAP
implementation is bundled in the std Java 1.6 distribution. That is probably
why you can't find the specified jar on your harddrive.
Cheers,
Oskar
View the original post :
http://www.jboss.com/index.html?module=b
I started a new thread for this last question. Please see
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089721#4089721
Best Regards
Oskar
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089732#4089732
Reply to the post :
http://www.jboss.com/in
Hello!
I asked this question in an earlier thread
(http://www.jboss.com/index.html?module=bb&op=viewtopic&t=119784), but it is
another topic so a new thread i better. So, the problem is when I deploy a
simple POJO annotated @Service inside an ear-file.
My implementation is as follows:
ServiceR
Thank you all for quick replies. I tried the service annotoation as describen
in the ejb tutorial. I think it must be the simplest way to go by simply adding
the @Service-annotation.
Doing is will make the deployment to fail in JBoss 4.2.1.GA also having JBossWS
2.0.1.GA installed. I get the fo
Hello!
Does any of you out there know how to invoke an ejb3 method just after deploy
of the ear file? (i.e. not the @PostConstruct, @PostActivate because these
methods are called once per ejb instance).
There is a way to use an mbean and do something in the start method. But for me
this is lik
Hello!
I'm not sure , but if I look at your code you instantiate the em by yourself.
Examples I've seen do not do that, they leave that part to JBoss, like the
following code. Are you sure you get the correct entity manager?
|
| @Stateless
| @TransactionManagement(TransactionManagementT
Hello!
There are several examples in the JBossWS-distribution. Just download the
normal distribution (src distribution is not required). The distribution zip
file contains another zip file with lots of examples about how to do what in
what situation.
Build the examples, deploy them into JBoss
... and I was expecting something like
| http://schemas.xmlsoap.org/soap/envelope/";>
|
|
|
| http://schemas.xmlsoap.org/soap/envelope/";>codeNS:Server
| javax.xml.ws.soap.SOAPFaultException
|
| http://my.service.com/common-ws/
The response I get from JBoss is:
| http://schemas.xmlsoap.org/soap/envelope/";>
|
|
|
| http://schemas.xmlsoap.org/soap/envelope/";>codeNS:Server
| javax.xml.ws.soap.SOAPFaultException
|
|
|
|
//Oskar
View the original post :
h
Hello!
I can't get the detail element of the SOAPFault. Is there a magic way to do
this. I have a Provider< SOAPMessage > implementation. When I do the following
...
| @Local
| @Stateless
| @WebServiceProvider(
| serviceName = "MyService",
| portName = "MyServi
I posted i Jira issue about this
[url]http://jira.jboss.org/jira/browse/JBWS-1798[url].
***
I deploy an ear file in JBoss5 that contains a war and a jar fil. The jar file
contains a SLSB and the war file contains the web service (implemented as a
Provide
Some more info...
The schemas I'm using are including other schemas too, that are also referenced
by a relative schema location. So it's is i kind of nested schema imports in
several schemas. All schemas are not directly located under WEB-INF/wsdl,
instead they are located under their resp. htt
Hi All!
I cannot not manage to create a deployment in Boss-5.0.0.Beta2
where I import schemas by relative paths. Using "../"-paths are not allowed
(getting an exception telling me that parent paths are not allowed). Parent
paths are allowed in JBossWS 1.2.1.GA on JBoss 4.0.5.GA.
What I'm actua
Hi All!
I haven't read everything in this thread but a good idea might be to take a
look in the Java EE tutorial. It has a whole chapter discussing transactions.
Whole tutorial: http://java.sun.com/javaee/5/docs/tutorial/doc/
Transactions:
http://java.sun.com/javaee/5/docs/tutorial/doc/Transact
Hi again!
Good news! Take a look at this post on another forum
http://forums.oracle.com/forums/thread.jspa?threadID=244914
//Oskar
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058577#4058577
Reply to the post :
http://www.jboss.com/index.html?module=bb&
Hello again!
If your datasource is correctly deployed, then I don't know. It might be a
TopLink issue. This is the way to deploy a EJB3 jar file and connect it to a
datasource.
When using EJB3 and JPA you are not using Hibernate directly. You are using
JPA, which JBoss in turn maps to Hibernat
Hi!
The datasource file has its own deployment, so this file shall be put directly
in the deploy folder. When doing this you'll see JBoss deploying the ds file.
After the deloyment (takes a second or two) you can find the deployed
datasource in the jmx-console (http://localhost:8080/jmx-console
Sorry, now thing got messed up here. We take the examples once again. Look at
the JNDI-names. These got messed in the previous post.
//Oskar
persistence.xml
| http://java.sun.com/xml/ns/persistence";
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
| xsi:schemaLocation="ht
Hi!
It seems like JBoss can't find your datasource. It also looks like you are
using toplink, are you? The example bellow is for the normal JBoss EJB3 (on top
of Hibernate). Anyway, the configuration shall still be the same (please
correct me if I'm wrong) except some of the properties in persi
Hi All!
I'm not sure if this works, but an idéa might be to implement a simple servlet
filter that you put in front of the servlet. The filter will then invoke the
http request, check the response code and change it if necessary.
A normal servlet has a filter chain, and I think you can configur
Hi all!
I've been struggling a lot with a problem I didn't expect do face at all. What
I try to do is to create a web application using Servlet 2.4, JSTL and Spring.
This is OK in Tomcat. But creating an ear file and place all dependent jar in
the ear instead of the war will make JBoss (read To
Hi!
I read another thread on this forum having the same problem. It sounds that the
SOAPAction http header is not set. Can you try to invoke the service by using
SoapUI http://www.soapui.org, or enable the RequestDumperValve in tomcat's
service.xml
($JBOSS_HOME/server/default/deploy/jbossweb-t
Hello!!
You shall use forward slashes instead of the backslash in the windows path,
i.e. change C:\test\HEBService_Full_.wsdl to C:/test/HEBService_Full_.wsdl
Kind Regards
Oskar
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047442#4047442
Reply to the pos
Hi!
I think this sounds terrible for you, but you probably have to start working in
the other direction. If you want to ensure your contract (the wsdl file) is
changed in the way you want, then you must start with taking control over it,
i.e. develop it by yourself. What I'm saying - take full
Hi!
Take a look in the jmx console/jndi view to see under what name you ejb is
bound. For me it looks like you forgot a slash right after the "java:".
With kind regards
Oskar
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044591#4044591
Reply to the post
Hi!
It looks like you have a space between the - and D character in
-Dfile.encoding...
//Oskar
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044366#4044366
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044366
_
Good work!
Sometimes it is hard for JBoss to find a good error message. When you specify
the column annotation, JBoss tries to save/serialize the object into that
column, no matter of what type it is. So in this case, JBoss finds the
UsuarioEJB and then i tries to save it into the column idUsua
Are you sure you want to use Double as you id type. Normally databases are
using integers for ids. Try to use Long ,or Integer if you can gurarantee that
you won't exceed the max int value, instead?
With kind regards
Oskar
View the original post :
http://www.jboss.com/index.html?module=bb&op=
Hello!!
I'm not sure if this is what you are asking for. Take a look at the following
post http://www.jboss.com/index.html?module=bb&op=viewtopic&t=83732. It might
handle what you are looking for, but in a persistent way instead of querying.
With kind regards
Oskar
View the original post :
h
Hi all!
Can anyone explain the difference between the two annotations @IdClass/@Id and
@Embeddable/@EmbeddableId. When shall I use @IdClass and when shall I use
@EmbeddedId?
Does anyone of you have a good answer to this? I would really appreciate your
help to make me understand what decision t
anonymous wrote : This is just sick disgusting rubbish! Who ever invented that
stuff - fire him!
|
No, sorry, this is not "sick disgusting rubbish". As a matter of fact, the join
order is of importance for many databases. One can think that a databse's
execution planner should fix this, but
Oooppss..
One more thing I forgot. If you don't provide the ejb-jar.xml file, JBoss will
deploy your ejbs as:
//Local or
//Remote.
In the example above you will get something like:
/my-service/MyBean/Local or /my-service/MyBean/
Sorry for using the word "service" here. I did'd som web services
Hello!
No, in general you don't need the ejb-jar.xml. You can include the ejb-jar.xml
file if you intend to override settings from given annotations. But in generel,
you don't need it.
What you need to do is:
Create a JAR-file with the ejb:s you want to deploy. This file must also
include a ME
Hello!!
This may be a stupid question. Looking into the source may answer this, but I
think it is better asking you for a better answer.
After looking at several WSDL files generated by JBossWS (also the samples in
the JBossWS distro) where document/literal is used but no soap action is
specif
Hello!!
You shall use the latest JBossWS documentation if you are using JBossWS. You
can find it here http://jbws.dyndns.org/mediawiki/index.php/Main_Page
Regards
Oskar
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040547#4040547
Reply to the post :
http:
Ok, I nunderstand. Some questions:
Do you have a constant flow of messages? Do you need synchronus responses? If
not, it might be possible for you to que these requests?
Is is a requirement to have the data published in the database right after you
have returned a response?
//Oskar
View the
Hi!
The @Id annotation will annotate the primary key of your class. The parent id
is not the primary key of your class, it is a foreign key, but an @Id in the
parent class. Remove @Id from the parentId.
If you want to use composite keys, take a look here
http://docs.jboss.org/ejb3/app-server/t
Hi All!
The intention of my last post was to explain why sequences, indexes etc. make
the solution less performant.
I still agree with Felix. Huge bulk operations shall be done by using the tools
provided by the database, in this case a stroed procedure.
//Oskar
View the original post :
htt
Ok!!
Having indexes will slow down an insert statement. Why? The database has to
write an extra entry into an index for each insert. Depending on indexed
column, this may also slow down update statements.
Using transacttions is even worse. The database must write into a transaction
log to be a
Hi again!
What I actually mean is that normally it is better to have a few really fast
computers instead of a single powerful machine. And I understand your
situation, you have this machine and you wan't to use it.
Do you know if there are other IO-intensive tasks running on that machine at
th
Check the manual chapter 2.2.2.4
http://docs.jboss.org/jbossas/jboss4guide/r5/html/ch2.chapter.html#d0e2648
Regards
Oskar
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039275#4039275
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&
Hi again!
Here is some information from a project I attended a couple of years ago. We
operated on a Sun Starfire (Sun Enterprise 1), totally 32 cpus and 32GB
RAM, our domain had 12 cpus and 12 GB RAM. A lot has hapend since then, but
still, such computers are not fast when it comes to simp
It is possible to configure hibernate to do bulk operation. Perhaps you've
already tried it? If not, take a look a
http://www.hibernate.org/hib_docs/v3/reference/en/html_single/#queryhql-bulk
//Oskar
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039139#403
...
one more thing. Whater decision you make here. Make sure you are using the
native Oracle driver.
//Oskar
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039023#4039023
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p
Hi!!
Using EJBs here is probably not the best way to go. Doing so will cause the
container to create a lot of insert statements - too many to get the
performance you want. If I'm wrong here, let me know.
I did something like this a couple of years ago with Oracle 8.1.6. If you don't
care about
I file this as a bug in JIRA http://jira.jboss.com/jira/browse/JBWS-1611. There
is no SOAPAction http header sent to the server doing the specified way.
//Oskar
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038332#4038332
Reply to the post :
http://www.jb
Does anyone know if this is a bug or related to something else. Or how do I get
around this problem? I found this thread on java.net forum
http://forums.java.net/jive/message.jspa?messageID=190079. Doesn't help much
but it seem to be a problem in jwsdp2.
Regards
Oskar
View the original post
It seems like using a StreamSource instead of the DOMSource will work to get
around this problem. But I can't understand why.
//Oskar
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037614#4037614
Reply to the post :
http://www.jboss.com/index.html?module=bb
Hello!
I've tried a to fix this for some hours know. Maybe I'm doing something
completely wrong here.
I have a web service client that that is using the dispatch technique. I will
use the dispatch because I'm using xmlbeans to bind my data. Here is a little
code snippet of what I'm trying to d
... one more thing ...
I'm running JBoss in isolated mode. All xmlbeans jar file are bundled in the
EAR file.
//Oskar
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037474#4037474
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&m
Hello!!
I'm getting a strange exception when invoking a simple client inside a
stateless session bean. Everything has to do with the
javax.xml.namespace.QName. I'm using xml beans which I had to modify because of
an extra include of the javax.xml.namespace.QName, i.e. I have removed the
javax.
Hi!!
Dtabase columns that are not part of the used implementation (not mapped by
properties in the class) are not exposed in the SQL statement to the database -
which is exactly what I want (the database shall set this value, not the sql
statement).
Regards
Oskar
View the original post :
h
Hi!!
No It is not exactly what I want. I solved everything by using inheritance and
the SINGE_TABLE inheritance method. Then I could skip my property I didn't want
to include.
But originally, I have a database specifying the default value. This value is
used by other applications too. So to ce
Hello!!
I'm not sure if I understand you right here. Take a look at writing you own
endpoint provider
http://jbws.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide#Endpoint_Provider.
It may help you.
Best
Oskar
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p
I have the same problem. Did you find any answer/solution for this?
Kind regards
Oskar
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036640#4036640
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036640
__
Hi!!
I'm not sure about this. But I think I've read that you cannot specify booth
name and referenceColumn when using the JoinColumn annotation.
Try to just use the name attribute.
//Oskar
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034042#4034042
Rep
Thank you for helping me!
I found the error I did. In my code where I assigned all objects I missed to
add the B item to the list of B:s in A. Doing this resolved my problem. The
following steps must be applied:
1. Create A
2. Create all B:s and add them to A
3. Create C by using A and the expe
1 - 100 of 122 matches
Mail list logo