create.selectFrom(EMAILCONTACT)....stream()
CREATE TYPE my_type AS OBJECT (...);/CREATE TYPE my_table_type AS TABLE OF my_type;/
DECLARErecords my_table_type;BEGINrecords := ?;FORALL i IN 1 .. records.COUNTINSERT INTO target_tableVALUES records(i);
COMMIT;
END;
ctx.execute(aboceSqlString, new MyTableTypeRecord(listOfRecords));
--
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 jooq-user+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
just to name a few. Taking the mentioned real-world usecase as an example: In this case the exact content of the history entries are assembled from a dynamic Excel template using the openL rule engine. This is Java technologie without an alternative in PL/SQL.
Regards,
Jan
- Unit-Testability of the code
- Reuse of existing Java code modules
- Complicated business logic on the way from source records to destination records
- Different databases in development and production
- Missing knowhow to maintain PL/SQL
just to name a few. Taking the mentioned real-world usecase as an example: In this case the exact content of the history entries are assembled from a dynamic Excel template using the openL rule engine. This is Java technologie without an alternative in PL/SQL.
- Different databases in development and production
Interesting. Well, I don't have all the bits of information, and there might be huge pain hiding in bullet number 3, but I think you might be burning some money on Exadata there if you don't use PL/SQL :)
I've created a feature request for this:
Out of curiosity: What's your development database?
The reason for using an Exadata is not the Java-based operative system but the analytical data warehouse. But we are currently in preparation for a massive redesign to expand the business, and we will probably split the analytical and operative database so that the Exadata is no longer our basis.
I've created a feature request for this:Thanks a lot. Maybe we can help in the future :-)
Out of curiosity: What's your development database?At the moment the developers are working on locally installed Oracle XEs. But in case we moved to JOOQ (coming from PriDE) we would probably change that to make use of JOOQ's open source edition. As we have almost no Oracle-specific aspects in our code, we could dare to use different databases in development and production.
--
You received this message because you are subscribed to a topic in the Google Groups "jOOQ User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jooq-user/Yt5ZQOapNek/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jooq-user+unsubscribe@googlegroups.com.
Once JOOQ has a Java9 dependency that'd be great. In the meantime most of these libraries have convenicen APIs for this purpose. For instance to convert that stream into an RxJava observable is just Observable.from(jooqStream::iterator). It'd be nicer to say fetchIntoObservable but not much nicer :-)