]
Max Rydahl Andersen reassigned JBIDE-1544:
------------------------------------------
Assignee: Denis Golovin (was: Max Rydahl Andersen)
I see this in svn at
rhds/releng/org.jboss.ide.eclipse.releng/requirements/eapseamgen/rhds-seam-gen-patch.zip
<property name="jboss.entity.manager.factory.jndi.name"
value="java:/@projectName@EntityManagerFactory"/>@catalogProperty@@schemaProperty@
Which part of that is wrong ?
And I see the same contents in the nightly build of JBDS 2 days ago.
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
Assigned To: Denis Golovin
Priority: Minor
Fix For: 2.1
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: