View Javadoc

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  package ch.qos.logback.core.db.dialect;
11  
12  /**
13   * The HSQLDB dialect.
14   * 
15   * @author Ceki Gülcü
16   */
17  public class HSQLDBDialect implements SQLDialect {
18    public static final String SELECT_CURRVAL = "CALL IDENTITY()";
19  
20    public String getSelectInsertId() {
21      return SELECT_CURRVAL;
22    }
23    
24  }