Hi David,I can't point you to the code offhand, but we're always looking for contributions that make OpenJPA easier (or in your case even possible) to use.
Craig On Feb 6, 2008, at 3:04 AM, David Goodenough wrote:
I recently came across OpenJpa, and it looks like it might be a good fit for my application (well actually I have a number of similar apps). I had previously looked at using Sql2Java but that is not following standards(JPA) and as a project seems to be come and go. But on first inspection there were a couple of things that I could notwork out how to do, mainly with ReverseMappingTool (I have existing DBsto use). 1) I need the beans that are generated to have PropertyChange support,but I can not find an option that enables this. Although I am not using thisin an EJB environment, given that EJBs are a large part of openjpa'sexistance this seems odd. I actually need PropertyChange support as I amusing BeansBinding (JSR-296).2) I need the ability for the generated bean to be declared as extendingan existing class.Now with both of these I could go in and modify the generated source code myself, but in at least one case I have around 100 tables and the thoughtof this not being an automated process is not good. If neither of these are possible in the existing code, is there anyobjection to my adding both of these and submitting a patch? If this is the route I am to follow, can anyone point me in the right direction as to where to look for the bits of ReverseMappingTool that generate the getters andsetters, and generate the class header? David
Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp!
smime.p7s
Description: S/MIME cryptographic signature
