You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by mk...@apache.org on 2006/06/05 15:09:01 UTC

svn commit: r411780 - /db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/repository_junit.xml

Author: mkalen
Date: Mon Jun  5 06:09:01 2006
New Revision: 411780

URL: http://svn.apache.org/viewvc?rev=411780&view=rev
Log:
Fix QuotedTest for PostgreSQL (unquoted keywords in DDL - references in SQL must be lowercase).
Tested with PG8, Hsqldb and Oracle9i.
See also http://www.postgresql.org/docs/8.0/static/tutorial-table.html

Modified:
    db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/repository_junit.xml

Modified: db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/repository_junit.xml
URL: http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/repository_junit.xml?rev=411780&r1=411779&r2=411780&view=diff
==============================================================================
--- db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/repository_junit.xml (original)
+++ db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/repository_junit.xml Mon Jun  5 06:09:01 2006
@@ -2928,18 +2928,18 @@
    <class-descriptor
    	  class="org.apache.ojb.broker.QuotedTest$QuotedArticle"
    	  proxy="dynamic"
-   	  table="'QUOTED_ARTICLE'"
+   	  table="'quoted_article'"
    >
       <field-descriptor
          name="articleId"
-         column="'ARTICLE_ID'"
+         column="'article_id'"
          jdbc-type="INTEGER"
          primarykey="true"
          autoincrement="true"
       />
       <field-descriptor
          name="articleName"
-         column="'ARTICLE_NAME'"
+         column="'article_name'"
          jdbc-type="VARCHAR"
       />
       <field-descriptor
@@ -2950,7 +2950,7 @@
       />
       <field-descriptor
          name="unit"
-         column="'UNIT'"
+         column="'unit'"
          jdbc-type="VARCHAR"
       />
       <field-descriptor



---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org