Kodo doesn't create table for HashMap?

Hi,
here is the metadata
<class name="ClassA" identity-type="datastore" >
<field name="hashMapField">
<map key-type="ClassB" value-type="ClassC"/>
</field>
</class>
I found that Kodo use a BLOB to represent the HashMap field instead of
using a new table. So we can't check the actually data in the db?
Thank very much

Kodo 2.x can't persist maps where the key type is a first class object.
This feature will be in 3.0.

Similar Messages

  • Do I need to install Oracle database 12c on PC to create tables for Weblogic server

    Hi,
    I am new to WebLogic and I am following a book Java EE Development
    with Eclipse published by PACKT Publishing to learn  Java EE.  I have installed Oracle Enterprise Pack for Eclipse
    on the PC and I am able to log into the WebLogic Server
    Administration Console and set up a Data Source.  However the next step is to create
    tables for the database.  The book says that the tables can be
    created using SQL script run from the SQL command line.
    I cannot see any way of inputting SQL script into the WebLogic
    Server Admistration Console.  Aslo there is no SQL Command line
    in DOS.
    I have put a previous question on the Oracle Forum about the above and I  was advised to use SQL Plus
    to create the tables for the weblogic server but no mention was made of installing Oracle database.
    I have downloaded InstantClient SQL Plus and Instantclient Basic on a PC and
    put the files into the same directory C:\SQLPlus but now I am having a problem in that it is
    looking for a username and password when I run the sqlplus.exe file.
    Now I assume that I need to have an installation of Oracle databse on the
    PC so as to be able to use SQL Plus.  Am I correct in this or can I create tables for the
    datasource in weblogic without an Oracle database?
    Thanks in advance for your help. Brian

    You should install it separately and also need to change the OBIEE's user.sh to tell it where is your Oracle client installed.

  • How to create tables for control data

    HI
    How to create  tables for controls of types of data (screen control)? what is the process for this
    Regards,
    Anil

    Well, do you want to do it the easy way?  If so, then just create a table maintenance program.  You can do this via SE11, utilites, table maintenance generator. The table maintenance will be generated and you can then maintain the table via SM30. 
    If you want to go the more challenging way, you can write your own table maintenance program using a table control on your screen.  You can use the table control wizard to help you along.
    Regards,
    Rich Heilman

  • NESTED Tables for Sub-types when creating table for Super-type

    If I create the following types, as an example:
    Person with subtypes: Employee and Customer
    Appointment
    CREATE OR REPLACE TYPE Person_OT AS OBJECT (
    person#                         NUMBER,
    personSurname                    VARCHAR2(50),
    personForenames               VARCHAR2(50),
    personDateOfBirth               DATE,
    personAddress                    Address_OT,
    ) NOT FINAL ;
    CREATE OR REPLACE TYPE Employee UNDER Person_OT (
    empSalary               NUMBER,
    empNoSales          NUMBER,
    makes               Appointment_List_OT
    ) FINAL ;
    CREATE OR REPLACE TYPE Appointment_OT AS OBJECT (
    some attributes
    CREATE OR REPLACE TYPE Appointment_List_OT AS TABLE OF REF Appointment_OT ;
    When creating the table to hold objects of Person type, how can the requisite nested table for representing 'makes' be declared? The below approach is not correct, however the table will not compile without naming the nested tables.
    CREATE TABLE Person_TBL OF Person_OT (
    Person#     PRIMARY KEY)
    NESTED TABLE makes STORE AS Appointment_List_NTBL;
    Advice very much appreciated!

    CREATE TABLE Person_TBL OF Person_OT(
    Person# PRIMARY KEY)
    NESTED TABLE TREAT(SYS_NC_ROWINFO$ AS EMPLOYEE).MAKES STORE AS Appointment_List_NTBL
    Table created.
    SQL> select * from user_nested_tables
      2  /
    TABLE_NAME                     TABLE_TYPE_OWNER
    TABLE_TYPE_NAME                PARENT_TABLE_NAME
    PARENT_TABLE_COLUMN
    STORAGE_SPEC                   RETURN_TYPE          ELEMENT_SUBSTITUTABLE
    APPOINTMENT_LIST_NTBL          SCOTT
    APPOINTMENT_LIST_OT            PERSON_TBL
    TREAT(SYS_NC_ROWINFO$ AS "SCOTT"."EMPLOYEE")."MAKES"
                           DEFAULT                VALUE                         N
    SQL>  SY.

  • CREATE TABLE for another OWNER/SCHEMA and in another TABLESPACE?

    I am logged in a SYSTEM user. Now I want to create a table aaa. The owner of this table should not be SYSTEM but user KARL. and the TABLESPACE should not be SYSTEM but the (existing) TABLESPACE tttt.
    As far as I know I can achieve this by issuing the following command:
    CREATE TABLE KARL.aaa ( a INTEGER, .......) TABLESPACE tttt;
    Regarding the TABLESPACE parameter I am not sure. Is it possible to allocate a TABLE for User Karl in a TABLESPACE which is not assigned to him?
    Furthermore I have an additional problem.
    I have a script with hundreds of CREATE TABLE + ALTER TABLE + CREATE INDEX DDL statements.
    All of them are not prepended with Schema/Owner and an TABLESPACE clause.
    Can I put somehow one single instruction at the top of the script which telles Oracle
    to use
    - OWNER Karl as Schema/Owner for all subsequent DDL stements
    - TABLESPACE tttt as TABLESPACE for all subsequent DDL stements
    In MYsql there is a "use <database>" statement. Is there soemthing similar for Oracle?
    Thank you
    Peter

    Yes... you can do that. Take for example a user A who has a secret password that you don't wish to give out... like an application schema. User B needs to make tables/objects in schema A and you want to track what user B is doing. First setup Oracles Fine Grained Auditing and then grant "connect through" from user A to user B as follows:
    SQL> create user b identified by abc123
      2    quota unlimited on users;
    User created.
    SQL> grant create session to b;
    SQL> create user a identified by abc123
      2    quota unlimited on users;
    User created.
    SQL> grant create table
      2      , create session
      3     to a;
    Grant succeeded.
    SQL> alter user a grant connect through b;
    User altered.
    SQL> connect b[a]/abc123@a486
    Connected.
    SQL> show user
    USER is "A"
    SQL> create table a.my_proxy_table
      2  ( c1 number
      3  , c2 varchar2(50)
      4  , c3 date
      5  );
    Table created.-----
    See that I connected using the "username[proxyuser]" syntax. Also notice that user B is by proxy user A, illustrated by my "show user" command. The connect through can be granted/revoked as needed without divulging A's password to B. In addition, your audit tables or xml logs will track the fact that user B created table a.my_proxy_table.
    Hope this helps,
    John

  • Database Copy Doesn't find tables for moving data

    I'm running SQL Dev 3.1.7 on a Win7-64 PC against Oracle 11g. Using the Database Copy function to move and update tables from one instance to another. The application seems to work fine, creating all of the tables, but in the script when it tries to move the data, for some tables it fails as follows:
    Moving Data for object MY_TABLE_NAME
    Unable to perform batch insert.
    MY_TABLE_NAME ORA-00942: table or view does not exist
    Earlier in the script it dropped and then recreated the table in the target instance. The table does exist in the source instance. This occurred for 24 tables out of 105.
    Any ideas what is going on?
    Edited by: user12200489 on May 25, 2012 9:47 AM

    according to the log, it says the table got created. Here's the log entries as they pertain to our APPOINTMENT table ...
    DROP TABLE "APPOINTMENT" cascade constraints;
    table "APPOINTMENT" dropped.
    DROP SEQUENCE "APPOINTMENT_SEQ";
    sequence "APPOINTMENT_SEQ" dropped.
    -- DDL for Sequence APPOINTMENT_SEQ
    CREATE SEQUENCE "APPOINTMENT_SEQ" MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 17721 CACHE 20 NOORDER NOCYCLE ;
    sequence "APPOINTMENT_SEQ" created.
    -- DDL for Table APPOINTMENT
    CREATE TABLE "APPOINTMENT" ("APPOINTMENT_ID" NUMBER(19,0), "PRACTICE_PATIENT_ID" NUMBER(19,0), "PRACTICE_PET_OWNER_ID" NUMBER(19,0), "STAFF_MEMBER_ID" NUMBER(19,0), "APPT_STATUS_ENUM_NAME" VARCHAR2(32 BYTE), "EXT_PRACTICE_APPOINTMENT_ID" VARCHAR2(255 BYTE), "CONFIRMATION_KEY" VARCHAR2(255 BYTE), "REASON" VARCHAR2(255 BYTE), "EXT_REASON" VARCHAR2(255 BYTE), "EXT_SECONDARY_REASON" VARCHAR2(255 BYTE), "NOTE" BLOB, "APPOINTMENT_DATE" TIMESTAMP (6), "CREATED_DATE" TIMESTAMP (6), "CREATED_BY" VARCHAR2(255 BYTE), "LAST_MODIFIED_DATE" TIMESTAMP (6), "LAST_MODIFIED_BY" VARCHAR2(255 BYTE), "CONFIRMATION_TIME" TIMESTAMP (6)) SEGMENT CREATION IMMEDIATE PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT) TABLESPACE "VET2PET_T" LOB ("NOTE") STORE AS BASICFILE ( TABLESPACE "VET2PET_T" ENABLE STORAGE IN ROW CHUNK 8192 RETENTION NOCACHE LOGGING STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)) ;
    table "APPOINTMENT" created.
    It even truncates the table before attempting to load the data ...
    TRUNCATE TABLE "APPOINTMENT";
    table "APPOINTMENT" truncated.
    But when it goes to move the data ...
    --- START --------------------------------------------------------------------
    Moving Data for object APPOINTMENT
    Unable to perform batch insert.
    APPOINTMENT ORA-00942: table or view does not exist
    --- END --------------------------------------------------------------------
    There is a lookup table involved but at the time of moving the data none of the foreign keys have been enabled.
    All the indices for the table get created with no issue and here is the log entry for when the constraints are created and enabled ...
    -- Constraints for Table APPOINTMENT
    ALTER TABLE "APPOINTMENT" ADD CONSTRAINT "PK_APPOINTMENT" PRIMARY KEY ("APPOINTMENT_ID") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT) TABLESPACE "VET2PET_I" ENABLE;
    ALTER TABLE "APPOINTMENT" MODIFY ("CREATED_BY" NOT NULL ENABLE);
    ALTER TABLE "APPOINTMENT" MODIFY ("CREATED_DATE" NOT NULL ENABLE);
    ALTER TABLE "APPOINTMENT" MODIFY ("CONFIRMATION_KEY" NOT NULL ENABLE);
    ALTER TABLE "APPOINTMENT" MODIFY ("EXT_PRACTICE_APPOINTMENT_ID" NOT NULL ENABLE);
    ALTER TABLE "APPOINTMENT" MODIFY ("APPT_STATUS_ENUM_NAME" NOT NULL ENABLE);
    ALTER TABLE "APPOINTMENT" MODIFY ("PRACTICE_PET_OWNER_ID" NOT NULL ENABLE);
    ALTER TABLE "APPOINTMENT" MODIFY ("PRACTICE_PATIENT_ID" NOT NULL ENABLE);
    ALTER TABLE "APPOINTMENT" MODIFY ("APPOINTMENT_ID" NOT NULL ENABLE);
    ALTER TABLE "APPOINTMENT" MODIFY ("APPOINTMENT_DATE" NOT NULL ENABLE);
    table "APPOINTMENT" altered.
    table "APPOINTMENT" altered.
    table "APPOINTMENT" altered.
    table "APPOINTMENT" altered.
    table "APPOINTMENT" altered.
    table "APPOINTMENT" altered.
    table "APPOINTMENT" altered.
    table "APPOINTMENT" altered.
    table "APPOINTMENT" altered.
    table "APPOINTMENT" altered.
    Any ideas?
    thanks.

  • Creating Tables for COPA ( Non standard)

    Dear SAP Gurus,
    Pls adivse what is the easiest way to create non-standard tables for COPA ??
    In addition to CE1XXXX; CE2XXXX; CE3XXXX; CE4XXXX & also COEP; COEJ; COSS; COSP;  We need to create additional tables to store the data and then perform certain calcuations before taking forward to COPA reports.
    Appreciate early response.
    Regards
    AJA

    I don't think that CO-PA allows you to create non-SAP CO-PA tables. Not sure what you are trying to do. The tables used by CO-PA are standard and they will be automatically generated based on the configuration of the operating concern. I guess, you could create non-SAP tables but not aware of any functionality that will populate those tables unless you create some program code to fill them with data. You can add deriviation rules to derive charateristics from other charateristic but that is standard functionality that can be configured within standard CO-PA.

  • Create table for existing table

    dear all
    I have a partition table with millions records and i want to create table from that table
    and i want the new table that i create it is contain the same structure(partition) and contain all data
    i write this code
    create table abc as select * from cda;
    but this script donot work as i want (same structure(partition) and contain all data)
    so anybody can help me
    best regards

    And it is not possible to alter the structure of the table in place? It sounds like you are going to be copying all the data from the current table to a new table and then back to the existing table once the existing table has been altered-- that is going to be very expensive in terms of resources, time, downtime windows, etc. Generally, you can just alter the table in place...
    Assuming you really want to copy all the data twice, and that the new (staging?) table really needs to have the same partitioning scheme as the primary, the DBMS_METADATA suggestion would seem to work. Moving the data from the exisiting table to the staging table, you might consider partition exchange if you want the staging table to have the same indexes that the current table has.
    Justin

  • How to create tables for using in SQL/php website

    Sorry for asking basic question because I 'm knew.
    i was building a dw site for listing multiple products. i was following DW, the Missing Manual book tutorials. The tutorial offers downloadable data tabels in a folder with .sql extension. I just cannot find anywhere an instruction as how the .sql folder is created.
    Second question: if it can be created in Access 2007, please tell me how.
    thank you sooo much.

    Hi Walt,
    Thank you so much for spending the time trying to answer me.
    you are right, it is a .sql file, not a folder. However, once it is imported into MySQL server, it spits out 4 tables. Please see the following tutorial steps:
    "4. in phpMyAdmin's top navigation bar, click the Import button.
    Doing so takes you to a page that lets you type in an SQL query or load a test file that has SQL commands in it. You'll do the latter-load a text file that contains all the SQL necessary to create the tables and data for the database.
    5. Click the Browse button in XAMPP (application software for SQL server), In the File Upload window that appears, navigate to and select the file cosmofarmer.sql in the php_dynamic folder you downloaded with the tutorial files.
    6. Click the Go button.
    The MySQL server slurps down the SQL file, and executes the instructions found within it. The results? Four new talbes are created (see the list of talbles that just appeared on the left side of the phpMyAdmin window) and a bunch of data is added to them. "
    The book I am reading explains everything but how the cosmofarmer.sql file was made.

  • How to create table for XML schema-based Interface form

    Hi All,
    With tcode SFP to crate  a XML schema-based Interface form, how to create a defined table can be listed in "Data View"?
    Just like APAP Dictonary- Based Interface form, that we can drag  a defined table from data view to the panel.

    Hi,
    Just follow these steps:
    1. Create interactive form UI element in your view.
    2. Now provide Datasource and PDFSOURCE to it in form properties.
    3. Now give a template name prefix with 'Z' or 'Y'.
    4. Double click on it. It will prompt for interface name.
    5. Provide interface name prefixed with 'Z' or 'Y'.
    6. Click on Context button in the Pop up window and provide the node you have selected as DATASOURCE.
    7. Click ok and it will open the form designer.
    8. In this way you can create a XML Schema based Form.
    9. Activate the interface and design the form providing layout type and other details.
    Hope it will help.
    Regards,
    Vaibhav

  • Stored Procedure to create table for PdO Change Log

    Hi Experts,
    I have read in the forums that the only way to get a Change Log was to create a Stored Prodedure and create a new Table that is populated with the Change when ever a User update a Production Order.
    I started on this Stored Procedure and have hit a wall on a error. I'm fairly new to queries...
    Here is what I have so far:
    if((@transaction_type = 'U')and(@object_type = '202'))
    BEGIN
    set @PdO = case @object_type
              INSERT INTO ChangeLogPdO2 (DocEntry, Status, ItemCode, PlannedQty, DueDate)
              SELECT T0.DocEntry, T0.Status, T0.ItemCode, T0.PlannedQty, T0.DueDate
              FROM OWOR T0      
              WHERE T0.DocEntry = @list_of_cols_val_tab_del
        END
    if(@PdO = 'true')
    begin
          select @error = 1
          select @error_message = N'My Error message'
    end
    I plan to add more columns, but only started with these. Also how do I put a time stamp on this?
    Thanks,
    Marli
    Edited by: Marli Schutte on Feb 3, 2010 7:09 PM

    Gordon,
    I created a new UDT named CLPdO.
    Then I did as you suggested and I get the error message 'Incorrect syntax near the keyword 'INSERT''.
    Here is how the Sotred Procedure now look:
    [code}
    if((@transaction_type = 'U')and(@object_type = '202'))
    BEGIN
    set @PdO = case @object_type
              INSERT INTO dbo@CLPdO (DocEntry, Status, ItemCode, PlannedQty, DueDate)
              SELECT T0.DocEntry, T0.Status, T0.ItemCode, T0.PlannedQty, T0.DueDate
              FROM OWOR T0      
              WHERE T0.DocEntry = @list_of_cols_val_tab_del
        END
    if(@PdO = 'true')
    begin
          select @error = 1
          select @error_message = N'My Error message'
    end
    Any help will be appreciated.
    Marli

  • Re-create Table for partitioning

    Hi, I would like to know if is possible add partition in a table that it's not partitioned.
    I think that I must recreate table...are there other solution?
    Andrea (Italy)

    http://asktom.oracle.com/pls/ask/f?p=4950:8:15774480059312498807::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:4636779130376

  • How to create a database table for educational details

    how to create table for this image. i have to develop a job portal website. i created all the tables that required. but i dont know how to store these fields in table. any one help me plz

    It would need following tables
    1. Employee table where EMpNo field would be included as an attribute. Other fields would be EmployeeName,Designation, ...
    It will have Primary Key as EmpID
    2. QualificationType table with QualificationCategoryID and QualificationCategory with values Highest Qualification Post Graduate etc
    QualificationCategoryID  is the primary key
    3. QUalificationTypeAttributes tables with fields as QUalificationTypeAttributeID,QUalificationTypeAttributeName
    QUalificationTypeAttributeID is primary key
    and QUalificationTypeAttributeName will have values Institute Name, Qualification Category etc
    4. EmpQualificationTypeValues table with fields
    QUalificationTypeValueID, QUalificationTypeAttributeID , QualificationCategoryID , EmpID, Value
    QUalificationTypeValueID would be the primary key
    for above case values would be like below
    Employee
    Emp ID EmpNo Name ...
    ID1 12345 xxxxxxx
    QualificationType
    QualificationCategoryID QualificationCategory
    CatID1 HIghest Qualification
    CatID2 Post Graduate
    QUalificationTypeAttributes
    QUalificationTypeAttributeID QUalificationTypeAttributeName
    QTAID1 Institute Name
    QTAID2 Qualification Category
    QTAID3 Year Of Passing
    QualificationTypeValues
    QUalificationTypeValueID QUalificationTypeAttributeID QualificationCategoryID EmpID Value
    QTVID1 QTAID1 CatID1 ID1 Your institute Value set from screen for highest qualification
    QTVID2 QTAID2 CatID1 ID1 Your qualification category Value set from screen for highest qualification
    QTVID3 QTAID3 CatID1 ID1 Your year of passing value set for highest qualification
    QTVID4 QTAID1 CatID2 ID1 Your institute Value set from screen for post graduate
    QTVID5 QTAID2 CatID2 ID1 Your qualification category Value set from screen for post graduate
    QTVID6 QTAID3 CatID2 ID1 Your year of passing value set for post graduate.....
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Auto-creating tables with CMP Explicit Mapping

    Hello.
    I am trying to migrate a working CMP EJB Jar from Weblogic to OC4J, using the admin.jar deploy utility. I believe my orion-ejb-jar.xml deployment descriptor (shown at the bottom) is set up properly, but OC4J attempts to auto-create tables for my entity beans anyway. (see messages that follow).
    Can anybody tell me why it tries to create these tables? Is something missing from my deployment descriptor?
    Thanks,
    David
    Auto-creating table: create table User_passwords_Passwor__fqeml6 (User_SEC_USER.
    SEC_USER_ID NUMBER not null, Password_SEC_USER_PASSWORD_ID NUMBER null)
    Error creating table: ORA-01748: only simple column names allowed here
    Auto-creating table: create table User_userRoles_UserRol__guatbv (User_SEC_USER.
    SEC_USER_ID NUMBER not null, UserRole_SEC_USER_ROLE_ID NUMBER null)
    Error creating table: ORA-01748: only simple column names allowed here
    Auto-creating table: create table Permission_RolePermiss__768cc0 (Permission_SEC
    FUNCTIONID NUMBER not null, RolePermission_SEC_ROLE_FUNCTION_ID NUMBER null)
    Error creating table: ORA-00972: identifier is too long
    Auto-creating table: create table Role_UserRole_role_User_39lzhp (Role_SEC_ROLE.
    SEC_ROLE_ID NUMBER not null, UserRole_SEC_USER_ROLE_ID NUMBER null)
    Error creating table: ORA-01748: only simple column names allowed here
    Auto-creating table: create table Role_rolePermissions_Ro_4ocmz1 (Role_SEC_ROLE.
    SEC_ROLE_ID NUMBER not null, RolePermission_SEC_ROLE_FUNCTION_ID NUMBER null)
    Error creating table: ORA-01748: only simple column names allowed here
    orion-ejb-jar.xml
    <?xml version="1.0"?>
    <!DOCTYPE orion-ejb-jar PUBLIC "-//Evermind//DTD Enterprise JavaBeans 1.1 runtime//EN" "http://xmlns.oracle.com/ias/dtds/orion-ejb-jar.dtd">
    <orion-ejb-jar deployment-version="9.0.3.0.0" deployment-time="e6e55808e4">
    <enterprise-beans>
    <session-deployment name="SecurityComponent" >
    </session-deployment>
    <session-deployment name="ServerSecurityContext" >
    </session-deployment>
    <session-deployment name="SecurityComponentSecurityFilter" >
    </session-deployment>
    <entity-deployment name="User" table="SEC_USER" data-source="datasource-ecmsOraclePool">
    <primkey-mapping>
    <cmp-field-mapping name="userId" persistence-name="SEC_USER.SEC_USER_ID" />
    </primkey-mapping>
    <cmp-field-mapping name="partyId" persistence-name="PARTY_ID" />
    <cmp-field-mapping name="officeLocation" persistence-name="OFFICE_LOCATION" />
    <cmp-field-mapping name="defaultLocation" persistence-name="DEFAULT_LOCATION" />
    <cmp-field-mapping name="districtVvid" persistence-name="DISTRICT_VVID" />
    <cmp-field-mapping name="userName" persistence-name="SEC_USER.USER_NAME" />
    <cmp-field-mapping name="accountActivationDate" persistence-name="SEC_USER.ACCOUNT_ACTIVATION_DATE" />
    <cmp-field-mapping name="defaultBranchVvid" persistence-name="SEC_USER.DEFAULT_BRANCH_VVID" />
    <cmp-field-mapping name="unitVvid" persistence-name="UNIT_VVID" />
    <cmp-field-mapping name="sectionVvid" persistence-name="SEC_USER.SECTION_VVID" />
    <cmp-field-mapping name="lastUpdateTimestamp" persistence-name="AUD_SYSTEM_OBJECT.LAST_UPDATE_DT" />
    <cmp-field-mapping name="lastUpdateSystemUserId" persistence-name="AUD_SYSTEM_OBJECT.LAST_UPDATE_SEC_USER_ID" />
    <cmp-field-mapping name="failedLoginAttempts" persistence-name="SEC_USER.LOGIN_ATTEMPTS_CNT" />
    </entity-deployment>
    <entity-deployment name="Permission" table="SEC_FUNCTION" data-source="datasource-ecmsOraclePool">
    <primkey-mapping>
    <cmp-field-mapping name="permisssionId" persistence-name="SEC_FUNCTION_ID" />
    </primkey-mapping>
    <cmp-field-mapping name="permission" persistence-name="FUNCTION_NAME" />
    </entity-deployment>
    <entity-deployment name="Role" table="SEC_ROLE" data-source="datasource-ecmsOraclePool">
    <primkey-mapping>
    <cmp-field-mapping name="roleId" persistence-name="SEC_ROLE.SEC_ROLE_ID" />
    </primkey-mapping>
    <cmp-field-mapping name="lastUpdateTimestamp" persistence-name="AUD_SYSTEM_OBJECT.LAST_UPDATE_DT" />
    <cmp-field-mapping name="lastUpdateSystemUserId" persistence-name="AUD_SYSTEM_OBJECT.LAST_UPDATE_SEC_USER_ID" />
    <cmp-field-mapping name="roleDescription" persistence-name="SEC_ROLE.ROLE_DESC" />
    <cmp-field-mapping name="roleName" persistence-name="SEC_ROLE.ROLE_NAME" />
    </entity-deployment>
    <entity-deployment name="Password" table="SEC_USER_PASSWORD" data-source="datasource-ecmsOraclePool">
    <primkey-mapping>
    <cmp-field-mapping name="passwordId" persistence-name="SEC_USER_PASSWORD_ID" />
    </primkey-mapping>
    <cmp-field-mapping name="password" persistence-name="PASSWORD" />
    <cmp-field-mapping name="activeInd" persistence-name="ACTIVE_IND" />
    <cmp-field-mapping name="expirationDate" persistence-name="EXPIRATION_DATE" />
    <cmp-field-mapping name="userId" persistence-name="SEC_USER_ID" />
    <cmp-field-mapping name="lastUpdateTimestamp" persistence-name="AUD_SYSTEM_OBJECT.LAST_UPDATE_DT" />
    <cmp-field-mapping name="lastUpdateSystemUserId" persistence-name="AUD_SYSTEM_OBJECT.LAST_UPDATE_SEC_USER_ID" />
    </entity-deployment>
    <entity-deployment name="UserRole" table="SEC_USER_ROLE" data-source="datasource-ecmsOraclePool">
    <primkey-mapping>
    <cmp-field-mapping name="userRoleId" persistence-name="SEC_USER_ROLE_ID" />
    </primkey-mapping>
    <cmp-field-mapping name="sequenceNum" persistence-name="SEQUENCE_NUM" />
    <cmp-field-mapping name="userId" persistence-name="SEC_USER_ID" />
    <cmp-field-mapping name="roleId" persistence-name="SEC_ROLE_ID" />
    </entity-deployment>
    <entity-deployment name="RolePermission" table="SEC_ROLE_FUNCTION" data-source="datasource-ecmsOraclePool">
    <primkey-mapping>
    <cmp-field-mapping name="roleFunctionId" persistence-name="SEC_ROLE_FUNCTION_ID" />
    </primkey-mapping>
    <cmp-field-mapping name="functionId" persistence-name="SEC_FUNCTION_ID" />
    <cmp-field-mapping name="roleId" persistence-name="SEC_ROLE_ID" />
    <cmp-field-mapping name="sequenceNum" persistence-name="SEQUENCE_NUM" />
    </entity-deployment>
    </enterprise-beans>
    <assembly-descriptor>
    </assembly-descriptor>
    </orion-ejb-jar>

    Hi David,
    The "autocreate-tables" attribute is defined in the DTD for the "orion-application.xml" file. This file is usually generated automatically by OC4J, from your application's "application.xml" file when you deploy your application. (Note that subsequent [re-]deployments of your application will not change the "orion-application.xml" file.)
    The default value for this attribute is 'true', and the default is defined in the "application.xml" file that is located in the "j2ee/home/config" subdirectory of the OC4J installation.
    Hope this answers your question.
    Good Luck,
    Avi.

  • Creating tables to store customers customer details

    hi gurus
    i am little confused on the scenario!!!
        my client want to store the details of customers customer for tracking the sales price. so we decided to create some tables. this tables includes customer details and some data which clients customer sends to us like invoice date, invoice amount etc.
        client mainly want to reconcile the details of sale to customers customer.
       is advisable to create table for this???

    Hi
    Guess - If you are capturing details of customers, independant of the sales you record for the customer, then you might have to go for separate development. Else you can capture it in the individual sale order in standard transactions VA01 as and when you make the sales to him
    Thank You,

Maybe you are looking for