persistence@glassfish.java.net

Re: Issue when the file writers are not being closed

From: Tom Ware <tom.ware_at_oracle.com>
Date: Mon, 20 Mar 2006 10:07:17 -0500

This change looks fine to me.

-Tom

Pramod Gopinath wrote:

> Hi Gordon/Tom
>
> Any updates related to this change.
>
> Thanks
> Pramod
>
> Pramod Gopinath wrote:
>
>> Hi Gordon
>> The change listed in this email is for a scenario for which there
>> is no issue filed. But we have noticed this issue on Windows machines.
>>
>> In oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider
>> for the java2db case we do not close the file writers. This leads to
>> issues on Windows platform. The change is to call
>>
>> SchemaManager.closeDDLWriter();
>>
>> Again this call will happen only if java2db is enabled.
>>
>> Thanks
>> Pramod
>>
>>------------------------------------------------------------------------
>>
>>Index: src/java/oracle/toplink/essentials/ejb/cmp3/EntityManagerFactoryProvider.java
>>===================================================================
>>RCS file: /cvs/glassfish/entity-persistence/src/java/oracle/toplink/essentials/ejb/cmp3/EntityManagerFactoryProvider.java,v
>>retrieving revision 1.22
>>diff -r1.22 EntityManagerFactoryProvider.java
>>344a345
>>
>>
>>> mgr.closeDDLWriter();
>>>
>>>
>

-- 
Tom Ware
Principal Software Engineer
Oracle Canada Inc.
Direct: (613) 783-4598
Email: tom.ware_at_oracle.com