%line | %branch | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
org.apache.torque.adapter.DBMSSQL |
|
|
1 | package org.apache.torque.adapter; |
|
2 | ||
3 | /* |
|
4 | * Copyright 2001-2005 The Apache Software Foundation. |
|
5 | * |
|
6 | * Licensed under the Apache License, Version 2.0 (the "License") |
|
7 | * you may not use this file except in compliance with the License. |
|
8 | * You may obtain a copy of the License at |
|
9 | * |
|
10 | * http://www.apache.org/licenses/LICENSE-2.0 |
|
11 | * |
|
12 | * Unless required by applicable law or agreed to in writing, software |
|
13 | * distributed under the License is distributed on an "AS IS" BASIS, |
|
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
15 | * See the License for the specific language governing permissions and |
|
16 | * limitations under the License. |
|
17 | */ |
|
18 | ||
19 | /** |
|
20 | * This is used to connect to a MSSQL database. For now, this class |
|
21 | * simply extends the adaptor for Sybase. You can use one of several |
|
22 | * commercial JDBC drivers; the one I use is: |
|
23 | * |
|
24 | * i-net SPRINTA(tm) 2000 Driver Version 3.03 for MS SQL Server |
|
25 | * http://www.inetsoftware.de/ |
|
26 | * |
|
27 | * @author <a href="mailto:gonzalo.diethelm@sonda.com">Gonzalo Diethelm</a> |
|
28 | * @version $Id: DBMSSQL.java 239630 2005-08-24 12:25:32Z henning $ |
|
29 | */ |
|
30 | public class DBMSSQL extends DBSybase |
|
31 | { |
|
32 | /** |
|
33 | * Empty constructor. |
|
34 | */ |
|
35 | protected DBMSSQL() |
|
36 | 0 | { |
37 | 0 | } |
38 | ||
39 | /** |
|
40 | * This method is used to chek whether the database natively |
|
41 | * supports limiting the size of the resultset. |
|
42 | * |
|
43 | * @return True. |
|
44 | */ |
|
45 | public boolean supportsNativeLimit() |
|
46 | { |
|
47 | 0 | return false; |
48 | } |
|
49 | } |
This report is generated by jcoverage, Maven and Maven JCoverage Plugin. |