Hi Jielin,
Good question.
Team,
Does anybody have a strong opinion about this?
Should "toplink.application-location" be ignored by GF deployment and an
internal location be used instead? Or should the location where to put the
generated files (the property name is probably confusing, but that's a
different story) be preserved?
I would think that if the user specified the location, they cared about
it. The only problem would be a /tmp where files would disappear after
reboot, but this may be a documentation note.
thanks,
-marina
jielin wrote:
> Hi, Marina,
>
> The code seems okay.
> I have one question for my own learning: for the application location
> defined in persistence.xml, should this location be overrided by
> appserver specified dir in glassfish environment ( I mean in EJB
> container)?
>
> Thanks.
>
> Jielin
>
> Marina Vatkina wrote:
>
>> Hi Jielin,
>>
>> See https://glassfish.dev.java.net/issues/show_bug.cgi?id=1218.
>>
>> Can you please review the attached? TopLink allows you to specify
>> location of the drop/create files, and before this fix, GF code
>> ignored such property
>> when constructing file name for the execution of the jdbc file.
>>
>> thanks,
>> -marina
>
>