aspose file tools
The moose likes JBoss and the fly likes Lomboz and Jboss relations Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » JBoss
Reply Bookmark "Lomboz and Jboss relations" Watch "Lomboz and Jboss relations" New topic
Author

Lomboz and Jboss relations

Pawe� Morgan
Greenhorn

Joined: Mar 29, 2005
Posts: 14
My problem is that lomboz doesn't seems to generate any relations in jbosscmp-jdbc.xml

My Bean has required tags:
@ejb.relation
*name="Book-Person"
*role-name="Person-writes-books"
*target-multiple="yes"
*
* @jboss.relation-table
*table-name="person_book"
*create-table="true"
*remove-table="false"
*
* @jboss.relation-mapping
*style="relation-table"
*
* @jboss.relation
*related-pk-field="book_id"
*fk-column="person_id"
*fk-constraint="false"

And jbosscmp-jdbc.xml generated doesn't have any <relationship> tag.
What do I have to do, to make lomboz working???

Does Lomboz at all generate relationship tags for container???

Please help...
Yuan Ye
Ranch Hand

Joined: Mar 05, 2003
Posts: 172
Yes, Lomboz can generate tags for CMR. Your tags look fine, just put them as method level tags before the get method of the CMR field. Also you need to specify your jboss version as 3.2 in xdoclet.xml. Otherwise these tags are not supported by jboss xsd version 3.0.
 
 
subject: Lomboz and Jboss relations
 
Threads others viewed
Weired problem in JBoss
pb with generating foreing keys
1-M relationship & join queries?
Jboss:Hypersonic:Manual table creation:CreateException
cascade-delete doesn't work
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com