You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Alex Karasulu <ak...@apache.org> on 2011/12/15 22:15:18 UTC
[API] Shouldn't we return an empty SM? (was: Re: connection.getSchemaManager()
returns null)
On Sat, Dec 10, 2011 at 7:36 PM, Emmanuel Lecharny <el...@gmail.com> wrote:
> On 12/10/11 6:25 PM, Christoph Czurda wrote:
>>
>> Hello,
>>
>> Why does connection.getSchemaManager() return null? My connection is
>> connected and bound.
>
>
> If no schema is loaded, the schemaManager will be null.
Shouldn't we return a SM anyways but one that is not loaded with schema?
Thoughts?
Alex
Re: [API] Shouldn't we return an empty SM? (was: Re: connection.getSchemaManager()
returns null)
Posted by Emmanuel Lecharny <el...@gmail.com>.
On 12/15/11 10:15 PM, Alex Karasulu wrote:
> On Sat, Dec 10, 2011 at 7:36 PM, Emmanuel Lecharny<el...@gmail.com> wrote:
>> On 12/10/11 6:25 PM, Christoph Czurda wrote:
>>> Hello,
>>>
>>> Why does connection.getSchemaManager() return null? My connection is
>>> connected and bound.
>>
>> If no schema is loaded, the schemaManager will be null.
> Shouldn't we return a SM anyways but one that is not loaded with schema?
Yes, definitively, a default one.
I'm not sure we don't do that, I have to check.
--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com