Rick
I've been trying to understand and document how the CMP-JPA integration
works, and I've found something in the CMP2 code that has me confused.
In the mapClass2X() method in CmpJmpConversion, the code derives the
names of the CMP field mappings by looking for abstract "get" and "is"
methods in the bean class. However, in the createGetter() method in
Cmp2Generator, the getter name is always generated using a "get"
prefix. Shouldn't this be checking to see if the abstract method is an
"is" method and generate the appropriate one? The current code would
appear to generate a non-instantiable class if the source bean is using
"is" methods.
- A question about how the CMP2-JPA mappings work Rick McGuire
- Re: A question about how the CMP2-JPA mappings work David Blevins
- Re: A question about how the CMP2-JPA mappings wor... Dain Sundstrom
- Re: A question about how the CMP2-JPA mappings... Rick McGuire
- Re: A question about how the CMP2-JPA mapp... Dain Sundstrom
- Re: A question about how the CMP2-JPA... Rick McGuire
- Re: A question about how the CMP2-JPA... Rick McGuire
- Re: A question about how the CMP2... Dain Sundstrom
- Re: A question about how the CMP2-JPA mappings... Rick McGuire
- Re: A question about how the CMP2-JPA mapp... Dain Sundstrom
- Re: A question about how the CMP2-JPA... Rick McGuire
