Bookmark Topic Watch Topic
  • New Topic

Tags in jbosscmp-jdbc.xml

 
Saman Perera
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • 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
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • 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 http://www.coderanch.com/t/89040/JBoss/Tags-jbosscmp-jdbc-xml

This thread is now closed. Thank you for your comprehension
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!