class org.hibernate.dialect.DB2400Dialect$1 extends org.hibernate.dialect.pagination.AbstractLimitHandler
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.hibernate.dialect.DB2400Dialect$1
super_class: org.hibernate.dialect.pagination.AbstractLimitHandler
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.hibernate.dialect.pagination.AbstractLimitHandler.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/dialect/DB2400Dialect$1;
public java.lang.String processSql(java.lang.String, org.hibernate.engine.spi.RowSelection);
descriptor: (Ljava/lang/String;Lorg/hibernate/engine/spi/RowSelection;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokestatic org.hibernate.dialect.pagination.LimitHelper.hasFirstRow:(Lorg/hibernate/engine/spi/RowSelection;)Z
ifeq 5
1: new java.lang.StringBuilder
dup
ldc "select * from ( select inner2_.*, rownumber() over(order by order of inner2_) as rownumber_ from ( "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
2: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " fetch first "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
aload 2
invokevirtual org.hibernate.dialect.DB2400Dialect$1.getMaxOrLimit:(Lorg/hibernate/engine/spi/RowSelection;)I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " rows only ) as inner2_ ) as inner1_ where rownumber_ > "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: aload 2
invokevirtual org.hibernate.engine.spi.RowSelection.getFirstRow:()Ljava/lang/Integer;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " order by rownumber_"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
5: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " fetch first "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
aload 2
invokevirtual org.hibernate.dialect.DB2400Dialect$1.getMaxOrLimit:(Lorg/hibernate/engine/spi/RowSelection;)I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " rows only"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/hibernate/dialect/DB2400Dialect$1;
0 6 1 sql Ljava/lang/String;
0 6 2 selection Lorg/hibernate/engine/spi/RowSelection;
MethodParameters:
Name Flags
sql
selection
public boolean supportsLimit();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/dialect/DB2400Dialect$1;
public boolean useMaxForLimit();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/dialect/DB2400Dialect$1;
public boolean supportsVariableLimit();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/dialect/DB2400Dialect$1;
}
SourceFile: "DB2400Dialect.java"
EnclosingMethod: org.hibernate.dialect.DB2400Dialect
NestHost: org.hibernate.dialect.DB2400Dialect
InnerClasses:
org.hibernate.dialect.DB2400Dialect$1