• 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

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.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic