Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Running Teneo library example MySQL/Eclipselink problem.
Running Teneo library example MySQL/Eclipselink problem. [message #537681] Thu, 03 June 2010 11:29 Go to next message
e1n is currently offline e1nFriend
Messages: 22
Registered: April 2010
Location: Poland
Junior Member

Hi,

I have checkout the org.eclipse.emf.teneo.eclipselink.examples.library
and org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests .

For standard configuration on derby database everything works just fine, and all tests pass.

But when i want to use mysql database with persistence.xml looking like:



<?xml version="1.0" encoding="UTF-8"?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
    <persistence-unit name="library" transaction-type="RESOURCE_LOCAL">
        <properties>        
            <property name="eclipselink.session-name" value="library" />

            <property name="eclipselink.logging.level" value="FINEST" />
            <property name="eclipselink.logging.timestamp" value="false" />
            <property name="eclipselink.logging.thread" value="false" />
            <property name="eclipselink.logging.session" value="false" />
            <property name="eclipselink.jdbc.bind-parameters" value="false"/>

            <property name="eclipselink.target-database" value="Mysql"/>
            <property name="eclipselink.jdbc.driver" value="com.mysql.jdbc.Driver"/>
            <property name="eclipselink.jdbc.url" value="jdbc:mysql://localhost:3306/test"/>
            <property name="eclipselink.jdbc.user" value="user"/>
            <property name="eclipselink.jdbc.password" value="pass"/>

            <property name="eclipselink.session.customizer" value="org.eclipse.emf.teneo.eclipselink.EmfSessionCustomizer"/>
             
            <property name="eclipselink.jdbc.read-connections.min" value="1"/>
            <property name="eclipselink.jdbc.write-connections.min" value="1"/>
            <property name="eclipselink.ddl-generation.output-mode" value="database" />
            <!-- Uncomment to create database schema -->  
            <property name="eclipselink.ddl-generation" value="drop-and-create-tables"/>
            <property name="eclipselink.ddl-generation.output-mode" value="database"/>
        </properties>
    </persistence-unit>
</persistence>



Tests does not even run because of exceptions :

!SESSION 2010-06-03 13:09:56.532 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.5.0_24
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_US
Framework arguments:  -version 3 -port 51300 -testLoaderClass org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoader -loaderpluginname org.eclipse.jdt.junit.runtime -classNames org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests.AllTests -application org.eclipse.pde.junit.runtime.coretestapplication -testpluginname org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests
Command-line arguments:  -os macosx -ws carbon -arch x86 -version 3 -port 51300 -testLoaderClass org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoader -loaderpluginname org.eclipse.jdt.junit.runtime -classNames org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests.AllTests -application org.eclipse.pde.junit.runtime.coretestapplication -data /Users/michabartoszewski/Documents/examples/../junit-workspace -dev file:/Users/michabartoszewski/Documents/examples/.metadata/.plugins/org.eclipse.pde.core/pde-junit/dev.properties -os macosx -ws carbon -arch x86 -testpluginname org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests

!ENTRY org.eclipse.osgi 2 0 2010-06-03 13:10:01.972
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-06-03 13:10:01.972
!MESSAGE Bundle reference:file:/Applications/eclipse/dropins/mysql-connector-java-5.1.12-bin.jar was not resolved.
!SUBENTRY 2 com.mysql.jdbc 2 0 2010-06-03 13:10:01.972
!MESSAGE Missing imported package javax.xml.transform.stax_0.0.0.

!ENTRY org.eclipse.osgi 2 0 2010-06-03 13:10:02.023
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-06-03 13:10:02.023
!MESSAGE Bundle com.mysql.jdbc_5.1.12 [6] was not resolved.
!SUBENTRY 2 com.mysql.jdbc 2 0 2010-06-03 13:10:02.023
!MESSAGE Missing imported package javax.net.ssl_[1.0.1,2.0.0).
!SUBENTRY 2 com.mysql.jdbc 2 0 2010-06-03 13:10:02.023
!MESSAGE Missing imported package javax.xml.transform.stax_0.0.0.
!SUBENTRY 2 com.mysql.jdbc 2 0 2010-06-03 13:10:02.023
!MESSAGE Missing imported package org.apache.log4j_[1.2.15,2.0.0).
!SUBENTRY 2 com.mysql.jdbc 2 0 2010-06-03 13:10:02.023
!MESSAGE Missing imported package com.mchange.v2.c3p0_[0.9.1.2,1.0.0).
!SUBENTRY 2 com.mysql.jdbc 2 0 2010-06-03 13:10:02.023
!MESSAGE Missing imported package org.jboss.resource.adapter.jdbc_0.0.0.
!SUBENTRY 2 com.mysql.jdbc 2 0 2010-06-03 13:10:02.024
!MESSAGE Missing imported package org.jboss.resource.adapter.jdbc.vendor_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-06-03 13:10:02.024
!MESSAGE Bundle org.eclipse.emf.teneo.eclipselink.examples.library_1.0.0.qualifier [199] was not resolved.
!SUBENTRY 2 org.eclipse.emf.teneo.eclipselink.examples.library 2 0 2010-06-03 13:10:02.024
!MESSAGE Missing imported package com.mysql.jdbc_5.1.12.
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-06-03 13:10:02.024
!MESSAGE Bundle org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests_1.0.0.qualifier [200] was not resolved.
!SUBENTRY 2 org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests 2 0 2010-06-03 13:10:02.024
!MESSAGE Missing required bundle org.eclipse.emf.teneo.eclipselink.examples.library_[1.0.0,2.0.0).
!SUBENTRY 2 org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests 2 0 2010-06-03 13:10:02.024
!MESSAGE Missing imported package org.hsqldb_1.8.1.
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-06-03 13:10:02.024
!MESSAGE Bundle org.eclipse.jdt.apt.pluggable.core_1.0.201.R35x_v20090925-1100 [348] was not resolved.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2010-06-03 13:10:02.024
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.tool_0.0.0.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2010-06-03 13:10:02.024
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.dispatch_0.0.0.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2010-06-03 13:10:02.024
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.model_0.0.0.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2010-06-03 13:10:02.024
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.util_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-06-03 13:10:02.024
!MESSAGE Bundle org.eclipse.jdt.compiler.apt_1.0.201.R35x_v20090925-1100 [350] was not resolved.
!SUBENTRY 2 org.eclipse.jdt.compiler.apt 2 0 2010-06-03 13:10:02.024
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.tool_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-06-03 13:10:02.024
!MESSAGE Bundle org.eclipse.jdt.compiler.tool_1.0.100.v_981_R35x [351] was not resolved.
!SUBENTRY 2 org.eclipse.jdt.compiler.tool 2 0 2010-06-03 13:10:02.024
!MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment: JavaSE-1.6

!ENTRY org.eclipse.osgi 4 0 2010-06-03 13:10:02.062
!MESSAGE Application error
!STACK 1
java.lang.IllegalArgumentException: No Classloader found for plug-in org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests
	at org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunner.getClassLoader(RemotePluginTestRunner.java:77)
	at org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunner.getTestClassLoader(RemotePluginTestRunner.java:71)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClass(RemoteTestRunner.java:693)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClasses(RemoteTestRunner.java:429)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:452)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
	at org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunner.main(RemotePluginTestRunner.java:62)
	at org.eclipse.pde.internal.junit.runtime.CoreTestApplication.run(CoreTestApplication.java:23)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:592)
	at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:574)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:592)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1287)

!ENTRY org.eclipse.osgi 2 0 2010-06-03 13:10:02.187
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-06-03 13:10:02.187
!MESSAGE Bundle reference:file:/Applications/eclipse/dropins/mysql-connector-java-5.1.12-bin.jar was not resolved.
!SUBENTRY 2 com.mysql.jdbc 2 0 2010-06-03 13:10:02.187
!MESSAGE Missing imported package javax.xml.transform.stax_0.0.0.

!ENTRY org.eclipse.osgi 2 0 2010-06-03 13:10:02.236
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-06-03 13:10:02.236
!MESSAGE Bundle com.mysql.jdbc_5.1.12 [6] was not resolved.
!SUBENTRY 2 com.mysql.jdbc 2 0 2010-06-03 13:10:02.236
!MESSAGE Missing imported package javax.net.ssl_[1.0.1,2.0.0).
!SUBENTRY 2 com.mysql.jdbc 2 0 2010-06-03 13:10:02.236
!MESSAGE Missing imported package javax.xml.transform.stax_0.0.0.
!SUBENTRY 2 com.mysql.jdbc 2 0 2010-06-03 13:10:02.236
!MESSAGE Missing imported package org.apache.log4j_[1.2.15,2.0.0).
!SUBENTRY 2 com.mysql.jdbc 2 0 2010-06-03 13:10:02.236
!MESSAGE Missing imported package com.mchange.v2.c3p0_[0.9.1.2,1.0.0).
!SUBENTRY 2 com.mysql.jdbc 2 0 2010-06-03 13:10:02.236
!MESSAGE Missing imported package org.jboss.resource.adapter.jdbc_0.0.0.
!SUBENTRY 2 com.mysql.jdbc 2 0 2010-06-03 13:10:02.236
!MESSAGE Missing imported package org.jboss.resource.adapter.jdbc.vendor_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-06-03 13:10:02.236
!MESSAGE Bundle org.eclipse.emf.teneo.eclipselink.examples.library_1.0.0.qualifier [199] was not resolved.
!SUBENTRY 2 org.eclipse.emf.teneo.eclipselink.examples.library 2 0 2010-06-03 13:10:02.236
!MESSAGE Missing imported package com.mysql.jdbc_5.1.12.
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-06-03 13:10:02.237
!MESSAGE Bundle org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests_1.0.0.qualifier [200] was not resolved.
!SUBENTRY 2 org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests 2 0 2010-06-03 13:10:02.237
!MESSAGE Missing required bundle org.eclipse.emf.teneo.eclipselink.examples.library_[1.0.0,2.0.0).
!SUBENTRY 2 org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests 2 0 2010-06-03 13:10:02.237
!MESSAGE Missing imported package org.hsqldb_1.8.1.
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-06-03 13:10:02.237
!MESSAGE Bundle org.eclipse.jdt.apt.pluggable.core_1.0.201.R35x_v20090925-1100 [348] was not resolved.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2010-06-03 13:10:02.237
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.tool_0.0.0.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2010-06-03 13:10:02.237
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.dispatch_0.0.0.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2010-06-03 13:10:02.237
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.model_0.0.0.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2010-06-03 13:10:02.237
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.util_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-06-03 13:10:02.237
!MESSAGE Bundle org.eclipse.jdt.compiler.apt_1.0.201.R35x_v20090925-1100 [350] was not resolved.
!SUBENTRY 2 org.eclipse.jdt.compiler.apt 2 0 2010-06-03 13:10:02.237
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.tool_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-06-03 13:10:02.237
!MESSAGE Bundle org.eclipse.jdt.compiler.tool_1.0.100.v_981_R35x [351] was not resolved.
!SUBENTRY 2 org.eclipse.jdt.compiler.tool 2 0 2010-06-03 13:10:02.237
!MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment: JavaSE-1.6



