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

java.lang.StackOverflowError with generic document type in mongo #236

Closed
noter opened this Issue Sep 24, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@noter

noter commented Sep 24, 2012

I think this is the same bug #231 but I only test this on mongo.

public class AbstractCollectionAttribute<T extends Collection<?>> {

    T value;

}

@Document
public class ListAttribute<T> extends AbstractCollectionAttribute<List<T>> {

        String name;

}

@Document
public class Product {

    ListAttribute<Integer> integerAttributes;
    ListAttribute<String> stringAttributes;

}

This model have not much sens, but I have much more complex with use this schema. It plays nice with spring data mongo (e.g. Query.query(Criteria.where(
"stringAttributes.value").is("Test") query forks fine), but now have problem with Q* generation.

@timowest

This comment has been minimized.

Show comment
Hide comment
@timowest

timowest Sep 29, 2012

Member

Released in 2.8.0

Member

timowest commented Sep 29, 2012

Released in 2.8.0

@timowest timowest closed this Sep 29, 2012

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