j256 / ormlite-android

ORMLite Android functionality used in conjunction with ormlite-core
http://ormlite.com/
ISC License
1.59k stars 366 forks source link

Can't use a dependency with ormlite annotations. #142

Closed aberaud closed 1 year ago

aberaud commented 1 year ago

Related to https://github.com/j256/ormlite-android/issues/141

Since ormlite-android 6 embeds ormlite-core classes, it seems like it's not possible to use a non-Android java dependency with ormlite-annotated classes, from an Android project using ormlite-android to store the objects provided by this dependency.

Importing the non-Android dependency (which uses ormlite-core) results in duplicate class errors (as described in https://github.com/j256/ormlite-android/issues/141 )

j256 commented 1 year ago

So this is a duplicate of #141 ? Did you just post this to get my attention or is the more to the issue?

aberaud commented 1 year ago

The original ticket was initially closed as "working as expected", so I opened this other ticket that more specifically describes the root problem instead of the symptoms (while honestly also hoping to get your attention). Since the other ticket was reopened, one of these could be closed as a duplicate.

j256 commented 1 year ago

I've reopened that ticket.