I suspect that something with osgi execution environment is going wrong.

Bundle reference:file:/Applications/eclipse/dropins/mysql-connector -java-5.1.12-bin.jar was not resolved.
I am 100% sure about that this package is there.

My manifest for library example looks like:

Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.emf.teneo.eclipselink.examples.library;singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-ClassPath: .
Bundle-Activator: org.eclipse.emf.teneo.eclipselink.examples.library.Activator$Implementation
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: J2SE-1.5,
 JavaSE-1.6
Export-Package: META-INF,
 org.eclipse.emf.teneo.eclipselink.examples.library,
 org.eclipse.emf.teneo.eclipselink.examples.library.forum,
 org.eclipse.emf.teneo.eclipselink.examples.library.forum.impl,
 org.eclipse.emf.teneo.eclipselink.examples.library.forum.util,
 org.eclipse.emf.teneo.eclipselink.examples.library.impl,
 org.eclipse.emf.teneo.eclipselink.examples.library.util
Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.5.0,4.0.0)",
 org.eclipse.emf.ecore;bundle-version="[2.5.0,3.0.0)",
 org.eclipse.emf.teneo.eclipselink;bundle-version="[1.0.0,2.0.0)",
 org.eclipse.emf.teneo.orm;bundle-version="[1.0.0,2.0.0)"
Bundle-ActivationPolicy: lazy
Import-Package: com.mysql.jdbc;version="5.1.12"
JPA-PersistenceUnits: library



my manifest for library.orm.tests

