kumuluz / kumuluzee-rest

KumuluzEE REST extension for implementation of common, advanced and flexible REST API functionalities and patterns as microservices.
https://ee.kumuluz.com
Other
8 stars 4 forks source link

JPA 2.2, stream support, JPA UUID LIKE operations #5

Closed gpor0 closed 4 years ago

gpor0 commented 5 years ago

Here comes streams support for kumuluzee-rest with help of JPA 2.2. This approach is needed to achieve better reactive programming pattern. Additional fixes supports LIKE SQL operations on UUID fields. This feature needs further testing & review therefore its status is WIP.

gpor0 commented 5 years ago

Hibernate has problems when returning entity stream if other queries are executed in the meantime of current stream is being opened. This should be marked as a known issue. Seems like when transaction is active everything works ok. The object is already closed [90007-192] org.hibernate.exception.GenericJDBCException: could not advance using next()