[jbosstools-issues] [JBoss JIRA] Issue Comment Edited: (JBIDE-9825) Support Query execution in multiple hibernate versions in one plugins installation

Dmitry Geraskov (JIRA) jira-events at lists.jboss.org
Tue Oct 4 03:08:27 EDT 2011


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

Dmitry Geraskov edited comment on JBIDE-9825 at 10/4/11 3:08 AM:
-----------------------------------------------------------------

I have created a separate branch for the task https://svn.jboss.org/repos/jbosstools/branches/dead/hibernatetools-multiversion2/
Main implementation details are:
1. Created package org.hibernate.eclipse#org.hibernate.console.ext where I put interfaces/classes which will be used in version-specific plugins
2. Created extension point in org.hibernate.eclipse.
3. Created 2 version-specific plugins (org.jboss.tools.hibernate3_5, org.jboss.tools.hibernate4_0)
4. Old hibernate libraries are moved to a separate plugin to plevent their loading in plugins which should support newer versions
5. The code which manages Configuration and SessionFactory lifecicle is copied to version-specific plugins
6. ConsoleConfiguration uses the extension point interface to drive the extension objects lifecicle
7. Console configuration now have a ui combobox with version selection. Default version is old 3.5.
8. ConsoleConfiguration now uses extension to execute HQL Query.

      was (Author: dgeraskov):
    I have created a separate branch for the task https://svn.jboss.org/repos/jbosstools/branches/dead/hibernatetools-multiversion2/
Main implementation details are:
1. Created package org.hibernate.eclipse#org.hibernate.console.ext wherer I put interfaces/classes which will be used in version-specific plugins
2. Created extension point in org.hibernate.eclipse.
3. Created 2 version-specific plugins (org.jboss.tools.hibernate3_5, org.jboss.tools.hibernate4_0)
4. Old hibernate libraries are moved to a separate plugin to plevent their loading in plugins which should support newer versions
5. The code which manages Configuration and SessionFactory lifecicle is copied to version-specific plugins
6. ConsoleConfiguration uses the extension point interface to drive the extension objects lifecicle
7. Console configuration now have a ui combobox with version selection. Default version is old 3.5.
8. ConsoleConfiguration now uses extension to execute HQL Query.
  
> Support Query execution in multiple hibernate versions in one plugins installation
> ----------------------------------------------------------------------------------
>
>                 Key: JBIDE-9825
>                 URL: https://issues.jboss.org/browse/JBIDE-9825
>             Project: Tools (JBoss Tools)
>          Issue Type: Task
>          Components: hibernate
>    Affects Versions: 3.3.0.M3
>            Reporter: Dmitry Geraskov
>            Assignee: Dmitry Geraskov
>              Labels: new_and_noteworthy
>             Fix For: 3.3.0.M4
>
>
> This is a first part of our Hibernate multiversion support.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list