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
NamedNativeQuery( | |
name="Foobar.findByBlahAndBlub" | |
query="Select * from foobar where blah_id = :blah and lower(blub) = :blub" | |
) | |
Optional<Foobar> findByBlahAndBlub(Blah blah, String blub); | |
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
Checking compile classpath | |
Checking runtime classpath | |
Checking test classpath | |
Found duplicate (but equal) classes in [net.minidev:accessors-smart:1.1, org.ow2.asm:asm:5.0.3]: | |
org.objectweb.asm.AnnotationVisitor | |
org.objectweb.asm.AnnotationWriter | |
org.objectweb.asm.Attribute | |
org.objectweb.asm.ByteVector | |
org.objectweb.asm.ClassReader | |
org.objectweb.asm.ClassVisitor |
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
CREATE OR REPLACE TYPE T_SBFA_ASPECT_INSTANCE_FACTORY AS OBJECT ( | |
CONSTRUCTOR FUNCTION T_SBFA_ASPECT_INSTANCE_FACTORY RETURN self AS result, | |
MEMBER PROCEDURE SET_ASPECT_BEAN_NAME(P_ASPECT_BEAN_NAME IN VARCHAR2), | |
MEMBER FUNCTION GETASPECTINSTANCE RETURN OBJECT | |
) | |
/ |
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 patternexamples; | |
import java.util.ArrayList; | |
import java.util.Collections; | |
import java.util.List; | |
import java.util.function.Function; | |
public class Sandwich { | |
private final String bread; |
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
# this is create_tablespace_and_user.sql | |
-- Change to PDB which was created inside parent iamge | |
ALTER SESSION SET CONTAINER = ORCLPDB1; | |
-- Enable Enterprise Manager Express on port 5501 | |
EXEC dbms_xdb_config.sethttpsport(5501); | |
-- Create table space for demo application | |
CREATE SMALLFILE TABLESPACE "DOAG2016" |
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
socat TCP-LISTEN:2376,reuseaddr,fork UNIX-CLIENT:/var/run/docker.sock |
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
<build> | |
<plugins> | |
<plugin> | |
<groupId>io.fabric8</groupId> | |
<artifactId>docker-maven-plugin</artifactId> | |
<version>0.15.16</version> | |
<configuration> | |
<images> | |
<image> | |
<name>enerko/ihldb</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
@Entity | |
@Table(name = "things") | |
public class ThingEntity { | |
@Id | |
private Long id; | |
// Needed for use with Hibernate Spatial 4.x | |
// @Type(type = "org.hibernate.spatial.GeometryType") | |
private Geometry geometry; |
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 Foobar { | |
public enum Bazbar { | |
BAR, | |
BAZ {public void fump() {System.out.println("Baz");}}, | |
FUMP; | |
public void fump(){System.out.println("Bazbar");} | |
} | |
public static void main(String...a) { |