[
http://opensource.atlassian.com/projects/hibernate/browse/HSHARDS-2?page=...
]
Max Rydahl Andersen commented on HSHARDS-2:
-------------------------------------------
you guys do make sure to use something like ReflectHelper.classForName to support proper
classloading in j2ee environments....(just using Class.forName() won't cut it there).
(I guess i should go look in the code before commenting...;)
Use the overloaded version of Class.forName() to prevent loading of
unnecessary classes
---------------------------------------------------------------------------------------
Key: HSHARDS-2
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HSHARDS-2
Project: Hibernate Shards
Type: Improvement
Components: engine
Reporter: Diego Pires Plentz
Assignee: Max Ross
Use the
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html#forName(java...
overloaded version of Class.forName() which prevents loading of lots of classes.
org.hibernate.shards.integration.platform.hsql.HSQLDatabasePlatform.HSQLDatabasePlatform()
org.hibernate.shards.integration.platform.BaseDatabasePlatform.BaseDatabasePlatform()
org.hibernate.shards.integration.platform.DatabasePlatformFactory.FACTORY.getDatabasePlatform()
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira