• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Lomboz and Jboss relations

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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...
 
Ranch Hand
Posts: 172
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic