[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2658?page=c...
]
Max Rydahl Andersen commented on HHH-2658:
------------------------------------------
what problem are you trying to solve that is not solved by using entity-name and/or native
sql mappings ? ..or simply create a new sessionfactory for this single entity ? (since i
can't have associations nor participate in 2nd level cache because it is by defintion
*temporary*)
The ability to have new entities created at runtime.
----------------------------------------------------
Key: HHH-2658
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2658
Project: Hibernate3
Issue Type: New Feature
Reporter: charbel
Sometimes we would like to create a temporary table of a given entity, so it would be
great if we can add at runtime a new entity in the session factory, a copy of a given one
with just the tablename changed.
Example:
--------------
sessionfactory.addEntity(already_created_entity_name,table_parameters)
--
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