This file contains hidden or 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 br.com.myproject.model.repository; | |
| import javax.persistence.EntityManager; | |
| import javax.persistence.EntityManagerFactory; | |
| import javax.persistence.Persistence; | |
| import org.junit.AfterClass; | |
| import org.junit.BeforeClass; | |
| /** |
This file contains hidden or 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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"> | |
| <persistence-unit name="projeto-ejbPU-test" transaction-type="RESOURCE_LOCAL"> | |
| <provider>org.hibernate.ejb.HibernatePersistence</provider> | |
| <class>suas.classes.aqui</class> | |
| ... | |
| <properties> | |
| <property name="javax.persistence.jdbc.driver" value="org.hsqldb.jdbc.JDBCDriver" /> | |
| <property name="javax.persistence.jdbc.url" value="jdbc:hsqldb:mem:beamasset-test" /> | |
| <property name="javax.persistence.jdbc.user" value="sa" /> |
This file contains hidden or 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 br.com.beamasset.model.annotation; | |
| import java.lang.annotation.ElementType; | |
| import java.lang.annotation.Retention; | |
| import java.lang.annotation.RetentionPolicy; | |
| import java.lang.annotation.Target; | |
| import javax.enterprise.context.Dependent; | |
| import javax.enterprise.inject.Stereotype; |
This file contains hidden or 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.webapp.useful; | |
| import java.util.HashMap; | |
| import java.util.Map; | |
| import org.eclipse.persistence.logging.AbstractSessionLog; | |
| import org.eclipse.persistence.logging.SessionLog; | |
| import org.eclipse.persistence.logging.SessionLogEntry; | |
| import org.slf4j.Logger; | |
| import org.slf4j.LoggerFactory; |
This file contains hidden or 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 br.com.appweb.model.assembler; | |
| import java.util.ArrayList; | |
| import java.util.List; | |
| import com.google.common.base.Function; | |
| /** | |
| * Transformation class to populate the data in XML, following the pattern | |
| * Transfer Object Assembler. |
This file contains hidden or 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
| CLASSPATH .;JAVA_HOME | |
| JAVA_HOME C:\Program Files\Java\jdk1.8.0_51 | |
| Path C:\Ruby21\bin;C:\Program Files\Java\jdk1.8.0_51\bin;C:\Program Files (x86)\apache-maven-3.3.3\bin;$MAGICK_HOME/bin:$PATH;%LiveConsolePath% |
This file contains hidden or 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 br.com.breakcaptcha.utils; | |
| import java.util.Date; | |
| /** | |
| * | |
| * @author Dilnei | |
| */ | |
| public class Degree { |
This file contains hidden or 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 br.com.weblog.model.pg; | |
| import static com.google.common.base.MoreObjects.firstNonNull; | |
| import java.io.Serializable; | |
| /** | |
| * Classe para prover paginação de resultados. | |
| * | |
| * @author Otávio Scherer Garcia | |
| */ |
This file contains hidden or 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 br.com.weblog.web.component; | |
| import javax.inject.Inject; | |
| import br.com.caelum.vraptor.Accepts; | |
| import br.com.caelum.vraptor.AfterCall; | |
| import br.com.caelum.vraptor.AroundCall; | |
| import br.com.caelum.vraptor.BeforeCall; | |
| import br.com.caelum.vraptor.Intercepts; | |
| import br.com.caelum.vraptor.Result; | |
| import br.com.caelum.vraptor.controller.ControllerMethod; |
This file contains hidden or 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 br.com.dilneicunhaweblog.web.componente; | |
| import javax.enterprise.inject.Specializes; | |
| import br.com.caelum.vraptor.controller.ControllerMethod; | |
| import br.com.caelum.vraptor.view.DefaultPathResolver; | |
| import br.com.dilneicunhaweblog.web.annotation.Tiles; | |
| import java.util.logging.Level; | |
| import java.util.logging.Logger; | |
| @Specializes |