looks like:

Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests; singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-Localization: plugin
Require-Bundle: org.eclipse.core.resources,
 org.eclipse.emf.ecore,
 org.eclipse.emf.ecore.xmi;bundle-version="[2.5.0,3.0.0)",
 org.junit;bundle-version="[3.8.0,5.0.0)",
 javax.persistence;bundle-version="1.99.0",
 org.eclipse.emf.teneo.eclipselink.examples.library;bundle-version="[1.0.0,2.0.0)",
 org.eclipse.emf.teneo.eclipselink;bundle-version="[1.0.0,2.0.0)",
 org.apache.derby;bundle-version="[10.1.2,11.0.0)",
 org.eclipse.persistence.jpa;bundle-version="1.1.3",
 org.eclipse.persistence.asm;bundle-version="1.1.3",
 org.eclipse.persistence.antlr;bundle-version="1.1.3",
 org.eclipse.emf.teneo.eclipselink.elistfactory;bundle-version="[1.0.0,2.0.0)",
 org.eclipse.emf.teneo.orm;bundle-version="1.0.0",
 org.eclipse.core.runtime;bundle-version="3.5.0"
Bundle-ActivationPolicy: lazy
Bundle-Vendor: %providerName
Bundle-RequiredExecutionEnvironment: J2SE-1.5,
 JavaSE-1.6
Import-Package: org.hsqldb;version="1.8.1";resolution:=optional



Does any one have some ideas what i can be doing wrong ?

With regards
e1n


P.S.

However when i set resolution of com.mysql.jdbc boundle as optional i get following erros:

[EL Severe]: Local Exception Stack: 
Exception [EclipseLink-4003] (Eclipse Persistence Services - 1.1.3.v20091002-r5404): org.eclipse.persistence.exceptions.DatabaseException
Exception Description: Configuration error.  Class [com.mysql.jdbc.Driver] not found.
	at org.eclipse.persistence.exceptions.DatabaseException.configurationErrorClassNotFound(DatabaseException.java:82)
	at org.eclipse.persistence.sessions.DefaultConnector.loadDriverClass(DefaultConnector.java:265)
	at org.eclipse.persistence.sessions.DefaultConnector.connect(DefaultConnector.java:84)
	at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)
	at org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.connectInternal(DatasourceAccessor.java:324)
	at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.connectInternal(DatabaseAccessor.java:276)
	at org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:407)
	at org.eclipse.persistence.sessions.server.ConnectionPool.buildConnection(ConnectionPool.java:130)
	at org.eclipse.persistence.sessions.server.ConnectionPool.startUp(ConnectionPool.java:376)
	at org.eclipse.persistence.sessions.server.ServerSession.connect(ServerSession.java:502)
	at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.login(DatabaseSessionImpl.java:629)
	at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:229)
	at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:255)
	at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:112)
	at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:164)
	at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:151)
	at org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests.JPATest.setUp(JPATest.java:50)
	at junit.framework.TestCase.runBare(TestCase.java:128)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:120)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
	at org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunner.main(RemotePluginTestRunner.java:62)
	at org.eclipse.pde.internal.junit.runtime.CoreTestApplication.run(CoreTestApplication.java:23)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:592)
	at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:574)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:592)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1287)

[Updated on: Thu, 03 June 2010 11:37]

Report message to a moderator

