You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Ioannis Canellos (JIRA)" <ji...@apache.org> on 2010/12/23 16:17:00 UTC

[jira] Created: (SMX4-715) Create OSGi bundle for hibernate 3.6.0.Final

Create OSGi bundle for hibernate 3.6.0.Final
--------------------------------------------

                 Key: SMX4-715
                 URL: https://issues.apache.org/jira/browse/SMX4-715
             Project: ServiceMix 4
          Issue Type: Improvement
          Components: Bundles
            Reporter: Ioannis Canellos




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SMX4-715) Create OSGi bundle for hibernate 3.6.0.Final

Posted by "Edstrom Johan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SMX4-715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12974687#action_12974687 ] 

Edstrom Johan commented on SMX4-715:
------------------------------------

Hibernate is LGPL licensed.

Sent request to dev list.

> Create OSGi bundle for hibernate 3.6.0.Final
> --------------------------------------------
>
>                 Key: SMX4-715
>                 URL: https://issues.apache.org/jira/browse/SMX4-715
>             Project: ServiceMix 4
>          Issue Type: Improvement
>          Components: Bundles
>            Reporter: Ioannis Canellos
>            Assignee: Jean-Baptiste Onofré
>         Attachments: SMX4-715-patch.txt
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] [Commented] (SMX4-715) Create OSGi bundle for hibernate 3.6.0.Final

Posted by "Josh Mahonin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SMX4-715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13068427#comment-13068427 ] 

Josh Mahonin commented on SMX4-715:
-----------------------------------

I'm running into the same problem Jason is.

Contents of com.googlecode.servicemix.extra.bundles.hibernate-3.6.0.Final_1-SNAPSHOT.jar:
----
META-INF/
META-INF/MANIFEST.MF
META-INF/DEPENDENCIES
META-INF/LICENSE
META-INF/NOTICE
META-INF/maven/
META-INF/maven/com.googlecode.servicemix.extra.bundles/
META-INF/maven/com.googlecode.servicemix.extra.bundles/com.googlecode.servicemix.extra.bundles.hibernate/
META-INF/maven/com.googlecode.servicemix.extra.bundles/com.googlecode.servicemix.extra.bundles.hibernate/pom.properties
META-INF/maven/com.googlecode.servicemix.extra.bundles/com.googlecode.servicemix.extra.bundles.hibernate/pom.xml
OSGI-INF/
OSGI-INF/blueprint/
OSGI-INF/blueprint/blueprint.xml
----



Headers:
----
Apache ServiceMix Extra :: Bundles :: hibernate (381)
-----------------------------------------------------
Manifest-Version = 1.0
Bnd-LastModified = 1311173583441
Tool = Bnd-0.0.357
Built-By = josh
Build-Jdk = 1.6.0_22
Created-By = Apache Maven Bundle Plugin

Bundle-Vendor = The Apache Software Foundation
Bundle-Name = Apache ServiceMix Extra :: Bundles :: hibernate
Bundle-DocURL = http://www.apache.org/
Bundle-Description = This bundle simply wraps hibernate-3.6.0.Final.jar.
Bundle-SymbolicName = com.googlecode.servicemix.extra.bundles.hibernate
Bundle-Version = 3.6.0.Final_1-SNAPSHOT
Bundle-License = http://www.apache.org/licenses/LICENSE-2.0.txt
Bundle-ManifestVersion = 2

Export-Service = 
	javax.persistence.spi.PersistenceProvider;javax.persistence.provider=org.hibernate.ejb.HibernatePersistence

Import-Package = 
	javax.persistence.spi;version="[2,2.1)",
	org.hibernate.ejb,
	org.osgi.service.blueprint;version="[1.0.0,2.0.0)"
----

> Create OSGi bundle for hibernate 3.6.0.Final
> --------------------------------------------
>
>                 Key: SMX4-715
>                 URL: https://issues.apache.org/jira/browse/SMX4-715
>             Project: ServiceMix 4
>          Issue Type: Improvement
>          Components: Bundles
>            Reporter: Ioannis Canellos
>            Assignee: Ioannis Canellos
>         Attachments: SMX4-715-patch.txt
>
>


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

        

[jira] Updated: (SMX4-715) Create OSGi bundle for hibernate 3.6.0.Final

Posted by "Ioannis Canellos (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SMX4-715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ioannis Canellos updated SMX4-715:
----------------------------------

    Patch Info: [Patch Available]

> Create OSGi bundle for hibernate 3.6.0.Final
> --------------------------------------------
>
>                 Key: SMX4-715
>                 URL: https://issues.apache.org/jira/browse/SMX4-715
>             Project: ServiceMix 4
>          Issue Type: Improvement
>          Components: Bundles
>            Reporter: Ioannis Canellos
>            Assignee: Jean-Baptiste Onofré
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] [Commented] (SMX4-715) Create OSGi bundle for hibernate 3.6.0.Final

