Hi,

 im using h2db on my apps for favafxport and trying to deploy it to iOs 
trough robovm.
I got this error: 

[WARN] java.lang.Class: Class.forName() failed to load 
'org.h2.upgrade.v1_1.Driver'. Use the -forcelinkclasses command line option or 
add 
<forceLinkClasses><pattern>org.h2.upgrade.v1_1.Driver</pattern></forceLinkClasses>
 to your robovm.xml file to link it in.


For that i know robovm expecting class org.h2.upgrade.v1_1.Driver. It seems 
not in the library. 
And the only thing i can fount is that a class DbUpgrade try to check if  
org.h2.upgrade.v1_1.Driver existed. 

*public* *class* DbUpgrade 
<http://code.metager.de/source/s?refs=DbUpgrade&project=h2database> {28 
<http://code.metager.de/source/xref/h2database/h2/src/main/org/h2/upgrade/DbUpgrade.java#28>29
 
<http://code.metager.de/source/xref/h2database/h2/src/main/org/h2/upgrade/DbUpgrade.java#29>
    *private* *static* *final* *boolean* UPGRADE_CLASSES_PRESENT 
<http://code.metager.de/source/s?refs=UPGRADE_CLASSES_PRESENT&project=h2database>;33
 
<http://code.metager.de/source/xref/h2database/h2/src/main/org/h2/upgrade/DbUpgrade.java#33>34
 
<http://code.metager.de/source/xref/h2database/h2/src/main/org/h2/upgrade/DbUpgrade.java#34>
    *static* {35 
<http://code.metager.de/source/xref/h2database/h2/src/main/org/h2/upgrade/DbUpgrade.java#35>
        UPGRADE_CLASSES_PRESENT 
<http://code.metager.de/source/xref/h2database/h2/src/main/org/h2/upgrade/DbUpgrade.java#UPGRADE_CLASSES_PRESENT>
 = Utils 
<http://code.metager.de/source/s?defs=Utils&project=h2database>.isClassPresent 
<http://code.metager.de/source/s?defs=isClassPresent&project=h2database>("org.h2.upgrade.v1_1.Driver");36
 
<http://code.metager.de/source/xref/h2database/h2/src/main/org/h2/upgrade/DbUpgrade.java#36>
    }37 
<http://code.metager.de/source/xref/h2database/h2/src/main/org/h2/upgrade/DbUpgrade.java#37>



Where and what org.h2.upgrade.v1_1.Driver is for?

thanks in adnvance.

best regards,

ivan

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to