Hibernate 5 : generator class=“sequence” not working

after upgrade hibernate 4 to 5 sequence not working and hibernate get next val from hibernate_sequence  but  I solved it by re-configuring mapping in the HBM file from: <generator class="sequence">            <param name="sequence">PRODUCT_ID_SEQ</param> </generator> to: <generator class="org.hibernate.id.enhanced.SequenceStyleGenerator">           <param name="prefer_sequence_per_entity">true</param>        ... [Read More]

Oracle Table Flash Back Query

From Oracle Ver. 9i Oracle has introduced Flashback Query feature.  It is useful to recover from accidental statement failures. For example, suppose a user accidently deletes rows from a table and commits it also then, using flash back query he can get back the rows. Flashback feature depends upon on... [Read More]

cargo-maven2-plugin

after using tomcat 7 maven plugin i want to upgrade my app to tomcat 8 to support java 8 but  tomcat 8 dont have maven plugin and after serach in google i found Cargo maven plugin that support tomcat 8 and other app server .it is very easy to use .... [Read More]

proxy(forward proxy) vs reverse proxy

A reverse proxy is mostly a server-side concept, and is usually used in the context of CDNs (content distribution networks) for caching static HTTP content. A forward proxy is usually a client side concept used for anonymity, to subvert censorship, and (back in the days of dial-up) as a web... [Read More]