Posted by "Ioannis Canellos (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SMX4-715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13068439#comment-13068439 ] 

Ioannis Canellos commented on SMX4-715:
---------------------------------------

Ok, I will have a look at it the next couple of days and see what's wrong.

> Create OSGi bundle for hibernate 3.6.0.Final
> --------------------------------------------
>
>                 Key: SMX4-715
>                 URL: https://issues.apache.org/jira/browse/SMX4-715
>             Project: ServiceMix 4
>          Issue Type: Improvement
>          Components: Bundles
>            Reporter: Ioannis Canellos
>            Assignee: Ioannis Canellos
>         Attachments: SMX4-715-patch.txt
>
>


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

        

[jira] Commented: (SMX4-715) Create OSGi bundle for hibernate 3.6.0.Final

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SMX4-715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12974855#action_12974855 ] 

Jean-Baptiste Onofré commented on SMX4-715:
-------------------------------------------

We do in that case I think.
For the location, we have
    http://code.google.com/a/apache-extras.org/hosting/
see the following announcement
    http://googlecode.blogspot.com/2010/12/announcing-apache-extrasorg.html


> Create OSGi bundle for hibernate 3.6.0.Final
> --------------------------------------------
>
>                 Key: SMX4-715
>                 URL: https://issues.apache.org/jira/browse/SMX4-715
>             Project: ServiceMix 4
>          Issue Type: Improvement
>          Components: Bundles
>            Reporter: Ioannis Canellos
>            Assignee: Jean-Baptiste Onofré
>         Attachments: SMX4-715-patch.txt
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] [Assigned] (SMX4-715) Create OSGi bundle for hibernate 3.6.0.Final

Posted by "Ioannis Canellos (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SMX4-715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ioannis Canellos reassigned SMX4-715:
-------------------------------------

    Assignee: Ioannis Canellos  (was: Jean-Baptiste Onofré)

> Create OSGi bundle for hibernate 3.6.0.Final
> --------------------------------------------
>
>                 Key: SMX4-715
>                 URL: https://issues.apache.org/jira/browse/SMX4-715
>             Project: ServiceMix 4
>          Issue Type: Improvement
>          Components: Bundles
>            Reporter: Ioannis Canellos
>            Assignee: Ioannis Canellos
>         Attachments: SMX4-715-patch.txt
>
>


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

[jira] Updated: (SMX4-715) Create OSGi bundle for hibernate 3.6.0.Final

Posted by "Ioannis Canellos (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SMX4-715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ioannis Canellos updated SMX4-715:
----------------------------------

    Attachment: SMX4-715-patch.txt

I am attaching a patch which adds an OSGi budle for hibernate.

The bundle also contains a blueprint descriptor which creates a javax.persistence.spi.PersistenceProvider service, which is a requirement for use with aries jpa or other osgi ee implementations. 

> Create OSGi bundle for hibernate 3.6.0.Final
> --------------------------------------------
>
>                 Key: SMX4-715
>                 URL: https://issues.apache.org/jira/browse/SMX4-715
>             Project: ServiceMix 4
>          Issue Type: Improvement
>          Components: Bundles
>            Reporter: Ioannis Canellos
>            Assignee: Jean-Baptiste Onofré
>         Attachments: SMX4-715-patch.txt
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] [Commented] (SMX4-715) Create OSGi bundle for hibernate 3.6.0.Final

Posted by "Łukasz Dywicki (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SMX4-715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13071356#comment-13071356 ] 

Łukasz Dywicki commented on SMX4-715:
-------------------------------------

Hey guys,
I tried to use this bundle without luck. It depends on aries which is fine for most cases (eg. Karaf/ServiceMix deployment) but without aries plain Equinox or Felix users (still there is number of them) are not able to run it. Because blueprint file is pretty small we could migrate it to Java code embedded in BundleActivator. Dependency to org.hibernate.ejb is not clear for me - if this bundle is autonomic or requires some additional bundles?

> Create OSGi bundle for hibernate 3.6.0.Final
> --------------------------------------------
>
>                 Key: SMX4-715
>                 URL: https://issues.apache.org/jira/browse/SMX4-715
>             Project: ServiceMix 4
>          Issue Type: Improvement
>          Components: Bundles
>            Reporter: Ioannis Canellos
>            Assignee: Ioannis Canellos
>         Attachments: SMX4-715-patch.txt
>
>


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

       

[jira] [Resolved] (SMX4-715) Create OSGi bundle for hibernate 3.6.0.Final

Posted by "Ioannis Canellos (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SMX4-715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ioannis Canellos resolved SMX4-715.
-----------------------------------

    Resolution: Fixed

The Apache ServiceMix Extra project has been created. The bundle has been added there. 

