We could use some direction from Seam on this as well. Could someone from Seam specify why this hack is necessary or at least point us at the source for this code?
We have found problems with the GlassFishDerbyDialect.class that are not in hibernate's built in derby dialect (org.hibernate.dialect.DerbyDialect). We read the same recommendation in Chapter 39 which lead us to using GlassFishDerbyDialect.class but immediately experience problems. For example a nested select statement could not refer to a join that was outside of the nested statement. We also had a problem when we used named parameters.
Any information is appreciated.