[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-4010) Sessionfactory creation failes in Console Configuration with Core type.

Dmitry Geraskov (JIRA) jira-events at lists.jboss.org
Fri Apr 17 04:12:38 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBIDE-4010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12462819#action_12462819 ] 

Dmitry Geraskov commented on JBIDE-4010:
----------------------------------------

This is because of not ideal hbm exporter. We are working under this problem and such examples helps us very much.
But I found even more interesting thing: 
I created 'output' folder in dvdstore-ejb project and genereated there hmb and cfg.xml files. 
When I add this folder as src folder dvdstore-ejb's session factory is not built! 
I create new cc dvdstore-ejb-core and it builds (but it's session factory is not built like you discribe in the bug).

> Sessionfactory creation failes in Console Configuration with Core type. 
> ------------------------------------------------------------------------
>
>                 Key: JBIDE-4010
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-4010
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Hibernate
>    Affects Versions: 3.0.0.GA
>            Reporter: Anton Klimkovich
>            Assignee: Dmitry Geraskov
>            Priority: Minor
>             Fix For: 3.1.0.M1
>
>         Attachments: exception.txt
>
>
> EXECUTE: Import Seam DVD Store Example project
> EXECUTE: Open Hibernate Configurations view
> EXECUTE: Expand Session Factory
> ASSERT:    Expanded successfully w/o any exceptions. Classes with @Table annotations should be represented.
> EXECUTE: Open Hibernate Code Generation Configurations and create New Configuration
> EXECUTE: Select \dvdstore-ejb\ejbModule as Output directory
> EXECUTE: Swith to Exporters and select Hibernate XML mappings and Hibernate XML Configuration
> EXECUTE: Press Apply and Run button
> EXECUTE: Open Hibernate Configurations view
> EXECUTE: Edit configuration: Type: Core; Configuration file: \dvdstore-ejb\ejbModule\hibernate.cfg.xml; Property file: empty path. Press Ok button
> EXECUTE: Rebuild configuration
> ASSERT:    Configuration should be rebuilded successfully.
> EXECUTE: Expand Session Factory
> FAULURE: Problems while creating sessionfactory:
> Log attached.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list