Initxml contribution configuration

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: che/geronimo/SystemDatabase"> <cmp-connection-factory> <resource-link>SystemDatasource</resource-link> <!-- <name>SystemDatasource</name> --> </cmp-connection-factory> <enterprise-beans> <entity> <ejb-name>Product</ejb-name> <jndi-name>ProductRemote</jndi-name> <local-jndi-name>ProductLocal</local-jndi-name> <table-name>PRODUCTS</table-name> <cmp-field-mapping> <cmp-field-name>productID</cmp-field-name> <table-column>PRODUCTID</table-column> </cmp-field-mapping> <cmp-field-mapping> <cmp-field-name>name</cmp-field-name> <table-column>NAME</table-column> </cmp-field-mapping> <cmp-field-mapping> <cmp-field-name>basePrice</cmp-field-name> <table-column>BASEPRICE</table-column> </cmp-field-mapping> <cmp-field-mapping> <cmp-field-name>description</cmp-field-name> <table-column>DESCRIPTION</table-column> </cmp-field-mapping> </entity> </enterprise-beans> </openejb-jar> While i was debugging I saw a method public IdentityTransform getPrimaryKeyTransform(Entity entity) in the class IdentityDefinerBuilder. Here based on size of pkFields the SimplePKTransform or CompoundPKTransform class is selected. In the case of a custom class with 1 field also the SimplePKTransform is selected. Is this how it should behave? Could you give a general idea of how the primary key values are taken from the Custom classes in OpenEJB? Thanks Manu ImageReader problem with grayScaleFilter SiteMap: <map:reader logger="sitemap.reader.image" name="jpg-reader" src="org.apache.cocoon.reading.ImageReader"/> <map:match pattern="**/*.jpg"> <map:read type="jpg-reader" mime-type="image/jpg" src="image/{1}/{2}.jpg"> <map:parameter name="expires" va...
View Full Document

This document was uploaded on 10/12/2012.

Ask a homework question - tutors are online