$ wget -O - https://downloads.mongodb.com/compass/mongosh-0.5.2-linux.tgz | tar -C /usr/local/bin -xzf -
$ wget -O - https://downloads.mongodb.com/compass/mongosh-1.3.1-linux-x64.tgz | tar --strip-components 2 -C /usr/local/bin -xzf -
$ wget -O - https://downloads.mongodb.com/compass/mongosh-0.5.2-linux.tgz | tar -C /usr/local/bin -xzf -
$ wget -O - https://downloads.mongodb.com/compass/mongosh-1.3.1-linux-x64.tgz | tar --strip-components 2 -C /usr/local/bin -xzf -
<aop:config> | |
<aop:pointcut id="serviceOperation" expression="your-pointcut-expression" /> | |
<aop:advisor advice-ref="transactionAdvice" pointcut-ref="serviceOperation" /> | |
</aop:config> | |
<tx:advice id="transactionAdvice" transaction-manager="transactionManager"> | |
<tx:attributes> | |
<tx:method name="*" read-only="false" /> | |
<tx:method name="find*" read-only="true" rollback-for="java.lang.Exception" /> | |
<tx:method name="get*" read-only="true" rollback-for="java.lang.Exception" /> |
<!-- non-XA Oracle DS wrapped with UCP with UCP pooled data source Factory --> | |
<bean id="dataSource" class="oracle.ucp.jdbc.PoolDataSourceFactory" factory-method="getPoolDataSource"> | |
<property name="URL" value="jdbc:oracle:thin:@myserver:1521:mysid" /> | |
<property name="user" value="myuser" /> | |
<property name="password" value="mypassword" /> | |
<property name="connectionFactoryClassName" value="oracle.jdbc.pool.OracleDataSource" /> | |
<property name="connectionPoolName" value="ANAG_POOL" /> | |
<property name="minPoolSize" value="5" /> | |
<property name="maxPoolSize" value="10" /> | |
<property name="initialPoolSize" value="5" /> |
<?xml version="1.0"?> | |
<!-- Download Maven ant tasks jar form http://maven.apache.org/ant-tasks/download.html and drop it into your $ANT_HOME/lib --> | |
<project name="mavenized-liferay-plugins-build" basedir="." xmlns:artifact="antlib:org.apache.maven.artifact.ant" default="copy-dependencies-and-deploy"> | |
<import file="../build-common-portlet.xml" /> | |
<property name="app.lib.dir" value="docroot/WEB-INF/lib" /> | |
<!-- Include the your project dependencies --> |