This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
dev:jdbc:router [2009/11/30 16:24] tdo |
dev:jdbc:router [2016/06/28 22:38] (current) |
||
|---|---|---|---|
| Line 246: | Line 246: | ||
| The example shows extending the OdxJDBCRouterRule class for the routeQueries rule: | The example shows extending the OdxJDBCRouterRule class for the routeQueries rule: | ||
| - | <code> | + | <code java> |
| package org.mycompany.omnidex; | package org.mycompany.omnidex; | ||
| Line 256: | Line 256: | ||
| /** | /** | ||
| * Process the rule, which returns a single | * Process the rule, which returns a single | ||
| - | * <code>OdxJDBCRouterServer</code> object. | + | * OdxJDBCRouterServer object. |
| * | * | ||
| - | * @return a <code>OdxJDBCRouterServer</code> object that contains the server | + | * @return a OdxJDBCRouterServer object that contains the server |
| - | * information or <code>null</code> object if the rule is not passed. | + | * information or null object if the rule is not passed. |
| * @exception Exception if an error occurs. | * @exception Exception if an error occurs. | ||
| */ | */ | ||