1 23 24 package com.sun.jdo.spi.persistence.support.sqlstore.database; 25 26 import java.util.List ; 27 import java.sql.PreparedStatement ; 28 import java.sql.SQLException ; 29 import java.sql.DatabaseMetaData ; 30 31 import com.sun.jdo.api.persistence.support.SpecialDBOperation; 32 33 38 public class BaseSpecialDBOperation implements SpecialDBOperation { 39 42 public void initialize(DatabaseMetaData metaData, 43 String identifier) throws SQLException { 44 } 45 46 49 public void defineColumnTypeForResult( 50 PreparedStatement ps, List columns) throws SQLException { 51 } 52 53 56 public void bindFixedCharColumn(PreparedStatement ps, 57 int index, String strVal, int length) throws SQLException { 58 ps.setString(index, strVal); 59 } 60 61 } 62 | Popular Tags |