Sure I can, the problem is that I tried the quickest approach that came
to mind just to see if it worked, and that means receiving a Connection in
the constructor and keeping a local reference to it.
I'm mostly sure such a thing will probably be frowned upon since it can
lead to leaks and/or unproperly managed resources. The current code properly
obtains a Connection in every method body's beggining and releases it at the
end. But since I get the connection from outside, I can't close it and
create it again later.
I'll try to come up with a better solution and provide a patch.
Thanks for your help !
Daniel
Rick Curtis wrote:
>
>
> I haven't really looked at the SchemaGenerator before, but what all did
> you
> change? Perhaps you can post a patch with your changes?
>
>
--
View this message in context:
http://n2.nabble.com/SchemaGenerator-and-connections-tp4852136p4855448.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.