gem install --http-proxy http://COMPANY.PROXY.ADDRESS $gem_name
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sleep 10 | |
persistence.xml
<!-- Important property in order OpenJPA to work on JBoss EAP 6.1.x an later -->
location
${JBOSS_HOME}\modules\system\layers\base\org\jboss\as\jpa\openjpa\main
dependencies
jboss-as-jpa-openjpa-7.2.0.Final.jar
download: jboss-as-jpa-openjpa-7.2.0.Final.jar
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.domain.project; | |
import java.io.Serializable; | |
import java.util.Hashtable; | |
import java.util.Map; | |
import java.util.Vector; | |
import java.util.concurrent.atomic.AtomicInteger; | |
import org.eclipse.persistence.config.SessionCustomizer; | |
import org.eclipse.persistence.internal.databaseaccess.Accessor; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.domain.project; | |
import java.io.Serializable; | |
import java.util.Hashtable; | |
import java.util.Map; | |
import java.util.concurrent.atomic.AtomicInteger; | |
import org.apache.openjpa.kernel.Seq; | |
import org.apache.openjpa.kernel.StoreContext; | |
import org.apache.openjpa.meta.ClassMetaData; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.domain.project; | |
import java.io.Serializable; | |
import java.util.Hashtable; | |
import java.util.Map; | |
import java.util.concurrent.atomic.AtomicInteger; | |
import org.hibernate.HibernateException; | |
import org.hibernate.engine.spi.SessionImplementor; | |
import org.hibernate.id.IdentifierGenerator; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <time.h> | |
#include <string.h> | |
/** | |
* Definindo a porcentagem de changes para | |
* executação do laço que cria o nível do nó. | |
* Nesse caso, 50% de chance que o laço executará uma vez. | |
*/ |
NewerOlder