Re: [Sikuli-driver] [Question #269719]: sikuli connect postgre database

2015-08-14 Thread Launchpad Janitor
Question #269719 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269719

Status: Open = Expired

Launchpad Janitor expired the question:
This question was expired because it remained in the 'Open' state
without activity for the last 15 days.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #269719]: sikuli connect postgre database

2015-08-08 Thread masuo
Question #269719 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269719

masuo posted a new comment:
If you are using SikuliX1.1.0
Simple solution,I think you can use the load().

I use sikuliX1.1.0 in windows.
For example,
load(c:/driver/postgresql-.jar)

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #269719]: sikuli connect postgre database

2015-07-29 Thread kiyo
Question #269719 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269719

kiyo gave more information on the question:
i have try the method you said ,idownload zxJDBC
jar and put it into my project,and i also
set the jar as classpath   
my code:
import sys
from com.ziclix.python.sql import zxJDBC

connection1 = zxJDBC.connect('jdbc:odbc:test_odbc', 'postgres', 'postgres', 
'sun.jdbc.odbc.JdbcOdbcDriver')
print JDBC:ODBC connection set
connection2 = 
zxJDBC.connect('jdbc:postgresql://127.0.0.1/test?stringtype=unspecified', 
'postgres', 'postgres', 'org.postgresql.Driver')
print JDBC native connection set

log
connection1 = zxJDBC.connect('jdbc:odbc:test_odbc', 'postgres', 'postgres', 
'sun.jdbc.odbc.JdbcOdbcDriver')
zxJDBC.DatabaseError: driver [sun.jdbc.odbc.JdbcOdbcDriver] not found

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #269719]: sikuli connect postgre database

2015-07-28 Thread Tak Eda
Question #269719 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269719

Status: Open = Answered

Tak Eda proposed the following answer:
What have you tried so far?

If you want pointers to get started, look here:
http://stackoverflow.com/questions/468763/how-to-connect-to-database-
from-jython

Please post your code after reading the above

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp