Hi

I'm using jboss 4.0 with postgresql 7.2. 
I have cmp's with attribute-column-name mappings set through jbosscmp-jdbc.xml, 
e.g:


  | <jbosscmp-jdbc>
  |   .
  |   .
  |   <entity>
  |     <ejb-name>Operator</ejb-name>
  |     <datasource>java:/jdbc/AmisPooledDS</datasource>
  |     <datasource-mapping>PostgreSQL 7.2</datasource-mapping>
  |     .
  |     .
  |     <cmp-field>
  |       <field-name>name</field-name>
  |       <column-name>operatorname</column-name>
  |     </cmp-field>
  |     .
  |     .
  |   </entity>
  |   .
  |   .
  | </jbosscmp-jdbc>
  | 

The tables are created via psql-scripts, i.e. not during deployment.
Is there a way to verify the mapping during deployment: To have jboss check 
that the (tables and) columns do exist?

br. Christian Surlykke

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855269#3855269

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855269


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to