1 package org.apache.torque.adapter;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 import java.sql.Connection;
20 import java.sql.SQLException;
21
22 /***
23 * This code should be used for a Weblogic database pool.
24 *
25 * @author <a href="mailto:jon@latchkey.com">Jon S. Stevens</a>
26 * @author <a href="mailto:bmclaugh@algx.net">Brett McLaughlin</a>
27 * @version $Id: DBWeblogic.java 239630 2005-08-24 12:25:32Z henning $
28 */
29 public class DBWeblogic extends DB
30 {
31 /***
32 * Empty constructor.
33 */
34 protected DBWeblogic()
35 {
36 }
37
38 /***
39 * This method is used to ignore case.
40 *
41 * @param in The string to transform to upper case.
42 * @return The upper case string.
43 */
44 public String toUpperCase(String in)
45 {
46 return in;
47 }
48
49 /***
50 * This method is used to ignore case.
51 *
52 * @param in The string whose case to ignore.
53 * @return The string in a case that can be ignored.
54 */
55 public String ignoreCase(String in)
56 {
57 return in;
58 }
59
60 /***
61 * @see org.apache.torque.adapter.DB#getIDMethodType()
62 */
63 public String getIDMethodType()
64 {
65 return NO_ID_METHOD;
66 }
67
68 /***
69 * @see org.apache.torque.adapter.DB#getIDMethodSQL(Object obj)
70 */
71 public String getIDMethodSQL(Object obj)
72 {
73 return null;
74 }
75
76 /***
77 * Locks the specified table.
78 *
79 * @param con The JDBC connection to use.
80 * @param table The name of the table to lock.
81 * @throws SQLException No Statement could be created or executed.
82 */
83 public void lockTable(Connection con, String table) throws SQLException
84 {
85 }
86
87 /***
88 * Unlocks the specified table.
89 *
90 * @param con The JDBC connection to use.
91 * @param table The name of the table to unlock.
92 * @throws SQLException No Statement could be created or executed.
93 */
94 public void unlockTable(Connection con, String table) throws SQLException
95 {
96 }
97 }