Sacha,

thanks for the report, we have a dedicated list for JBossCMP (still named
JAWS mailing list). Please subscribe to this list there are people
specialized in this with rw passwd on jaws.  I will forward your mail.

marc


|-----Original Message-----
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of Sacha Labourey
|Sent: Tuesday, January 23, 2001 6:23 AM
|To: Jboss-Dev
|Subject: [jBoss-Dev] Small but annoying bug
|
|
|Hello,
|
|Sorry if this is not the good way to report bugs but I have not
|been able to
|go on Jboss website to read howto (to what I have seen, there seem to be a
|bugzilla application).
|
|I have found a bug in the
|\org\jboss\ejb\plugins\jaws\jdbc\JDBCInitCommand.java file. In the
|"JDBCInitCommand" method, we have:
|
|         sql += (first ? "" : ",") +
|                cmpField.getColumnName() + " " +
|                cmpField.getSQLType() +
|                // If the current field is the primary key field,
|                // add the constraint that this field is primary key.
|                // This is useful for some dbase editors like MS Access 97
|                // that require this information for better editing.
|
|(jawsEntity.getPrimKeyField().equals(cmpField.getColumnName())?
|                       " CONSTRAINT pk"+jawsEntity.getTableName()+" PRIMARY
|KEY":"");
|
|But, on the last line, a space is missing i.e. it should be :
|
|                  ...
|                       " CONSTRAINT pk
|"+jawsEntity.getTableName()+" PRIMARY
|KEY":"");
|                  <=>
|
|Consequently, the SQL command is incorrect " CONSTRAINT pkMyTable PRIMARY
|KEY".
|
|Why don't you meet this error? how should I correct this (I mean, in CVS,
|not by me ;) )
|
|Cheers,
|
|
|
|                               Sacha
|
|- - - - - - - - - - - - - - - - - - - - - -
|Sacha Labourey        Cogito Informatique
|Ing. Inf. Dipl. EPF   4, Verger l'Ecuyer
|Tél +41 32 754 36 41  CH - 2068 Hauterive
|    +41 78 701 08 08  Fax +41 32 754 36 42
|
|


Reply via email to