[
http://jira.jboss.com/jira/browse/JBIDE-1337?page=comments#action_12388302 ]
Marcus Adair commented on JBIDE-1337:
-------------------------------------
1. I can say definitively that every time I generated project I selected Seam 2.0 from the
drop down during the creation wizard
2. At some point, I can't remember when, but likely during the first pass at this, I
had to setup a Seam runtime, and I configured 2.0 with a fresh out of the archive Seam 2.0
GA release directory
Looking at the project now, my "Seam 2.0" runtime is selected on the Seam
Settings page of the project's properties. Checking the location that the runtime
points to shows the correct 2.0 directory.
I will certainly not rule out operator error, however, when doing the creation wizard
again now, everything seems to be in order and pointed at my 2.0 runtime.
Extraneous value showing up in generated persistence.xml making it
invalid
--------------------------------------------------------------------------
Key: JBIDE-1337
URL:
http://jira.jboss.com/jira/browse/JBIDE-1337
Project: JBoss Tools
Issue Type: Bug
Components: Seam
Affects Versions: 2.0.0.CR1
Environment: Red Hat Developer Studio, Windows XP, Seam 2.0
Reporter: Marcus Adair
Priority: Minor
When I generate new Seam EAR projects with the CR1 release, the persistence.xml has an
error in it. I've tried to find an error in my eclipse database configuration, but
can't seem to see a fault.
Here is what I get, the final property setting has a trailing "dbname" value
which is my database name:
<?xml version="1.0" encoding="UTF-8"?>
<!-- Persistence deployment descriptor for dev profile -->
<persistence
xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
version="1.0">
<persistence-unit name="testproj">
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<jta-data-source>java:/testprojDatasource</jta-data-source>
<properties>
<property name="hibernate.dialect"
value="org.hibernate.dialect.MySQL5InnoDBDialect"/>
<property name="hibernate.hbm2ddl.auto"
value="update"/>
<property name="hibernate.show_sql" value="true"/>
<property name="hibernate.format_sql" value="true"/>
<property name="jboss.entity.manager.factory.jndi.name"
value="java:/testprojEntityManagerFactory"/>dbname
</properties>
</persistence-unit>
</persistence>
--
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