Re: [Xdoclet-user] Error while creating table

2003-03-14 Thread Andrew Stevens
On Thu, 2003-03-13 at 01:14, Cleber Miranda Barboza wrote: > Ho do I specify which data base this entity will access ? > I told that becouse @ejb.persistence doesn't have the same tags as > @jboss.persistence. For example, @jboss.persistence has > > datasource="MySqlDS" > datasource-m

Re: [Xdoclet-user] Error while creating table

2003-03-12 Thread Cleber Miranda Barboza
Andrew Stevens writes: > On Wed, 2003-03-12 at 21:05, Cleber Miranda Barboza wrote: > > > > * @jboss:table-name > > ^ > > > > I've got this from Xdoclet site !! > > There is a example thare that uses it. So, I think that's rigth ! > > Unfortunately not. There's no menti

Re: [Xdoclet-user] Error while creating table

2003-03-12 Thread Cleber Miranda Barboza
Andrew Stevens writes: > On Wed, 2003-03-12 at 21:05, Cleber Miranda Barboza wrote: > > > > * @jboss:table-name > > ^ > > > > I've got this from Xdoclet site !! > > There is a example thare that uses it. So, I think that's rigth ! > > Unfortunately not. There's no menti

Re: [Xdoclet-user] Error while creating table

2003-03-12 Thread Andrew Stevens
On Wed, 2003-03-12 at 21:05, Cleber Miranda Barboza wrote: > > > * @jboss:table-name > ^ > > I've got this from Xdoclet site !! > There is a example thare that uses it. So, I think that's rigth ! Unfortunately not. There's no mention of it in the jboss xtags.xml; judgin

Re: [Xdoclet-user] Error while creating table

2003-03-12 Thread Cleber Miranda Barboza
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 s

Re: [Xdoclet-user] Error while creating table

2003-03-12 Thread Cleber Miranda Barboza
Aleksandr Shneyderman writes: > in the $JBOSS_INSTALLATION_DIRECTORY/server/[server_conf]/conf > directory find log4j.xml file and add the following appender > and category: > >class="org.jboss.logging.appender.DailyRollingFileAppender"> > > > > > > > > > >

RE: [Xdoclet-user] Error while creating table

2003-03-11 Thread Aslak Hellesøy
TECTED] > Subject: RE: [Xdoclet-user] Error while creating table > > > in the $JBOSS_INSTALLATION_DIRECTORY/server/[server_conf]/conf > directory find log4j.xml file and add the following appender > and category: > >class="o

RE: [Xdoclet-user] Error while creating table

2003-03-11 Thread Aleksandr Shneyderman
ct: Re: [Xdoclet-user] Error while creating table > > > > 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

Re: [Xdoclet-user] Error while creating table

2003-03-11 Thread Cleber Miranda Barboza
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

RE: [Xdoclet-user] Error while creating table

2003-03-11 Thread Aleksandr Shneyderman
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 leve

Re: [Xdoclet-user] Error while creating table

2003-03-11 Thread Cleber Miranda Barboza
database you use > 2. Show the tagging you use to create your descriptors that generate the SQL > 3. Show the complete SQL that is being generated (you can do it >by turning the jboss logging to the higer level; DEBUG will do) > > > > > -Original Message- >

RE: [Xdoclet-user] Error while creating table

2003-03-11 Thread Aleksandr Shneyderman
) > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Cleber > Miranda Barboza > Sent: Tuesday, March 11, 2003 12:32 PM > To: [EMAIL PROTECTED] > Subject: [Xdoclet-user] Error while creating table > > > > When I deploy my appl

[Xdoclet-user] Error while creating table

2003-03-11 Thread Cleber Miranda Barboza
When I deploy my application I get the follow messages: 14:13:25,459 WARN [ServiceController] Problem starting service jboss.j2ee:jndiName=ItemLocalHome,service=EJB org.jboss.deployment.DeploymentException: Error while creating table; - nested throwable: (java.sql.SQLException: Syntax error or