Tag: Sybase

FruitCreation.java: Creates a simple table named fruits in either an Oracle or a Sybase database.

FruitCreation.java Creates a simple table named fruits in either an Oracle or a Sybase database. package cwp; import java.sql.*; /** Creates a simple table named “fruits” in either  *  an Oracle or a Sybase database.  *    */ public class FruitCreation {   public static void main(String[] args) {     if (args.length < 5) { …

Continue reading

Some simple utilities for building Oracle and Sybase JDBC connections

এই সাধারণ উদ্দেশ্যে তৈরিকৃত কোড নয় – এটা আমাদের লোকাল সেটআপ এর ক্ষেত্রে প্রযোজ্য।     package cwp; /** Some simple utilities for building Oracle and Sybase  *  JDBC connections. This is not general-purpose  *  code — it is specific to my local setup.  */ public class DriverUtilities {   public static final int ORACLE = …

Continue reading

FruitTest.java: A class that connects to either an Oracle or a Sybase database and prints out the values of predetermined columns in the “fruits” table.

# FruitTest.java  A class that connects to either an Oracle or a Sybase database and prints out the values of predetermined columns in the “fruits” table. package cwp; import java.sql.*; /** A JDBC example that connects to either an Oracle or  *  a Sybase database and prints out the values of  *  predetermined columns in …

Continue reading