orm - Using JOOQ in AWS Lambda -


have tried using jooq aws lambda? using same working config have previous project runs on tomcat , transitioned lambda. lambda not getting passed query part. if run standard prepared statement working ok not vpc/access or other infrastructure issue.

jooq code: final street street = dsl.using(configuration).select(street.fields()).from(street) .where(street.address.eq(message.address()) .fetchoneinto(street.class));

i initializing config:

@bean public defaultconfiguration configuration() {     defaultconfiguration jooqconfiguration = new defaultconfiguration();     jooqconfiguration.set(connectionprovider());     jooqconfiguration.set(new defaultexecutelistenerprovider(exceptiontransformer()));      string sqldialectname = environment.getrequiredproperty("jooq.sql.dialect");     sqldialect dialect = sqldialect.valueof(sqldialectname);     jooqconfiguration.set(dialect);      return jooqconfiguration; } 

my bad, there issue query. jooq works great!


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -

What is happening when Matlab is starting a "parallel pool"? -