Re: In 4.1.RC2, how to contribute/replace PKGenerator

2020-01-28 Thread jmdia...@yahoo.com.INVALID
Thanks. You are great. El martes, 28 de enero de 2020 7:44:42 GMT-6, Nikita Timofeev escribió: Hi, You shouldn't inject an adapter in the constructor, it's not in DI container directly. Try to define only default constructor: public PcExpressPosUUIDPkGenerator() {     super(); } On

Re: In 4.1.RC2, how to contribute/replace PKGenerator

2020-01-28 Thread Nikita Timofeev
Hi, You shouldn't inject an adapter in the constructor, it's not in DI container directly. Try to define only default constructor: public PcExpressPosUUIDPkGenerator() { super(); } On Tue, Jan 28, 2020 at 4:28 AM Juan Manuel Diaz Lara wrote: > > My DB is postgres, how can I contribute/repla

In 4.1.RC2, how to contribute/replace PKGenerator

2020-01-27 Thread Juan Manuel Diaz Lara
My DB is postgres, how can I contribute/replace de PostgresPkGenerator with my own implementation to genera UUID's as PK's: public class PcExpressPosUUIDPkGenerator extends PostgresPkGenerator {     public PcExpressPosUUIDPkGenerator(@Inject PostgresAdapter adapter) {         super(adapter);     }