Author: danielc.roth
Date: 2009-04-15 17:52:12 -0400 (Wed, 15 Apr 2009)
New Revision: 10427
Modified:
trunk/src/main/org/jboss/seam/persistence/PersistenceProvider.java
Log:
JBSEAM-4109
Modified: trunk/src/main/org/jboss/seam/persistence/PersistenceProvider.java
===================================================================
--- trunk/src/main/org/jboss/seam/persistence/PersistenceProvider.java 2009-04-15 15:21:57
UTC (rev 10426)
+++ trunk/src/main/org/jboss/seam/persistence/PersistenceProvider.java 2009-04-15 21:52:12
UTC (rev 10427)
@@ -14,7 +14,6 @@
import org.jboss.seam.Component;
import org.jboss.seam.Entity;
import org.jboss.seam.ScopeType;
-import org.jboss.seam.annotations.FlushModeType;
import org.jboss.seam.annotations.Install;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
@@ -46,7 +45,7 @@
* <pre>select count(*) from Vehicle v</pre>
* <p>Per the JPA 1.0 spec, using a wildcard as a subject of a count query is
not permitted. Instead,
* the subject must be the entity or the alias, as in this count query:</p>
- * <pre>select count(v) from Vehciel v</pre>
+ * <pre>select count(v) from Vehicle v</pre>
* <p>Hibernate supports the wildcard syntax as an vendor extension.
Furthermore, Hibernate produces
* an invalid SQL query when using the compliant subject if the entity has a
composite primary key.
* Therefore, we prefer to use the wildcard syntax if it is supported.</p>