I found the problem, there were no doc about jaws.xml not being used anymore
in JBOSS 3.x, it changed to jbosscmp-jdbc. The problem now is, I used
xdoclet to generate the jaws, and i'm getting a lot of relationships errors
:
i use this jboss tags :
eg:
* @see Retorna pracas
* @ejb:interface-method
* @ejb:relation
* name="banco-pracas"
* role-name="BancoEJB"
*
*/
public abstract Collection getPracas();
Question : using jbosscdbc-cmp.xml (jboss 3.1Alpha), may I need to create
getOid explicit in my ejb and using jboss xdoclet especific tags???
13:45:29,281 ERROR [EntityContainer] Exception in service lifecyle
operation: create
org.jboss.deployment.DeploymentException: Atleast one role of a
foreign-key mapped relationship must have key fields:
ejb-relation-name=municipio-praca
at
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCRelationMetaData.<init>(JDBCRela
tionMetaData.java:316)
at
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplicationMetaData.<init>(JDBCA
pplicationMetaData.java:383)
at
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCXmlFileLoader.load(JDBCXmlFileLo
ader.java:75)
at
----- Original Message -----
From: "Emerson Cargnin - MSA" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 13, 2002 11:30 AM
Subject: [JBoss-user] Oracle DS not been used by jaws
> I setup a OracleDS for use with CMP but JBoss insists in using DefaultDS
as
> the data source for my CMP
> below goes the jaws reference to oracle.
> The strange thing is that even if I change the jaws datasource to blabla
it
> doesn't complain and uses DefaultDS (hsql).
>
> <jaws>
> <datasource>java:/OracleDS</datasource>
> <type-mapping>Oracle8</type-mapping>
> <debug>true</debug>
>
>
> _______________________________________________________________
>
> Have big pipes? SourceForge.net is looking for download mirrors. We supply
> the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user