Hi Hibernate Gurus,
I've been working on converting my project for a standard eclipse project into a maven project. Everything has been converting fine with the exception of some code that uses the Session.DoWork.
Using the
http://sourceforge.net/projects/hiberna ... 6.0.Final/ hibernate3.jar the project compiled fine, but I haven't been able to figure our which artifact has the DoWork class.
If I include the standard
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>3.6.0.Final</version>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-c3p0</artifactId>
<version>3.6.0.Final</version>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>3.6.0.Final</version>
I'll see
[ERROR] \maven work\solek-mvn\eagle\src\main\java\com\solekai\eagle\dao\ApgSession.java:[340,9] cannot find symbol
symbol : method doWork(com.solek.eagle.dao.ApgSession.JDBC_UPDATE_SQL_SESSION_worker)
location: interface org.hibernate.Session
[ERROR] \maven work\solek-mvn\eagle\src\main\java\com\solekai\eagle\dao\ApgSession.java:[460,9] cannot find symbol
symbol : method doWork(com.solek.eagle.dao.ApgSession.JDBC_Get_TileInfoExt_worker)
location: interface org.hibernate.Session
but in troubleshooting if I copy over the original hibernate3.jar into maven and re-compile it works fine. What am I missing?
cp old-WEB-INF-lib/hibernate3.jar /cygdrive/c/Users/kbollman/.m2/repository/org/hibernate/hibernate/3.2.5.ga/hibernate-3.2.5.ga.jar
mvn -npu -nsu -o clean
mvn -npu -nsu -o compile
[INFO] BUILD SUCCESS
Thanks,
Kevin