How I enable debug ? []'s
Aleksandr Shneyderman writes: > It is all useless still :-) > > You provided the part that, would not affect > the fields declaration. Those are the tags above > your methods. > > Your log is not debug enabled, so you can't > really see what is the create SQL that is > being generated. As I suggested before switch > the log to the DEBUG level. This will show > you your SQL that creates the table. It will > not solve your problem but will give you > some hint(s) at where exactly the problem might > be. > > My guess is that there is probably something > messed in the Xdoclet tag around one of the > fields. Send the java file and I will take a > look at it > > > /** > > * Entity bean que representa Item > > * > > * @author Cleber Miranda Barboza > > * @version $Revision: 1.0 $ > > * > > * @ejb.bean > > * name="ItemTransfer" > > * display-name="Item Relacionado aos Contratos" > > * type="CMP" > > * local-jndi-name="ItemTransferLocalHome" > > * view-type="local" > > * primkey-field="id" > > * > > * @ejb.pk class="java.lang.String" > > * > > * @ejb.transaction type="Required" > > * > > * @ejb.finder > > * signature="java.util.Collection findAll()" > > * > > * @ejb.finder > > * signature="tci.interfaces.ItemTransferLocal > > * findByItem(java.lang.String codEmpresa, java.lang.String codItem)" > > * unchecked="true" > > * query="SELECT OBJECT(p) FROM ItemTransfer AS p WHERE > > p.codEmpresa=?1 AND p.codItem=?2" > > * view-type="local" > > * > > * @jboss.persistence > > * datasource="MySqlDS" > > * datasource-mapping="mySQL" > > * create-table="true" > > * > > * @jboss:table-name > > ^^^^^^^^^^ This probably does not get picked up becaues of the : > you need a . > > > > > ------------------------------------------------------- > This SF.net email is sponsored by:Crypto Challenge is now open! > Get cracking and register here for some mind boggling fun and > the chance of winning an Apple iPod: > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > _______________________________________________ > xdoclet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user -- Cleber Miranda Barboza. I'm a Computer Science student at University of S�o Paulo (USP). email: [EMAIL PROTECTED] home page: http://www.linux.ime.usp.br/~cleberc ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
