This is part of a preprocessing phase where we scan the query for Java
classes that *aren't* mapped in the mapping document and turn the single
query into n queries against the n implementors of that interface. So that
method says: if the passed token is the class name of an unmapped class,
return the names of all the implementors of that class. Otherwise return
null, and ignore the token.


----- Original Message -----
From: "Max Rydahl Andersen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 29, 2002 3:16 AM
Subject: [Hibernate] Why this line...


> In SessionFactoryImpl I found this code:
>
> public String[] getImplementors(Class clazz) {
>
> if ( classPersisters.containsKey(clazz) ) return null;
>
> ...
>
> ..
>
> }
>
>
>
> Why should getImplementors return null if clazz is inside the
> classPersisters ?
>
>
>
> /max
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> hibernate-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/hibernate-devel



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to