/* */ private JDBCEntityMetaData loadJDBCEntityMetaData()
/* */ throws DeploymentException
/* */ {
/* 721 */ ApplicationMetaData amd = this.container.getBeanMetaData().getApplicationMetaData();
/* */
/* 724 */ JDBCApplicationMetaData jamd = (JDBCApplicationMetaData)amd.getPluginData("CMP-JDBC");
/* */
/* 726 */ if (jamd == null)
/* */ {
/* 730 */ JDBCXmlFileLoader jfl = new JDBCXmlFileLoader(this.container, this.log);
/* */
/* 732 */ jamd = jfl.load();
/* 733 */ amd.addPluginData("CMP-JDBC", jamd);
/* */ }
/* */
/* 737 */ String ejbName = this.container.getBeanMetaData().getEjbName();
/* 738 */ JDBCEntityMetaData metadata = jamd.getBeanByEjbName(ejbName);
/* 739 */ if (metadata == null)
/* */ {
/* 741 */ throw new DeploymentException("No metadata found for bean " + ejbName);
/* */ }
/* 743 */ return metadata;