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
<?xml version="1.0" encoding="UTF-8"?> | |
<beans:beans xmlns="http://www.springframework.org/schema/security" | |
xmlns:beans="http://www.springframework.org/schema/beans" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://www.springframework.org/schema/beans | |
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd | |
http://www.springframework.org/schema/security | |
http://www.springframework.org/schema/security/spring-security-3.1.xsd"> | |
<global-method-security secured-annotations="enabled" jsr250-annotations="enabled"/> |
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
-- 2. Aggregatfunktionen | |
-- 1) | |
SELECT MIN(e.salary), | |
MAX(e.salary) | |
FROM employees e | |
-- 2) | |
SELECT AVG(e.salary), | |
SUM(e.salary) |
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
public class Account { | |
public enum Type { | |
SAVINGS, CHECKING | |
} | |
private String id; | |
private String accountNumber; |
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
<bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> | |
<property name="location"> | |
<value>classpath:project.properties</value> | |
</property> | |
</bean> | |
<bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource"> | |
<property name="driverClassName"> | |
<value>${jdbc.driver}</value> | |
</property> |
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 de.sharea.svnpad.dao.entities; | |
import javax.persistence.*; | |
@Entity | |
public class Repository { | |
@Id | |
@GeneratedValue(strategy = GenerationType.AUTO) | |
private Integer id; |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Diagnostics; | |
using System.Runtime.InteropServices; | |
public unsafe class ProcessMemory | |
{ | |
[DllImport("Kernel32.dll")] |
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 de.jsftutorial; | |
import javax.faces.bean.ManagedBean; | |
/** | |
* Created by Patrick Trautmann | |
* <p/> | |
* Contact: patrick.trautmann@gmail.com | |
* Date: 13.01.12 | |
* Time: 18:57 |
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 de.promichel.beans; | |
/** | |
* Created by Patrick Trautmann | |
* <p/> | |
* Contact: patrick.trautmann@gmail.com | |
* Date: 30.01.12 | |
* Time: 20:09 | |
*/ | |
public class Book { |
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
/* Button Colors */ | |
@btnNormal: #679FD2; | |
@btnSuccess: #4EA429; | |
@btnWarn: #FF7400; | |
@btnError: #BF3030; | |
@greyscale: #CCC; | |
body { | |
font-family: 'PT Sans Narrow', sans-serif; |