1 /**
2 * Logback: the reliable, generic, fast and flexible logging framework.
3 *
4 * Copyright (C) 1999-2006, QOS.ch
5 *
6 * This library is free software, you can redistribute it and/or modify it under
7 * the terms of the GNU Lesser General Public License as published by the Free
8 * Software Foundation.
9 */
10
11 package ch.qos.logback.core.db.dialect;
12
13 /**
14 * The Oracle dialect. Tested successfully on Oracle9i Release 9.2.0.3.0 by
15 * James Stauffer.
16 *
17 * @author Ceki Gülcü
18 */
19 public class OracleDialect implements SQLDialect {
20 public static final String SELECT_CURRVAL = "SELECT logging_event_id_seq.currval from dual";
21
22 public String getSelectInsertId() {
23 return SELECT_CURRVAL;
24 }
25
26 }