Skip to content

Commit

Permalink
Niki Hansche added Sybase support
Browse files Browse the repository at this point in the history
  • Loading branch information
johncurrier committed Jun 9, 2005
1 parent 7e6485c commit 6767877
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/net/sourceforge/schemaspy/dbTypes/sybase.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
description=Sybase Server (jdbc3)

connectionSpec=jdbc:sybase:Tds:<host>:<port>/<db>
host=database server host
port=database port on host
db=database name

driver=com.sybase.jdbc3.jdbc.SybDriver

# you can use the -cp command line option if you prefer
driverPath=D:/Programme/sybase/jConnect-6_0/classes/jconn3.jar;C:/Programme/sybase/jConnect-6_0/classes/jconn3.jar;D:/Programs/sybase/jConnect-6_0/classes/jconn3.jar;C:/Programs/sybase/jConnect-6_0/classes/jconn3.jar

# if your driver returns failures like "stream already closed" then its metadata
# services probably aren't thread safe and you'll have to uncomment this line
# or specify "-dbThreads 1" on the command line.
#dbThreads=1

#selectViewSql=select text from syscomments sc, sysobjects so where sc.id=so.id and so.name=?

# untested...comment it out if it blows up
#selectCheckConstraintsSql=select distinct a.name constname, text from sysobjects a, syscomments b, sysobjects c where a.id = b.id and a.type = 'C'

9 changes: 9 additions & 0 deletions src/net/sourceforge/schemaspy/dbTypes/sybase2.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
description=Sybase Server (jdbc2)

# gory details in sybase.properties:
extends=sybase

driver=com.sybase.jdbc2.jdbc.SybDriver

# you can use the -cp command line option if you prefer
driverPath=D:/Programme/sybase/jConnect-5_5/classes/jconn2.jar;C:/Programme/sybase/jConnect-5_5/classes/jconn2.jar;D:/Programs/sybase/jConnect-5_5/classes/jconn2.jar;C:/Programs/sybase/jConnect-5_5/classes/jconn2.jar

0 comments on commit 6767877

Please sign in to comment.