[EJB 3.0] - @OneToOne (EntityA 1:0..1 EntityB)
by jbossuser_4418
Hello,
Having tried various experiments and 'googled' all over the place, I'm unable to create two entities that create a one for one join which when reversed engineered into an ERD tool (eg. MySQL Workbench) shows up with the correct notation (i.e. a one to one join).
The scenario...
EntityA has a compound primary key (two fields) and various other non-key fields. EntityA can be associated with zero or one EntityB objects (but no more).
EntityB has one non-key field. For each EntityB there must be one and only one EntityA.
I don't want EntityB to have its own primary key.
How can I annotate both EntityA and EntityB to ensure the above cardinality and correct reverse engineering in a data modeling tool?
Thanks,
Matthew
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985175#3985175
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985175
19Â years, 7Â months
[JBossWS] - Mixed SOAP parameter styles not supported - migrating from 4
by bgrieder
Hello,
I am getting the following error when deploying webservices (that deploy in 4.0.2) to 4.0.5
anonymous wrote :
| org.jboss.ws.WSException: Mixed SOAP parameter styles not supported
| org.jboss.ws.metadata.EndpointMetaData.setParameterStyle(EndpointMetaData.java:224)
| org.jboss.ws.deployment.JSR109MetaDataBuilder.buildParameterMetaDataDoc(JSR109MetaDataBuilder.java:500)
| org.jboss.ws.deployment.JSR109MetaDataBuilder.setupOperationsFromWSDL(JSR109MetaDataBuilder.java:200)
| org.jboss.ws.deployment.JSR109ServerMetaDataBuilder.buildMetaData(JSR109ServerMetaDataBuilder.java:223)
| org.jboss.ws.deployment.ServiceEndpointDeployer.create(ServiceEndpointDeployer.java:85)
| org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInterceptor.java:80)
| org.jboss.ws.integration.jboss.DeployerInterceptorEJB.create(DeployerInterceptorEJB.java:44)
|
The webservices are of the document/literal type. The error seems to be linked to the wsdl file but I cannot see any significant difference with various exmpales I have found.
Could you please point me to what could be the possible cause of such an error?
Thanks and Regards
Bruno
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985170#3985170
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985170
19Â years, 7Â months