Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not a working project #1

Open
atschwarz opened this issue Jun 13, 2013 · 1 comment
Open

Not a working project #1

atschwarz opened this issue Jun 13, 2013 · 1 comment

Comments

@atschwarz
Copy link

Hi,

I'm interested in using BatooJPA on Android Platform, but it seems, as if the project is not up to date. Try to follow the short instructions to get it working, but it failed.

Could you please update this nice HelloAndroid-project, running with the current version of all using libraries inclusive Android Platform?

Thanks in advance.

@xCatG
Copy link

xCatG commented Aug 5, 2013

I am also trying to get this example to run with 2.0.1.1 BatooJPA, everything compiles and runs, until it tries to getEntityManager() where it fails with this error:

08-05 15:03:31.252: W/dalvikvm(6786): Link of class 'Lorg/batoo/jpa/jdbc/BoneCPDataSource;' failed
08-05 15:03:31.252: E/dalvikvm(6786): Could not find class 'org.batoo.jpa.jdbc.BoneCPDataSource', referenced from method org.batoo.jpa.core.impl.manager.EntityManagerFactoryImpl.createDatasource0
08-05 15:03:31.262: W/dalvikvm(6786): VFY: unable to resolve new-instance 3010 (Lorg/batoo/jpa/jdbc/BoneCPDataSource;) in Lorg/batoo/jpa/core/impl/manager/EntityManagerFactoryImpl;
08-05 15:03:31.262: D/dalvikvm(6786): VFY: replacing opcode 0x22 at 0x0048
08-05 15:03:31.272: I/dalvikvm(6786): Failed resolving Lorg/batoo/jpa/jdbc/BoneCPDataSource; interface 2080 'Ljavax/naming/spi/ObjectFactory;'
08-05 15:03:31.272: W/dalvikvm(6786): Link of class 'Lorg/batoo/jpa/jdbc/BoneCPDataSource;' failed

Basically due to the fact that BoneCP uses class in javax.naming.spi package that is not found on Android. Any thoughts on solving this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants