jooq sybase code generation issue -
i using sybase ase database. when trying generate code using jooq shows following warning.but no code generation done. in advance!
//--------------------------------warning-----------------------------------// jul 19, 2016 5:49:17 pm org.jooq.tools.jooqlogger warn warning: no schemata loaded : please check connection settings, , whether database (and database version!) supported jooq. also, check case-sensitivity in configured <inputschema/> elements : [xfuse] jul 19, 2016 5:49:17 pm org.jooq.tools.jooqlogger info info: generating schemata : total: 0
-->config file------->>>><<<------->>>
<?xml version="1.0" encoding="utf-8" standalone="yes"?> <configuration xmlns="http://www.jooq.org/xsd/jooq-codegen-3.8.0.xsd"> <jdbc> <driver>com.sybase.jdbc3.jdbc.sybdriver</driver> <url>jdbc:sybase:tds:192.168.xx.xx:5000/xfuse</url> <user>xxx</user> <password>xxx</password> </jdbc> <generator> <database> <name>org.jooq.util.ase.asedatabase</name> <inputschema>xfuse</inputschema> <includes>.*</includes> <excludes></excludes> </database> <target> <packagename>com.gen</packagename> <directory>e:/rd/test/codegeneration/output</directory> </target> </generator> </configuration>
from jdbc url, take you're perhaps confusing database name schema name.
jdbc:sybase:tds:192.168.xx.xx:5000/xfuse // database name ------------------^^^^^
what should provide <inputschema>
schema name. if you're unsure schema name is, dbo
in sybase.
to sure, can remove <inputschema/>
element , run code generator. way, generate code all of schemas in xfuse
database.
Comments
Post a Comment