Could you post your config?  I've used 2008 and 2012 without any problem.

Below is my config from my maven pom.xml  

This is going against 2012

John



            <plugin>
                <!-- Specify the maven code generator plugin -->
                <groupId>org.jooq</groupId>
                <artifactId>jooq-codegen-maven</artifactId>
                <version>3.0.1</version>

                <!-- The plugin should hook into the generate goal -->
                <executions>
                    <execution>
                        <id>exec0</id>
                        <goals>
                            <goal>generate</goal>
                        </goals>
                    </execution>
                </executions>
                <dependencies>

                    <dependency>
                        <groupId>com.microsoft</groupId>
                        <artifactId>sqljdbc4</artifactId>
                        <version>4.0</version>
                    </dependency>

                </dependencies>

                <!-- Specify the plugin configuration -->
                <configuration>

                    <jdbc>
                        
<driver>com.microsoft.sqlserver.jdbc.SQLServerDriver</driver>
                        
<url>jdbc:sqlserver://batman;user=bob_dev;password=secret</url>
                        <user>bob_dev</user>
                        <password>secret</password>
                    </jdbc>
                    
                    <!-- Generator parameters -->
                    <generator>
                        <!--<name>org.jooq.util.DefaultGenerator</name>-->
                        <database>
                            
<name>org.jooq.util.sqlserver.SQLServerDatabase</name>
                            <includes>.*</includes>
                            <excludes></excludes>
                            <schemata>
                                <schema>
                                    <inputSchema>dbo</inputSchema>
                                    <outputSchema>dbo</outputSchema>
                                </schema>
                            </schemata>
                        </database>
                        <generate>
                            <!--<dateAsTimestamp>false</dateAsTimestamp>-->
                            <records>true</records>
                            <daos>true</daos>
                        </generate>
                        <target>
                            
<packageName>com.bob.fun.service.gen</packageName>
                            <directory>src/main/java</directory>
                        </target>
                    </generator>
                </configuration>
            </plugin>



On Friday, September 20, 2013 12:24:59 PM UTC-5, Rob Nikander wrote:
>
> Hi, 
>
> I just tried to run the GenerationTool against an MS-SQL database. Got 
> this...
>
>     WARNING: No schemata were loaded  : Please check your connection 
> settings, and whether your database 
>     (and your database version!) is really supported by jOOQ. 
>     Also, check the case-sensitivity in your configured <inputSchema/> 
> elements : [guestbook]
>
> The JOOQ home page says you support SQL Server 2008 R8. I'm dealing with 
> R2. Would that cause this error? I was hoping it might work, but throw 
> exceptions on some features, which I might not use.
>
> Rob
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to