You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Bryan Noll (JIRA)" <de...@geronimo.apache.org> on 2006/05/25 05:36:30 UTC

[jira] Commented: (GERONIMO-2062) jbosscmp-jdbc.xml missing table-name declarations

    [ http://issues.apache.org/jira/browse/GERONIMO-2062?page=comments#action_12413212 ] 

Bryan Noll commented on GERONIMO-2062:
--------------------------------------

Attaching patch.

The <table-name> elements have not only been added, but they have been lower-cased to sync with the table names in the daytrader.sql ddl.  This was necessary when using the "-Ddatabase=mysql" option, because mysql is case sensitive when it comes to table names.

In addition, the messages of exceptions that are thrown when a "findByPrimaryKey" call is made have been improved.  The exception message now includes the actual runtime primary key value being used as an argument.

> jbosscmp-jdbc.xml missing table-name declarations
> -------------------------------------------------
>
>          Key: GERONIMO-2062
>          URL: http://issues.apache.org/jira/browse/GERONIMO-2062
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: sample apps
>     Versions: 1.2
>  Environment: Windows XP
>     Reporter: Bryan Noll
>     Priority: Minor

>
> The jbosscmp-jdbc.xml file only defines one <table-name> element, QuoteEJB.  The rest of the table name elements for entity beans are not defined at all.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira