Non-optional Hibernate dependencies in querydsl.jpa MANIFEST.MF #147

Closed
alexeyr opened this Issue May 14, 2012 · 1 comment

Projects

None yet

2 participants

@alexeyr
alexeyr commented May 14, 2012

MANIFEST.MF in com.mysema.querydsl.jpa imports Hibernate packages:

Import-Package: com.mysema.commons.lang;version="0.2.2",com.mysema.que
ry;version="2.5.0",com.mysema.query.dml;version="2.5.0",com.mysema.qu
ery.sql;version="2.5.0",com.mysema.query.support;version="2.5.0",com.
mysema.query.types;version="2.5.0",com.mysema.query.types.expr;versio
n="2.5.0",com.mysema.query.types.path;version="2.5.0",com.mysema.quer
y.types.query;version="2.5.0",com.mysema.query.types.template;version
="2.5.0",com.mysema.util;version="2.5.0",javax.annotation;version="0"
,javax.inject;version="0",javax.persistence;version="[2.0.0,2.1.0)",o
rg.hibernate;version="3.6.8.Final",org.hibernate.ejb;version="3.6.8.F
inal",org.hibernate.transform;version="3.6.8.Final",org.hibernate.typ
e;version="3.6.8.Final",org.slf4j;version="1.6.1"

So even if another JPA provider is used, Hibernate bundles need to be installed in the framework. This could be fixed by separating querydsl.jpa and querydsl.hibernate or by making these imports optional.

@timowest
Member

Released in 2.6.0

@timowest timowest closed this May 25, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment