[hibernate-issues] [Hibernate-JIRA] Commented: (HBX-893) "Can't create session factory" if any @NamedQuery annotations on entities have errors in them

Max Rydahl Andersen (JIRA) noreply at atlassian.com
Fri Feb 20 11:20:38 EST 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/HBX-893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32469#action_32469 ] 

Max Rydahl Andersen commented on HBX-893:
-----------------------------------------

note we have added various error catching code that should make it less "intrusive"

> "Can't create session factory" if any @NamedQuery annotations on entities have errors in them
> ---------------------------------------------------------------------------------------------
>
>                 Key: HBX-893
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-893
>             Project: Hibernate Tools
>          Issue Type: Bug
>    Affects Versions: 3.2beta8
>            Reporter: Joseph Marques
>
> This seems to be a pretty big restriction - especially if you want to be able to cater to those that try to adopt Hibernate Tools part of the way through development, where some annotations may already have errors in them.
> Instead, it should be much more user-friendly to expand the session factory anyway, but just not load those entities - perhaps even marking them with a little red 'X' to indicate that the user needs to fix something in them.

-- 
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