Any chance you are using cmp2 in enough places so that jbosscmp-jdbc.xml would be the place to specify this? I think the pm (jaws/cmp2) is specified somewhere in the container configuration.
david jencks On 2002.04.23 19:05:20 -0400 James Higginbotham wrote: > Can someone please tell me why the following entry in a jaws.xml file > inside my entity bean's jar continues to cause jboss to create the table > in mysql (named workflowstoragebean after the EJB) rather than using the > one specified in the jaws file (workflowejb)? When JBoss creates the > table, it creates a BLOB rather than LONGBLOB type for the column and > thus limits me to 65k bytes, which is not what I want. Thus, I have > defined the tablename for the CMP but jboss ignores it. > > <enterprise-beans> > <entity> > <ejb-name>WorkflowStorageBean</ejb-name> > <table-name>workflowejb</table-name> > <create-table>false</create-table> > <remove-table>false</remove-table> > <cmp-field> > <field-name>workflowId</field-name> > <column-name>workflowId</column-name> > <jdbc-type>VARCHAR</jdbc-type> > <sql-type>VARCHAR(64)</sql-type> > </cmp-field> > <cmp-field> > <field-name>data</field-name> > <column-name>data</column-name> > <jdbc-type>JAVA_OBJECT</jdbc-type> > <sql-type>BLOB</sql-type> > </cmp-field> > </entity> > </enterprise-beans> > > > Thanks, > James > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> > <HTML><HEAD><TITLE>Message</TITLE> > <META http-equiv=Content-Type content="text/html; charset=us-ascii"> > <META content="MSHTML 6.00.2715.400" name=GENERATOR></HEAD> > <BODY> > <DIV><SPAN class=794470023-23042002><FONT face=Arial size=2>Can someone > please > tell me why the following entry in a jaws.xml file inside my entity > bean's jar > continues to cause jboss to create the table in mysql (named > workflowstoragebean > after the EJB) rather than using the one specified in the jaws file > (workflowejb)? When JBoss creates the table, it creates a BLOB rather > than > LONGBLOB type for the column and thus limits me to 65k bytes, which is > not what > I want. Thus, I have defined the tablename for the CMP but jboss ignores > it. > </FONT></SPAN></DIV> > <DIV><SPAN class=794470023-23042002><FONT face=Arial > size=2></FONT></SPAN> </DIV> > <DIV><SPAN class=794470023-23042002><FONT face=Arial > >size=2> <enterprise-beans><BR> <entity><BR> <ejb-name>WorkflowStorageBean</ejb-name><BR> <table-name>workflowejb</table-name><BR> <create-table>false</create-table><BR> <remove-table>false</remove-table><BR> <cmp-field><BR> <field-name>workflowId</field-name><BR> <column-name>workflowId</column-name><BR> > > <jdbc-type>VARCHAR</jdbc-type><BR> > > ><sql-type>VARCHAR(64)</sql-type><BR> </cmp-field><BR> <cmp-field><BR> <field-name>data</field-name><BR> <column-name>data</column-name><BR> > > ><jdbc-type>JAVA_OBJECT</jdbc-type><BR> > > ><sql-type>BLOB</sql-type><BR> </cmp-field><BR> </entity><BR> </enterprise-beans><BR></FONT></SPAN></DIV> > <DIV><SPAN class=794470023-23042002><FONT face=Arial > size=2></FONT></SPAN> </DIV> > <DIV><SPAN class=794470023-23042002><FONT face=Arial > size=2>Thanks,</FONT></SPAN></DIV> > <DIV><SPAN class=794470023-23042002><FONT face=Arial > size=2>James</DIV></FONT></SPAN></BODY></HTML> > _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user