Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Gemini » p2 repository for h2 Driver?
p2 repository for h2 Driver? [message #1222373] Fri, 20 December 2013 09:09 Go to next message
Sebastian Lorenz is currently offline Sebastian LorenzFriend
Messages: 42
Registered: November 2010
Member
I added

<repository location="http://download.eclipse.org/gemini/updates/dbaccess/1.1.0"/>

to my target platform. If I add

<unit id="org.eclipse.gemini.dbaccess.h2.feature.feature.group" version="1.1.0.RELEASE"/>

then it complains that "Gemini DB Access H2 ... requires 'package org.h2 0.0.0' but it could not be found".

What do I have to configure in my target to get this fixed?
Re: p2 repository for h2 Driver? [message #1223488 is a reply to message #1222373] Mon, 23 December 2013 14:43 Go to previous message
Juergen Kissner is currently offline Juergen KissnerFriend
Messages: 25
Registered: March 2011
Junior Member
Hi Sebastian,

Gemini DBAccess does not include the JDBC drivers --- the only exception is Derby, for which the driver is included.

That means, you need to add the H2 JDBC driver to the target platform.

If you do not want to create a P2 update site out of the JDBC driver, deselect the option "Include required software" when adding Gemini DBAccess. This will result in the property includeMode="slicer" in your target definition file instead of includeMode="planner". Press "Set as Target Platform" again (which also leads to a refresh of the dependency resolution).

Hope that helps.

Best Regards,
Jürgen
Previous Topic:Gemini JPA runtime problem
Next Topic:Gemini Naming and URL Context Factory
Goto Forum:
  


Current Time: Fri Mar 29 01:33:35 GMT 2024

Powered by FUDForum. Page generated in 0.27532 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top