2013/4/12 Peter Ertl <[email protected]>:
> No need to worry Lukas,
>
> no rudeness detected by myself :-)

Whew

> I think having a prefix or not is to some degree a matter of personal taste.
>
> However having an field in your repository / dao / service / etc.
>
>   @Inject
>   private Configuration configuration;
>
> just does not tell very much at all (especially for people having to
> maintain code).
>
> It's not necessarily a 'prefix' when you call it 'DatabaseConfiguration' or
> 'DslConfiguration' (similar to DslContext).

No, but they're not compelling renames, either.

- DatabaseConfiguration is just as good as Configuration, in my opinion
- DSLConfiguration is wrong, as it doesn't configure the DSL

> However after thinking again on this issue I changed my mind from +1 to +0
> since it's not too important and could be easily avoided using some database
> access bean / encapsulation :-)

Yes. Another workaround:

   @Inject
   private org.jooq.Configuration configuration;

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