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
<datasource jta="true" jndi-name="java:jboss/datasources/TweetCamp" pool-name="TweetCampDS" enabled="true" use-java-context="true" use-ccm="true"> | |
<connection-url>jdbc:mysql://localhost:3306/TweetCamp</connection-url> | |
<driver>mysql</driver> | |
<pool> | |
<min-pool-size>10</min-pool-size> | |
<max-pool-size>100</max-pool-size> | |
<prefill>true</prefill> | |
<use-strict-min>false</use-strict-min> | |
<flush-strategy>FailingConnectionOnly</flush-strategy> | |
</pool> |
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
<driver name="mysql" module="com.mysql"> | |
<xa-datasource-class>com.mysql.jdbc.jdbc2.optional.MysqlXADataSource</xa-datasource-class> | |
</driver> |
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"?> | |
<module xmlns="urn:jboss:module:1.0" name="com.mysql"> | |
<resources> | |
<resource-root path="mysql-connector-java-5.1.24-bin.jar"/> | |
</resources> | |
<dependencies> | |
<module name="javax.api"/> | |
</dependencies> | |
</module> |
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
@Entity | |
public class Product implements Serializable { | |
@Id | |
private Long id; | |
@Transient | |
private String translation; | |
public String getTranslation() { | |
return translation; |
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
@XmlRootElement | |
@Entity | |
@Table(name = "sc_table") | |
@Inheritance(strategy = InheritanceType.JOINED) | |
@DiscriminatorColumn(name = "sc_table_type", discriminatorType = DiscriminatorType.STRING) | |
public class ScTable extends ScModel implements Serializable { | |
@Getter | |
@Setter | |
@Column(name = "code") | |
private String code; |
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
<plugin> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>2.3.2</version> | |
<configuration> | |
<source>1.6</source> | |
<target>1.6</target> | |
<encoding>UTF-8</encoding> | |
<compilerArgument>-proc:none</compilerArgument> | |
</configuration> | |
</plugin> |
NewerOlder