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

Part Number E41849-02

weblogic.ejbgen
Annotation Type SqlShape


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


Required Element Summary
 String name
          Specifies exactly the signature to be generated on the Home class.
 
Optional Element Summary
 int passThroughColumns
          Name of the SQL Shape to use for this finder query
 String[] relationNames
          Name of the SQL Shape to use for this finder query
 SqlShapeTable[] tables
          Name of the SQL Shape to use for this finder query
 

Element Detail

name

public abstract String name
Specifies exactly the signature to be generated on the Home class. EJBGen will add the conformant exceptions, but you must specify the fully qualified type of each parameter, even if it belongs to java.lang.

relationNames

public abstract String[] relationNames
Name of the SQL Shape to use for this finder query

Default:
{}

tables

public abstract SqlShapeTable[] tables
Name of the SQL Shape to use for this finder query

Default:
{}

passThroughColumns

public abstract int passThroughColumns
Name of the SQL Shape to use for this finder query

Default:
0

Copyright 1996, 2014, 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.3)

Part Number E41849-02