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

Added support for mapping sub-packages. #850

Closed
wants to merge 1 commit into from

Conversation

wittyameta
Copy link

Support for mapping sub-packages is added.
Refers to #614

@@ -40,8 +40,8 @@ configure(subprojects.findAll { it.name != 'util' }) {
apply plugin: 'optional-base'

group = 'org.mongodb.morphia'
sourceCompatibility = JavaVersion.VERSION_1_6
targetCompatibility = JavaVersion.VERSION_1_6
sourceCompatibility = JavaVersion.VERSION_1_8
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1.6 is the maximum JVM version we're requiring at this point. Many of our users are still on older versions and bumping this would break them.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright. I wanted to use java.nio. But even that requires Java 1.7

MapperOptions to enable/disable mapping of classes from sub-package.
Refers to MorphiaOrg#614
@evanchooly
Copy link
Member

Slight tweaks but it's in. Thanks for the PR.

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

Successfully merging this pull request may close these issues.

2 participants