chandransalem / odata4j

Automatically exported from code.google.com/p/odata4j
0 stars 0 forks source link

JPAEdmGenerator should allow access to attributes from sub-classes #180

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The JPAEdmGenerator does not allow access to its attributes from sub-classes.

Issue 83 (http://code.google.com/p/odata4j/issues/detail?id=83) has been marked 
as fixed in this revision 
(http://code.google.com/p/odata4j/source/detail?r=57d7657568de).

The solution was to allow sub-classing of JPAEdmGenerator to be able to 
customize entity container, model, and container schema name.  However, while 
these methods are protected, the attributes it needs to operate on are marked 
as private final.

What version of the product are you using? On what operating system?
I am using odata4j-bundle-0.6 on Linux.

Please provide any additional information below.
I want to use this for a large commercial application.

Original issue reported on code.google.com by aronkram...@gmail.com on 18 May 2012 at 5:30

GoogleCodeExporter commented 8 years ago
You could capture these in your subclass constructor, but I agree it would be 
better if they were exposed/overridable directly.

Original comment by john.spurlock on 2 Jun 2012 at 4:41

GoogleCodeExporter commented 8 years ago
This issue was closed by revision a138d7137c23.

Original comment by john.spurlock on 2 Jun 2012 at 4:43