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
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Devaka Cooray
  • Ron McLeod
  • paul wheaton
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Frits Walraven
  • Scott Selikoff

Tags in jbosscmp-jdbc.xml

 
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Hi All

Please tell me the meaning of tags with in the default tag of following jbosscmp-jdbc.xml and with suitable example

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jbosscmp-jdbc PUBLIC "-//JBoss//DTD JBOSSCMP-JDBC 3.0//EN" "http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd">
<jbosscmp-jdbc>
<defaults>
<datasource>_________</datasource>
<datasource-mapping>________</datasource-mapping>
<create-table>______</create-table>
<remove-table>__________</remove-table>
<read-only>______________</read-only>
<time-out>_______________</time-out>
<pk-constraint>________________</pk-constraint>
<fk-constraint>_____________</fk-constraint>
<row-locking>____________</row-locking>
<preferred-relation-mapping>_______________</preferred-relation-mapping>
<list-cache-max>_________________</list-cache-max>
</defaults>
<enterprise-beans>
<entity>
<ejb-name>StudentBean</ejb-name>
<table-name />
<cmp-field>
<field-name>stuNo</field-name>
<column-name>StudentNo</column-name>
</cmp-field>
<cmp-field>
<field-name>stuName</field-name>
<column-name>StudentName</column-name>
</cmp-field>
</entity>
</enterprise-beans>
</jbosscmp-jdbc>


Thanking you
Saman
 
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
JBoss is not part of the SCBCD exam. Moreover, please do not crosspost the same question in several forums. Please continue this discussion in the JBoss forum at https://coderanch.com/t/89040/JBoss/Tags-jbosscmp-jdbc-xml

This thread is now closed. Thank you for your comprehension
 
Too many men are afraid of being fools - Henry Ford. Foolish tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
    Bookmark Topic Watch Topic
  • New Topic