The 200 issue of Mokabyte is online (http://www.mokabyte.it). It is the most important Italian web magazine about Java technologies and Agile methodologies. I am really proud to have given a contribution writing several articles (here's one, http://www2.mokabyte.it/cms/article.run?articleId=7TK-XI4-MRI-VMN_7f000001_13046033_40989f48) for it during the period 2006-2013 . I want to congratulate Giovanni Puliti, Francesco Saliola and all the people who made that magazine great. Thanks a lot guys!
jOOQ allows code generation from a database schema through ANT tasks, Maven and shell command tools. But if you're working with Eclipse it's easier to create a new Run Configuration to perform this operation. First of all you have to write the usual XML configuration file for the code generation starting from the database: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <configuration xmlns="http://www.jooq.org/xsd/jooq-codegen-2.0.4.xsd"> <jdbc> <driver>oracle.jdbc.driver.OracleDriver</driver> <url>jdbc:oracle:thin:@dbhost:1700:DBSID</url> <user>DB_FTRS</user> <password>password</password> </jdbc> <generator> <name>org.jooq.util.DefaultGenerator</name> <database> <name>org.jooq.util.oracle.OracleDatabase</name> ...
Comments
Post a Comment