>
> I'd like to generate only the sproc, is it possible?
>
You can always restrict generated artefacts by specifying <includes/> and
<excludes/> tags in the code generator configuration as documented here:
http://www.jooq.org/doc/3.0/manual/code-generation/codegen-configuration

Unfortunately, in your case, excludes match before includes. So generating
only one stored procedure is a bit of a pain.

Also I need to connect to more than 1 database in our project, both SQL
> Server, with different connection string, how to do so? Thx in advance.


You will have to run the code generator twice, with two different
configurations and preferably two different output directories.

I found a way, you can simply do this by restricting the user specified in
> the codegen configuration file can only access stored procedure and no
> other stuff. Thus problem solved.
>

Good idea, thanks for sharing!

Cheers
Lukas

2013/3/6 Wakin Imgen <[email protected]>

> I found a way, you can simply do this by restricting the user specified in
> the codegen configuration file can only access stored procedure and no
> other stuff. Thus problem solved.
>
> On Tuesday, March 5, 2013 10:34:43 PM UTC-8, Wakin Imgen wrote:
>
>> I'd like to generate only the sproc, is it possible?
>> Also I need to connect to more than 1 database in our project, both SQL
>> Server, with different connection string, how to do so? Thx in advance.
>>
>  --
> 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.
>
>
>

-- 
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