Re: Running Teneo library example MySQL/Eclipselink problem. [message #537705 is a reply to message #537681] Thu, 03 June 2010 12:26 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Michel,
Are you sure that the mysql jar file is a valid osgi bundle?
You can install a mysql plugin from this update site location: http://www.elver.org/eclipse/update

gr. Martin

e1n wrote:
> Hi,
> I have checkout the org.eclipse.emf.teneo.eclipselink.examples.library
> and org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests .
>
> For standard configuration on derby database everything works just fine,
> and all tests pass.
>
> But when i want to use mysql database with persistence.xml looking like:
>
>
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <persistence xmlns="http://java.sun.com/xml/ns/persistence"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0"
> xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
> http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
> <persistence-unit name="library" transaction-type="RESOURCE_LOCAL">
> <properties> <property
> name="eclipselink.session-name" value="library" />
>
> <property name="eclipselink.logging.level" value="FINEST" />
> <property name="eclipselink.logging.timestamp" value="false" />
> <property name="eclipselink.logging.thread" value="false" />
> <property name="eclipselink.logging.session" value="false" />
> <property name="eclipselink.jdbc.bind-parameters"
> value="false"/>
>
> <property name="eclipselink.target-database" value="Mysql"/>
> <property name="eclipselink.jdbc.driver"
> value="com.mysql.jdbc.Driver"/>
> <property name="eclipselink.jdbc.url"
> value="jdbc:mysql://localhost:3306/test"/>
> <property name="eclipselink.jdbc.user" value="user"/>
> <property name="eclipselink.jdbc.password" value="pass"/>
>
> <property name="eclipselink.session.customizer"
> value="org.eclipse.emf.teneo.eclipselink.EmfSessionCustomizer "/>
> <property
> name="eclipselink.jdbc.read-connections.min" value="1"/>
> <property name="eclipselink.jdbc.write-connections.min"
> value="1"/>
> <property name="eclipselink.ddl-generation.output-mode"
> value="database" />
> <!-- Uncomment to create database schema -->
> <property name="eclipselink.ddl-generation"
> value="drop-and-create-tables"/>
> <property name="eclipselink.ddl-generation.output-mode"
> value="database"/>
> </properties>
> </persistence-unit>
> </persistence>
>
>
>
> Tests does not even run because of exceptions :
>
>
> !SESSION 2010-06-03 13:09:56.532
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.5.0_24
> java.vendor=Apple Inc.
> BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_US
> Framework arguments: -version 3 -port 51300 -testLoaderClass
> org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoade r
> -loaderpluginname org.eclipse.jdt.junit.runtime -classNames
> org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests .AllTests
> -application org.eclipse.pde.junit.runtime.coretestapplication
> -testpluginname
> org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests
> Command-line arguments: -os macosx -ws carbon -arch x86 -version 3
> -port 51300 -testLoaderClass
> org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoade r
> -loaderpluginname org.eclipse.jdt.junit.runtime -classNames
> org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests .AllTests
> -application org.eclipse.pde.junit.runtime.coretestapplication -data
> /Users/michabartoszewski/Documents/examples/../junit-workspa ce -dev
> file:/Users/michabartoszewski/Documents/examples/.metadata/. plugins/org.eclipse.pde.core/pde-junit/dev.properties
> -os macosx -ws carbon -arch x86 -testpluginname
> org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests
>
> !ENTRY org.eclipse.osgi 2 0 2010-06-03 13:10:01.972
> !MESSAGE One or more bundles are not resolved because the following root
> constraints are not resolved:
> !SUBENTRY 1 org.eclipse.osgi 2 0 2010-06-03 13:10:01.972
> !MESSAGE Bundle
> reference:file:/Applications/eclipse/dropins/mysql-connector -java-5.1.12-bin.jar
> was not resolved.
> !SUBENTRY 2 com.mysql.jdbc 2 0 2010-06-03 13:10:01.972
> !MESSAGE Missing imported package javax.xml.transform.stax_0.0.0.
>
> !ENTRY org.eclipse.osgi 2 0 2010-06-03 13:10:02.023
> !MESSAGE The following is a complete list of bundles which are not
> resolved, see the prior log entry for the root cause if it exists:
> !SUBENTRY 1 org.eclipse.osgi 2 0 2010-06-03 13:10:02.023
> !MESSAGE Bundle com.mysql.jdbc_5.1.12 was not resolved.
> !SUBENTRY 2 com.mysql.jdbc 2 0 2010-06-03 13:10:02.023
> !MESSAGE Missing imported package javax.net.ssl_[1.0.1,2.0.0).
> !SUBENTRY 2 com.mysql.jdbc 2 0 2010-06-03 13:10:02.023
> !MESSAGE Missing imported package javax.xml.transform.stax_0.0.0.
> !SUBENTRY 2 com.mysql.jdbc 2 0 2010-06-03 13:10:02.023
> !MESSAGE Missing imported package org.apache.log4j_[1.2.15,2.0.0).
> !SUBENTRY 2 com.mysql.jdbc 2 0 2010-06-03 13:10:02.023
> !MESSAGE Missing imported package com.mchange.v2.c3p0_[0.9.1.2,1.0.0).
> !SUBENTRY 2 com.mysql.jdbc 2 0 2010-06-03 13:10:02.023
> !MESSAGE Missing imported package org.jboss.resource.adapter.jdbc_0.0.0.
> !SUBENTRY 2 com.mysql.jdbc 2 0 2010-06-03 13:10:02.024
> !MESSAGE Missing imported package
> org.jboss.resource.adapter.jdbc.vendor_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2 0 2010-06-03 13:10:02.024
> !MESSAGE Bundle
> org.eclipse.emf.teneo.eclipselink.examples.library_1.0.0.qua lifier
> was not resolved.
> !SUBENTRY 2 org.eclipse.emf.teneo.eclipselink.examples.library 2 0
> 2010-06-03 13:10:02.024
> !MESSAGE Missing imported package com.mysql.jdbc_5.1.12.
> !SUBENTRY 1 org.eclipse.osgi 2 0 2010-06-03 13:10:02.024
> !MESSAGE Bundle
> org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests _1.0.0.qualifier
> was not resolved.
> !SUBENTRY 2 org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests
> 2 0 2010-06-03 13:10:02.024
> !MESSAGE Missing required bundle
> org.eclipse.emf.teneo.eclipselink.examples.library_[1.0.0,2. 0.0).
> !SUBENTRY 2 org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests
> 2 0 2010-06-03 13:10:02.024
> !MESSAGE Missing imported package org.hsqldb_1.8.1.
> !SUBENTRY 1 org.eclipse.osgi 2 0 2010-06-03 13:10:02.024
> !MESSAGE Bundle
> org.eclipse.jdt.apt.pluggable.core_1.0.201.R35x_v20090925-11 00 was
> not resolved.
> !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2010-06-03 13:10:02.024
> !MESSAGE Missing imported package
> org.eclipse.jdt.internal.compiler.tool_0.0.0.
> !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2010-06-03 13:10:02.024
> !MESSAGE Missing imported package
> org.eclipse.jdt.internal.compiler.apt.dispatch_0.0.0.
> !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2010-06-03 13:10:02.024
> !MESSAGE Missing imported package
> org.eclipse.jdt.internal.compiler.apt.model_0.0.0.
> !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2010-06-03 13:10:02.024
> !MESSAGE Missing imported package
> org.eclipse.jdt.internal.compiler.apt.util_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2 0 2010-06-03 13:10:02.024
> !MESSAGE Bundle org.eclipse.jdt.compiler.apt_1.0.201.R35x_v20090925-1100
> was not resolved.
> !SUBENTRY 2 org.eclipse.jdt.compiler.apt 2 0 2010-06-03 13:10:02.024
> !MESSAGE Missing imported package
> org.eclipse.jdt.internal.compiler.tool_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2 0 2010-06-03 13:10:02.024
> !MESSAGE Bundle org.eclipse.jdt.compiler.tool_1.0.100.v_981_R35x
> was not resolved.
> !SUBENTRY 2 org.eclipse.jdt.compiler.tool 2 0 2010-06-03 13:10:02.024
> !MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment:
> JavaSE-1.6
>
> !ENTRY org.eclipse.osgi 4 0 2010-06-03 13:10:02.062
> !MESSAGE Application error
> !STACK 1
> java.lang.IllegalArgumentException: No Classloader found for plug-in
> org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests
> at
> org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunne r.getClassLoader(RemotePluginTestRunner.java:77)
>
> at
> org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunne r.getTestClassLoader(RemotePluginTestRunner.java:71)
>
> at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadC lass(RemoteTestRunner.java:693)
>
> at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadC lasses(RemoteTestRunner.java:429)
>
> at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTe sts(RemoteTestRunner.java:452)
>
> at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTe sts(RemoteTestRunner.java:683)
>
> at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(R emoteTestRunner.java:390)
>
> at
> org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunne r.main(RemotePluginTestRunner.java:62)
>
> at
> org.eclipse.pde.internal.junit.runtime.CoreTestApplication.r un(CoreTestApplication.java:23)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:592)
> at
> org.eclipse.equinox.internal.app.EclipseAppContainer.callMet hodWithException(EclipseAppContainer.java:574)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:196)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:592)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
>
> !ENTRY org.eclipse.osgi 2 0 2010-06-03 13:10:02.187
> !MESSAGE One or more bundles are not resolved because the following root
> constraints are not resolved:
> !SUBENTRY 1 org.eclipse.osgi 2 0 2010-06-03 13:10:02.187
> !MESSAGE Bundle
> reference:file:/Applications/eclipse/dropins/mysql-connector -java-5.1.12-bin.jar
> was not resolved.
> !SUBENTRY 2 com.mysql.jdbc 2 0 2010-06-03 13:10:02.187
> !MESSAGE Missing imported package javax.xml.transform.stax_0.0.0.
>
> !ENTRY org.eclipse.osgi 2 0 2010-06-03 13:10:02.236
> !MESSAGE The following is a complete list of bundles which are not
> resolved, see the prior log entry for the root cause if it exists:
> !SUBENTRY 1 org.eclipse.osgi 2 0 2010-06-03 13:10:02.236
> !MESSAGE Bundle com.mysql.jdbc_5.1.12 was not resolved.
> !SUBENTRY 2 com.mysql.jdbc 2 0 2010-06-03 13:10:02.236
> !MESSAGE Missing imported package javax.net.ssl_[1.0.1,2.0.0).
> !SUBENTRY 2 com.mysql.jdbc 2 0 2010-06-03 13:10:02.236
> !MESSAGE Missing imported package javax.xml.transform.stax_0.0.0.
> !SUBENTRY 2 com.mysql.jdbc 2 0 2010-06-03 13:10:02.236
> !MESSAGE Missing imported package org.apache.log4j_[1.2.15,2.0.0).
> !SUBENTRY 2 com.mysql.jdbc 2 0 2010-06-03 13:10:02.236
> !MESSAGE Missing imported package com.mchange.v2.c3p0_[0.9.1.2,1.0.0).
> !SUBENTRY 2 com.mysql.jdbc 2 0 2010-06-03 13:10:02.236
> !MESSAGE Missing imported package org.jboss.resource.adapter.jdbc_0.0.0.
> !SUBENTRY 2 com.mysql.jdbc 2 0 2010-06-03 13:10:02.236
> !MESSAGE Missing imported package
> org.jboss.resource.adapter.jdbc.vendor_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2 0 2010-06-03 13:10:02.236
> !MESSAGE Bundle
> org.eclipse.emf.teneo.eclipselink.examples.library_1.0.0.qua lifier
> was not resolved.
> !SUBENTRY 2 org.eclipse.emf.teneo.eclipselink.examples.library 2 0
> 2010-06-03 13:10:02.236
> !MESSAGE Missing imported package com.mysql.jdbc_5.1.12.
> !SUBENTRY 1 org.eclipse.osgi 2 0 2010-06-03 13:10:02.237
> !MESSAGE Bundle
> org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests _1.0.0.qualifier
> was not resolved.
> !SUBENTRY 2 org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests
> 2 0 2010-06-03 13:10:02.237
> !MESSAGE Missing required bundle
> org.eclipse.emf.teneo.eclipselink.examples.library_[1.0.0,2. 0.0).
> !SUBENTRY 2 org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests
> 2 0 2010-06-03 13:10:02.237
> !MESSAGE Missing imported package org.hsqldb_1.8.1.
> !SUBENTRY 1 org.eclipse.osgi 2 0 2010-06-03 13:10:02.237
> !MESSAGE Bundle
> org.eclipse.jdt.apt.pluggable.core_1.0.201.R35x_v20090925-11 00 was
> not resolved.
> !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2010-06-03 13:10:02.237
> !MESSAGE Missing imported package
> org.eclipse.jdt.internal.compiler.tool_0.0.0.
> !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2010-06-03 13:10:02.237
> !MESSAGE Missing imported package
> org.eclipse.jdt.internal.compiler.apt.dispatch_0.0.0.
> !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2010-06-03 13:10:02.237
> !MESSAGE Missing imported package
> org.eclipse.jdt.internal.compiler.apt.model_0.0.0.
> !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2010-06-03 13:10:02.237
> !MESSAGE Missing imported package
> org.eclipse.jdt.internal.compiler.apt.util_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2 0 2010-06-03 13:10:02.237
> !MESSAGE Bundle org.eclipse.jdt.compiler.apt_1.0.201.R35x_v20090925-1100
> was not resolved.
> !SUBENTRY 2 org.eclipse.jdt.compiler.apt 2 0 2010-06-03 13:10:02.237
> !MESSAGE Missing imported package
> org.eclipse.jdt.internal.compiler.tool_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2 0 2010-06-03 13:10:02.237
> !MESSAGE Bundle org.eclipse.jdt.compiler.tool_1.0.100.v_981_R35x [351]
> was not resolved.
> !SUBENTRY 2 org.eclipse.jdt.compiler.tool 2 0 2010-06-03 13:10:02.237
> !MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment:
> JavaSE-1.6
>
>
>
> I suspect that something with osgi execution environment is going wrong.
>
> Bundle reference:file:/Applications/eclipse/dropins/mysql-connector
> -java-5.1.12-bin.jar was not resolved.
> I am 100% sure about that this package is there.
>
> My manifest for library example looks like:
>
>
> Manifest-Version: 1.0
> Bundle-ManifestVersion: 2
> Bundle-Name: %pluginName
> Bundle-SymbolicName:
> org.eclipse.emf.teneo.eclipselink.examples.library;singleton :=true
> Bundle-Version: 1.0.0.qualifier
> Bundle-ClassPath: .
> Bundle-Activator:
> org.eclipse.emf.teneo.eclipselink.examples.library.Activator $Implementation
> Bundle-Vendor: %providerName
> Bundle-Localization: plugin
> Bundle-RequiredExecutionEnvironment: J2SE-1.5,
> JavaSE-1.6
> Export-Package: META-INF,
> org.eclipse.emf.teneo.eclipselink.examples.library,
> org.eclipse.emf.teneo.eclipselink.examples.library.forum,
> org.eclipse.emf.teneo.eclipselink.examples.library.forum.imp l,
> org.eclipse.emf.teneo.eclipselink.examples.library.forum.uti l,
> org.eclipse.emf.teneo.eclipselink.examples.library.impl,
> org.eclipse.emf.teneo.eclipselink.examples.library.util
> Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.5.0,4.0.0)",
> org.eclipse.emf.ecore;bundle-version="[2.5.0,3.0.0)",
> org.eclipse.emf.teneo.eclipselink;bundle-version="[1.0.0,2.0.0) ",
> org.eclipse.emf.teneo.orm;bundle-version="[1.0.0,2.0.0)"
> Bundle-ActivationPolicy: lazy
> Import-Package: com.mysql.jdbc;version="5.1.12"
> JPA-PersistenceUnits: library
>
>
>
> my manifest for library.orm.tests
>
> looks like:
>
>
> Manifest-Version: 1.0
> Bundle-ManifestVersion: 2
> Bundle-Name: %pluginName
> Bundle-SymbolicName:
> org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests ;
> singleton:=true
> Bundle-Version: 1.0.0.qualifier
> Bundle-Localization: plugin
> Require-Bundle: org.eclipse.core.resources,
> org.eclipse.emf.ecore,
> org.eclipse.emf.ecore.xmi;bundle-version="[2.5.0,3.0.0)",
> org.junit;bundle-version="[3.8.0,5.0.0)",
> javax.persistence;bundle-version="1.99.0",
> org.eclipse.emf.teneo.eclipselink.examples.library;bundle-ve rsion= "[1.0.0,2.0.0)",
>
> org.eclipse.emf.teneo.eclipselink;bundle-version="[1.0.0,2.0.0) ",
> org.apache.derby;bundle-version="[10.1.2,11.0.0)",
> org.eclipse.persistence.jpa;bundle-version="1.1.3",
> org.eclipse.persistence.asm;bundle-version="1.1.3",
> org.eclipse.persistence.antlr;bundle-version="1.1.3",
> org.eclipse.emf.teneo.eclipselink.elistfactory;bundle-versio n= "[1.0.0,2.0.0)",
>
> org.eclipse.emf.teneo.orm;bundle-version="1.0.0",
> org.eclipse.core.runtime;bundle-version="3.5.0"
> Bundle-ActivationPolicy: lazy
> Bundle-Vendor: %providerName
> Bundle-RequiredExecutionEnvironment: J2SE-1.5,
> JavaSE-1.6
> Import-Package: org.hsqldb;version="1.8.1";resolution:=optional
>
>
>
> Does any one have some ideas what i can be doing wrong ?
>
> With regards
> e1n


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: Running Teneo library example MySQL/Eclipselink problem. [message #537720 is a reply to message #537681] Thu, 03 June 2010 13:21 Go to previous messageGo to next message
e1n is currently offline e1nFriend
Messages: 22
Registered: April 2010
Location: Poland
Junior Member

Thank you Martin, your hint solved the problem.
Re: Running Teneo library example MySQL/Eclipselink problem. [message #537727 is a reply to message #537720] Thu, 03 June 2010 13:26 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Michal,
Here is another hint :-), if you are developing for a web (server) environment then the Texo project maybe of interest
to you. It generates pure java pojo's and also the ORM. The Texo project uses a different (more handy) way of annotating
the model with orm annotations.

http://wiki.eclipse.org/Texo


e1n wrote:
> Thank you Martin, your hint solved the problem.


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Previous Topic:[EMF].ecore
Next Topic:Referencing model instances from different models/files
Goto Forum:
  


Current Time: Sat May 11 19:16:38 GMT 2024

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

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

Back to the top