It can be used using the following maven dep:
<dependency>
<groupId>com.googlecode.servicemix.extra.bundles</groupId>  <artifactId>com.googlecode.servicemix.extra.bundles.hibernate</artifactId>
<version>3.6.0.Final_1-SNAPSHOT</version>
</dependency>


> Create OSGi bundle for hibernate 3.6.0.Final
> --------------------------------------------
>
>                 Key: SMX4-715
>                 URL: https://issues.apache.org/jira/browse/SMX4-715
>             Project: ServiceMix 4
>          Issue Type: Improvement
>          Components: Bundles
>            Reporter: Ioannis Canellos
>            Assignee: Ioannis Canellos
>         Attachments: SMX4-715-patch.txt
>
>


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

[jira] [Commented] (SMX4-715) Create OSGi bundle for hibernate 3.6.0.Final

Posted by "Gert Vanthienen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SMX4-715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13016353#comment-13016353 ] 

Gert Vanthienen commented on SMX4-715:
--------------------------------------

We should probably make sure we can build a SNAPSHOT and deploy it in http://svn.codespot.com/a/apache-extras.org/servicemix-extra/maven2/snapshots/ so people don't have to build things themselves.

> Create OSGi bundle for hibernate 3.6.0.Final
> --------------------------------------------
>
>                 Key: SMX4-715
>                 URL: https://issues.apache.org/jira/browse/SMX4-715
>             Project: ServiceMix 4
>          Issue Type: Improvement
>          Components: Bundles
>            Reporter: Ioannis Canellos
>            Assignee: Ioannis Canellos
>         Attachments: SMX4-715-patch.txt
>
>


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

[jira] Commented: (SMX4-715) Create OSGi bundle for hibernate 3.6.0.Final

Posted by "Ioannis Canellos (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SMX4-715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12974638#action_12974638 ] 

Ioannis Canellos commented on SMX4-715:
---------------------------------------

I have created this bundle. I will perform some final tests and attach a patch.

> Create OSGi bundle for hibernate 3.6.0.Final
> --------------------------------------------
>
>                 Key: SMX4-715
>                 URL: https://issues.apache.org/jira/browse/SMX4-715
>             Project: ServiceMix 4
>          Issue Type: Improvement
>          Components: Bundles
>            Reporter: Ioannis Canellos
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] [Commented] (SMX4-715) Create OSGi bundle for hibernate 3.6.0.Final

Posted by "Jason Chaffee (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SMX4-715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13056904#comment-13056904 ] 

Jason Chaffee commented on SMX4-715:
------------------------------------

Has anyone gotten this bundle to work? I built it an tried it but it seems to need org.hibernate.ejb as well and I am not sure if that should be in a different bundle or this one?  Or perhaps, it should be optional?

Imported Packages	
javax.persistence.spi,version=[2,2.1) from org.apache.geronimo.specs.geronimo-jpa_2.0_spec (250)
org.hibernate.ejb -- Cannot be resolved
org.osgi.service.blueprint,version=[1.0.0,2.0.0) from org.apache.aries.blueprint (10)

> Create OSGi bundle for hibernate 3.6.0.Final
> --------------------------------------------
>
>                 Key: SMX4-715
>                 URL: https://issues.apache.org/jira/browse/SMX4-715
>             Project: ServiceMix 4
>          Issue Type: Improvement
>          Components: Bundles
>            Reporter: Ioannis Canellos
>            Assignee: Ioannis Canellos
>         Attachments: SMX4-715-patch.txt
>
>


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

        

[jira] [Commented] (SMX4-715) Create OSGi bundle for hibernate 3.6.0.Final

Posted by "Ioannis Canellos (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SMX4-715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13057120#comment-13057120 ] 

Ioannis Canellos commented on SMX4-715:
---------------------------------------

I've used this bundle in the past and it worked fine for me. If your use case requires org.hibernate.ejb then we might need to add it in the exports as optional.

> Create OSGi bundle for hibernate 3.6.0.Final
> --------------------------------------------
>
>                 Key: SMX4-715
>                 URL: https://issues.apache.org/jira/browse/SMX4-715
>             Project: ServiceMix 4
>          Issue Type: Improvement
>          Components: Bundles
>            Reporter: Ioannis Canellos
>            Assignee: Ioannis Canellos
>         Attachments: SMX4-715-patch.txt
>
>


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

        

[jira] Assigned: (SMX4-715) Create OSGi bundle for hibernate 3.6.0.Final

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SMX4-715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré reassigned SMX4-715:
-----------------------------------------

    Assignee: Jean-Baptiste Onofré

> Create OSGi bundle for hibernate 3.6.0.Final
> --------------------------------------------
>
>                 Key: SMX4-715
>                 URL: https://issues.apache.org/jira/browse/SMX4-715
>             Project: ServiceMix 4
>          Issue Type: Improvement
>          Components: Bundles
>            Reporter: Ioannis Canellos
>            Assignee: Jean-Baptiste Onofré
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.