Search:

Type: Posts; User: h2cl; Keyword(s):

Search: Search took 0.02 seconds.

  1. Not sure if this is best practice but it worked...

    Not sure if this is best practice but it worked for me:


    public K findIdField(final T entity, Class<?> superClass) throws IllegalAccessException, InvocationTargetException {

    ...
  2. How to access annotated, private properties of jpa-entities.

    Hi there,

    in a lot of spring data tutorials, a bean property is private and annotated with @Id. Now I want to call the getProperty function of the @Id annotated property. BUT it could be...
  3. Replies
    3
    Views
    567

    I can't overwrite it, cause it requires access to...

    I can't overwrite it, cause it requires access to private variable template:


    public class MyMongoRepositoryFactoryBean<T extends Repository<S, ID>, S, ID extends Serializable> extends...
  4. Replies
    3
    Views
    567

    Prevent Mongo indexing

    Hi there.

    I'm using Spring Datastore Document and MongoDB. My Problem is that I can't (should) change the indexing of mongo but for every event defined in my extended MongoRepository (like...
  5. Replies
    11
    Views
    3,731

    You need Read AND Write Converter

    You cant't only declare on part. It needs to be pair.
    But if you want to change something after read try to use the "MappingEventListener"



    public class DoSomethingAfterReadListener extends...
Results 1 to 5 of 6