Why does this occur? Why jOOQ can't read the database correctly?<configuration>
<!-- JDBC connection parameters -->
<jdbc>
<driver>org.sqlite.JDBC</driver>
<url>jdbc:sqlite:patan.sqlite</url>
<user></user>
<password></password>
</jdbc>
<!-- Generator parameters -->
<generator>
<name>org.jooq.util.DefaultGenerator</name>
<database>
<name>org.jooq.util.sqlite.SQLiteDatabase</name>
<includes>.*</includes>
<excludes></excludes>
<inputSchema></inputSchema>
</database>
<target>
<packageName>ru.PatAn.database</packageName>
<directory>target/database</directory>
</target>
</generator>
</configuration>
here is the result of code generation:[INFO] No <inputSchema/> was provided. Generating ALL available schemata instead!
[INFO] Database parameters
[INFO] ----------------------------------------------------------
[INFO] dialect : SQLITE
[INFO] target dir : target/database
[INFO] target package : ru.diowo.PatAn.database
[INFO] ----------------------------------------------------------
[INFO]
[INFO] DefaultGenerator parameters
[INFO] ----------------------------------------------------------
[INFO] strategy : class org.jooq.util.DefaultGeneratorStrategy
[INFO] deprecated : true
[INFO] generated annotation : true
[INFO] JPA annotations : false
[INFO] validation annotations : false
[INFO] instance fields : true
[INFO] records : true
[INFO] pojos : false
[INFO] immutable pojos : false
[INFO] interfaces : false
[INFO] daos : false
[INFO] relations : true
[INFO] global references : true
[INFO] ----------------------------------------------------------
[INFO] Emptying : /home/bvn13/workspace/PatAn/ru.diowo.PatAn.database/target/database/ru/diowo/PatAn/database
[INFO] Generating schemata : Total: 1
[INFO] Generating schema : DefaultSchema.java
[INFO] ----------------------------------------------------------
[INFO] Sequences fetched : 0 (0 included, 0 excluded)
[INFO] Tables fetched : 0 (0 included, 0 excluded)
[INFO] UDTs fetched : 0 (0 included, 0 excluded)
[INFO] ARRAYs fetched : 0 (0 included, 0 excluded)
[INFO] Enums fetched : 0 (0 included, 0 excluded)
[INFO] Routines fetched : 0 (0 included, 0 excluded)
[INFO] Packages fetched : 0 (0 included, 0 excluded)
[INFO] GENERATION FINISHED! : Total: 528.291ms
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
and here is my libs and their versions:<dependency>
<groupId>org.jooq</groupId>
<artifactId>jooq</artifactId>
<version>3.3.1</version>
</dependency>
<dependency>
<groupId>org.jooq</groupId>
<artifactId>jooq-codegen</artifactId>
<version>3.3.1</version>
</dependency>
<dependency>
<groupId>org.jooq</groupId>
<artifactId>jooq-codegen-maven</artifactId>
<version>3.3.1</version>
<type>maven-plugin</type>
</dependency>
<dependency>
<groupId>org.jooq</groupId>
<artifactId>jooq-meta</artifactId>
<version>3.3.1</version>
</dependency>
<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>3.7.2</version>
</dependency>
SELECT * FROM sqlite_master
--
You received this message because you are subscribed to the Google Groups "jOOQ User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jooq-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
SELECT * FROM sqlite_master
Class.forName("org.sqlite.JDBC");
Connection connection = DriverManager.getConnection("jdbc:sqlite:/home/bvn13/workspace/PatAn/patan.sqlite");
Statement statement = connection.createStatement();
System.out.println("Successfully connected.");
ResultSet resultSet = statement
.executeQuery("SELECT * FROM sqlite_master");
resultSet.next();
System.out.println("RES: "+resultSet.getString("tbl_name"));Successfully connected.
RES: cases