Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-02

weblogic.ejbgen
Annotation Type AutomaticKeyGeneration


@Retention(value=CLASS)
@Target(value=java.lang.annotation.ElementType.TYPE)
public @interface AutomaticKeyGeneration


Required Element Summary
 AutomaticKeyGeneration.AutomaticKeyGenerationType type
          (Identity|Sequence|SequenceTable) Specifies the type of the key generator.
 
Optional Element Summary
 String cacheSize
          Specifies the size of the key cache.
 String name
          Names the key generator.
 Constants.Bool selectFirstSequenceKeyBeforeUpdate
          Specifies if select first sequence key before update
 

Element Detail

type

public abstract AutomaticKeyGeneration.AutomaticKeyGenerationType type
(Identity|Sequence|SequenceTable) Specifies the type of the key generator.

cacheSize

public abstract String cacheSize
Specifies the size of the key cache.

Default:
"UNSPECIFIED"

name

public abstract String name
Names the key generator.

Default:
"UNSPECIFIED"

selectFirstSequenceKeyBeforeUpdate

public abstract Constants.Bool selectFirstSequenceKeyBeforeUpdate
Specifies if select first sequence key before update

Default:
weblogic.ejbgen.Constants.Bool.UNSPECIFIED

Copyright 1996, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-02