[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2658) The ability to have new entities created at runtime.
Max Rydahl Andersen (JIRA)
noreply at atlassian.com
Thu Jun 7 10:46:04 EDT 2007
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_27167 ]
Max Rydahl Andersen commented on HHH-2658:
------------------------------------------
..but then they are not temporary ;)
Anyway, not something that is easily done or even possible in Hibernate 3 - your suggestion has waay to many issues, e.g. having to synchronize alot to ensure the modification/addition goes well and how about when you remove it again ?
> 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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list