[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-1544) When a "Default Schema" is specified Seam generates a project with errors

Alexandros Karypidis (JIRA) jira-events at lists.jboss.org
Thu Dec 20 09:59:44 EST 2007


    [ http://jira.jboss.com/jira/browse/JBIDE-1544?page=comments#action_12393119 ] 
            
Alexandros Karypidis commented on JBIDE-1544:
---------------------------------------------

I re-downloaded jboss-seam-2.0.0.GA.zip and JBossTools-2.0.0.GA-ALL-linux-gtk.zip to make sure.

karypid at RA-106:~/Applications/Downloads/jboss$ md5sum jboss-seam-2.0.0.GA.zip new/jboss-seam-2.0.0.GA.zip 
7f5b4e11e0494a47ba9f4495715f3501  jboss-seam-2.0.0.GA.zip
7f5b4e11e0494a47ba9f4495715f3501  new/jboss-seam-2.0.0.GA.zip
karypid at RA-106:~/Applications/Downloads/jboss$ md5sum JBossTools-2.0.0.GA-ALL-linux-gtk.zip new/JBossTools-2.0.0.GA-ALL-linux-gtk.zip 
bbbf1fc0ebc44590412c072f560f290c  JBossTools-2.0.0.GA-ALL-linux-gtk.zip
bbbf1fc0ebc44590412c072f560f290c  new/JBossTools-2.0.0.GA-ALL-linux-gtk.zip

I still get this behaviour. Downloads are from sourceforge at:

http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=242269
http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=163777&release_id=551158


> When a "Default Schema" is specified Seam generates a project with errors
> -------------------------------------------------------------------------
>
>                 Key: JBIDE-1544
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-1544
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>    Affects Versions: 2.0.0.GA
>         Environment: 32-bit Ubuntu Linux 7.10, Eclipse 3.3.1.1 (M20071023-1652), WTP 2.0.1 (v200709110510), DTP 1.5.1, JBoss 4.2.2.GA, JBoss Seam 2.0.0.GA
>            Reporter: Alexandros Karypidis
>            Priority: Minor
>
> When creating a new "Seam Web Project", the wizard, you are prompted for the "Default Schema". If you type one instead of leaving it empty, an incorrect persistence.xml is generated (the schema name is added to the "properties" tag, outside a "property" tag). For instance, if you specify "ABC" as the schema, you would expect a persistence.xml as follows:
>       <jta-data-source>java:/gendexDatasource</jta-data-source>
>       <properties>
>          <property name="hibernate.dialect" value="org.hibernate.dialect.Oracle10gDialect"/>
>          ...
>          <property name="hibernate.default_schema" value="ABC"/>
>       </properties>
> Instead, you get:
>       <jta-data-source>java:/gendexDatasource</jta-data-source>
>       <properties>
>          <property name="hibernate.dialect" value="org.hibernate.dialect.Oracle10gDialect"/>
>          ...
>         ABC
>       </properties>
> Also, the hibernate-console.properties file does not include the schema name. One would expect it to look like this:
> #File used by hibernate tools to override <datasource> and other container specific settings in persistence.xml
> hibernate.connection.password=xxx
> hibernate.connection.username=yyy
> ...
> hibernate.default_schema=ABC
> Instead, the last line (hibernate.default_schema=ABC) is not created.

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

        



More information about the jbosstools-issues mailing list