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 is used to connect to Hypersonic SQL databases.
24 *
25 * <a href="http://axion.tigris.org">http://axion.tigris.org</a>
26 *
27 * @author <a href="mailto:mpoeschl@marmot.at">Martin Poeschl</a>
28 * @version $Id: DBAxion.java 239630 2005-08-24 12:25:32Z henning $
29 */
30 public class DBAxion extends DB
31 {
32 /***
33 * Constructor.
34 */
35 protected DBAxion()
36 {
37 }
38
39 /***
40 * This method is used to ignore case.
41 *
42 * @param in The string to transform to upper case.
43 * @return The upper case string.
44 */
45 public String toUpperCase(String in)
46 {
47 return in;
48 }
49
50 /***
51 * This method is used to ignore case.
52 *
53 * @param in The string whose case to ignore.
54 * @return The string in a case that can be ignored.
55 */
56 public String ignoreCase(String in)
57 {
58 return in;
59 }
60
61 /***
62 * @see org.apache.torque.adapter.DB#getIDMethodType()
63 */
64 public String getIDMethodType()
65 {
66 return NO_ID_METHOD;
67 }
68
69 /***
70 * @see org.apache.torque.adapter.DB#getIDMethodSQL(Object obj)
71 */
72 public String getIDMethodSQL(Object obj)
73 {
74 return null;
75 }
76
77 /***
78 * Locks the specified table.
79 *
80 * @param con The JDBC connection to use.
81 * @param table The name of the table to lock.
82 * @exception SQLException No Statement could be created or executed.
83 */
84 public void lockTable(Connection con, String table) throws SQLException
85 {
86 }
87
88 /***
89 * Unlocks the specified table.
90 *
91 * @param con The JDBC connection to use.
92 * @param table The name of the table to unlock.
93 * @exception SQLException No Statement could be created or executed.
94 */
95 public void unlockTable(Connection con, String table) throws SQLException
96 {
97 }
98 }