Subject | Re: Problems with FBWrappingDataSource and JNDI |
---|---|
Author | Roman Rokytskyy |
Post date | 2004-01-08T12:28:14Z |
> String JNDI_FACTORY = "com.sun.jndi.fscontext.RefFSContextFactory";Add also this:
> FBWrappingDataSource dbDataSource = null;
>
> Properties props = new Properties();
> props.put(Context.INITIAL_CONTEXT_FACTORY, JNDI_FACTORY);
props.put(Context.OBJECT_FACTORIES,
FBWrappingDataSource.class.getName());
But I found some bugs in FBWrappingDataSource
referencing/dereferencing, so you have to get CVS copy of JayBird.
We will release beta 2 soon, I believe that we need to release betas
quickly, so you have always a most current version.
> context = new InitialContext(props);Best regards,
Roman Rokytskyy