Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullPointerException when choose to generate view #25

Closed
tqvtqv opened this issue Jun 16, 2016 · 2 comments
Closed

NullPointerException when choose to generate view #25

tqvtqv opened this issue Jun 16, 2016 · 2 comments
Assignees
Labels
Milestone

Comments

@tqvtqv
Copy link

tqvtqv commented Jun 16, 2016

Message : org.netbeans.jcode.mvc.viewer.jsp.JSPViewerGenerator.generateHome(JSPViewerGenerator.java:253)

StackTrace :
java.lang.NullPointerException
at org.netbeans.jcode.mvc.viewer.jsp.JSPViewerGenerator.generateHome(JSPViewerGenerator.java:253)
at org.netbeans.jcode.mvc.viewer.jsp.JSPViewerGenerator.execute(JSPViewerGenerator.java:121)
at org.netbeans.jcode.generator.internal.util.Util.generateCRUD(Util.java:493)
at org.netbeans.jcode.generator.internal.ApplicationGenerator.generate(ApplicationGenerator.java:54)
at org.netbeans.jcode.generator.JEEApplicationGenerator.generate(JEEApplicationGenerator.java:66)
at org.netbeans.jpa.modeler.source.generator.task.SourceCodeGeneratorTask.exportCode(SourceCodeGeneratorTask.java:110)
at org.netbeans.jpa.modeler.source.generator.task.SourceCodeGeneratorTask.begin(SourceCodeGeneratorTask.java:79)
at org.netbeans.jcode.task.AbstractNBTask.beginTask(AbstractNBTask.java:449)
at org.netbeans.jcode.task.AbstractNBTask.run(AbstractNBTask.java:88)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)

ModelerFile :

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<jpa:entity-mappings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:java="http://jcp.org/en/jsr/detail?id=270" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:jpa="http://java.sun.com/xml/ns/persistence/orm" pkg="vnp.entities" v="1.7" xs="false" id="_14660513461981" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm orm_2_1.xsd">
    <jpa:entity xre="false" compositePrimaryKeyType="IDCLASS" compositePrimaryKeyClass="MadsUserRolePK" sm="false" abs="false" class="MadsUserRole" visibile="true" minimized="false" rootElement="_14660513461981" id="_14660513462274">
        <jpa:ts/>
        <jpa:hc/>
        <jpa:eq/>
        <jpa:attributes>
            <jpa:many-to-one optional="false" primaryKey="false" connected-entity-id="_146605134622715" connected-attribute-id="_1466051346233135" visibile="true" name="madsRole" id="_146605134623130">
                <jpa:join-column name="ROLE" rc="ROLE" unique="false" nullable="true" insertable="false" updatable="false"/>
            </jpa:many-to-one>
            <jpa:id attribute-type="String" visibile="true" name="userId" id="_146605134623128">
                <jpa:bv/>
                <jpa:column name="USER_ID" unique="false" nullable="false" insertable="true" updatable="true" table="MADS_USER_ROLE" length="30" precision="0" scale="0"/>
                <jpa:generated-value/>
            </jpa:id>
            <jpa:id attribute-type="String" visibile="true" name="role" id="_146605134623129">
                <jpa:bv/>
                <jpa:column name="ROLE" unique="false" nullable="false" insertable="true" updatable="true" table="MADS_USER_ROLE" length="30" precision="0" scale="0"/>
                <jpa:generated-value/>
            </jpa:id>
        </jpa:attributes>
        <jpa:table name="MADS_USER_ROLE"/>
    </jpa:entity>
    <jpa:entity xre="false" compositePrimaryKeyType="IDCLASS" compositePrimaryKeyClass="MadsCpUserPK" sm="false" abs="false" class="MadsCpUser" visibile="true" minimized="false" rootElement="_14660513461981" id="_14660513462275">
        <jpa:ts/>
        <jpa:hc/>
        <jpa:eq/>
        <jpa:attributes>
            <jpa:basic optional="true" attribute-type="int" visibile="true" name="id" id="_146605134623133">
                <jpa:bv/>
                <jpa:column name="ID" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_CP_USER" length="255" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:many-to-one optional="false" primaryKey="false" connected-entity-id="_146605134622713" connected-attribute-id="_1466051346233126" visibile="true" name="madsCp" id="_146605134623134">
                <jpa:join-column name="CP" rc="CP" unique="false" nullable="true" insertable="false" updatable="false"/>
            </jpa:many-to-one>
            <jpa:id attribute-type="String" visibile="true" name="cp" id="_146605134623131">
                <jpa:bv/>
                <jpa:column name="CP" unique="false" nullable="false" insertable="true" updatable="true" table="MADS_CP_USER" length="30" precision="0" scale="0"/>
                <jpa:generated-value/>
            </jpa:id>
            <jpa:id attribute-type="String" visibile="true" name="userId" id="_146605134623132">
                <jpa:bv/>
                <jpa:column name="USER_ID" unique="false" nullable="false" insertable="true" updatable="true" table="MADS_CP_USER" length="20" precision="0" scale="0"/>
                <jpa:generated-value/>
            </jpa:id>
        </jpa:attributes>
        <jpa:table name="MADS_CP_USER"/>
    </jpa:entity>
    <jpa:entity xre="false" compositePrimaryKeyType="IDCLASS" compositePrimaryKeyClass="MadsServicePK" sm="false" abs="false" class="MadsService" visibile="true" minimized="false" rootElement="_14660513461981" id="_14660513462276">
        <jpa:ts/>
        <jpa:hc/>
        <jpa:eq/>
        <jpa:attributes>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="servicename" id="_146605134623236">
                <jpa:bv/>
                <jpa:column name="SERVICENAME" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_SERVICE" length="30" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="int" visibile="true" name="status" id="_146605134623237">
                <jpa:bv/>
                <jpa:column name="STATUS" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_SERVICE" length="255" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="note" id="_146605134623238">
                <jpa:bv/>
                <jpa:column name="NOTE" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_SERVICE" length="300" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="servicedesc" id="_146605134623240">
                <jpa:bv/>
                <jpa:column name="SERVICEDESC" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_SERVICE" length="300" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="servicegroup" id="_146605134623241">
                <jpa:bv/>
                <jpa:column name="SERVICEGROUP" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_SERVICE" length="30" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="serviceurl" id="_146605134623242">
                <jpa:bv/>
                <jpa:column name="SERVICEURL" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_SERVICE" length="100" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="serviceimg" id="_146605134623243">
                <jpa:bv/>
                <jpa:column name="SERVICEIMG" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_SERVICE" length="100" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="false" attribute-type="int" visibile="true" name="authenMode" id="_146605134623244">
                <jpa:bv/>
                <jpa:column name="AUTHEN_MODE" unique="false" nullable="false" insertable="true" updatable="true" table="MADS_SERVICE" length="255" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="Long" visibile="true" name="bgImgId" id="_146605134623245">
                <jpa:bv/>
                <jpa:column name="BG_IMG_ID" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_SERVICE" length="255" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:id attribute-type="String" visibile="true" name="service" id="_146605134623135">
                <jpa:bv/>
                <jpa:column name="SERVICE" unique="false" nullable="false" insertable="true" updatable="true" table="MADS_SERVICE" length="30" precision="0" scale="0"/>
            </jpa:id>
            <jpa:id attribute-type="String" visibile="true" name="cp" id="_146605134623239">
                <jpa:bv/>
                <jpa:column name="CP" unique="false" nullable="false" insertable="true" updatable="true" table="MADS_SERVICE" length="30" precision="0" scale="0"/>
            </jpa:id>
        </jpa:attributes>
        <jpa:table name="MADS_SERVICE"/>
    </jpa:entity>
    <jpa:entity xre="false" compositePrimaryKeyClass="MadsUserPK" sm="false" abs="false" class="MadsUser" visibile="true" minimized="false" rootElement="_14660513461981" id="_14660513462277">
        <jpa:ts/>
        <jpa:hc/>
        <jpa:eq/>
        <jpa:attributes>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="userName" id="_146605134623246">
                <jpa:bv/>
                <jpa:column name="USER_NAME" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_USER" length="100" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="int" visibile="true" name="status" id="_146605134623247">
                <jpa:bv/>
                <jpa:column name="STATUS" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_USER" length="255" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="note" id="_146605134623248">
                <jpa:bv/>
                <jpa:column name="NOTE" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_USER" length="300" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="java.util.Date" visibile="true" name="createdDate" id="_146605134623249">
                <jpa:bv/>
                <jpa:column name="CREATED_DATE" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_USER" length="255" precision="0" scale="0"/>
                <jpa:temporal>TIMESTAMP</jpa:temporal>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="java.util.Date" visibile="true" name="updatedDate" id="_146605134623250">
                <jpa:bv/>
                <jpa:column name="UPDATED_DATE" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_USER" length="255" precision="0" scale="0"/>
                <jpa:temporal>TIMESTAMP</jpa:temporal>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="createdUser" id="_146605134623251">
                <jpa:bv/>
                <jpa:column name="CREATED_USER" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_USER" length="100" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="updatedUser" id="_146605134623252">
                <jpa:bv/>
                <jpa:column name="UPDATED_USER" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_USER" length="100" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="password" id="_146605134623254">
                <jpa:bv/>
                <jpa:column name="PASSWORD" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_USER" length="200" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:id attribute-type="String" visibile="true" name="userId" id="_146605134623253">
                <jpa:bv/>
                <jpa:column name="USER_ID" unique="false" nullable="false" insertable="true" updatable="true" table="MADS_USER" length="100" precision="0" scale="0"/>
                <jpa:generated-value/>
            </jpa:id>
        </jpa:attributes>
        <jpa:table name="MADS_USER"/>
    </jpa:entity>
    <jpa:entity xre="false" compositePrimaryKeyClass="MadsCampaignPK" sm="false" abs="false" class="MadsCampaign" visibile="true" minimized="false" rootElement="_14660513461981" id="_14660513462278">
        <jpa:ts/>
        <jpa:hc/>
        <jpa:eq/>
        <jpa:attributes>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="campaignName" id="_146605134623256">
                <jpa:bv/>
                <jpa:column name="CAMPAIGN_NAME" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_CAMPAIGN" length="300" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="int" visibile="true" name="status" id="_146605134623257">
                <jpa:bv/>
                <jpa:column name="STATUS" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_CAMPAIGN" length="255" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="java.util.Date" visibile="true" name="startDate" id="_146605134623258">
                <jpa:bv/>
                <jpa:column name="START_DATE" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_CAMPAIGN" length="255" precision="0" scale="0"/>
                <jpa:temporal>TIMESTAMP</jpa:temporal>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="java.util.Date" visibile="true" name="endDate" id="_146605134623259">
                <jpa:bv/>
                <jpa:column name="END_DATE" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_CAMPAIGN" length="255" precision="0" scale="0"/>
                <jpa:temporal>TIMESTAMP</jpa:temporal>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="java.util.Date" visibile="true" name="createdDate" id="_146605134623260">
                <jpa:bv/>
                <jpa:column name="CREATED_DATE" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_CAMPAIGN" length="255" precision="0" scale="0"/>
                <jpa:temporal>TIMESTAMP</jpa:temporal>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="java.util.Date" visibile="true" name="updatedDate" id="_146605134623261">
                <jpa:bv/>
                <jpa:column name="UPDATED_DATE" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_CAMPAIGN" length="255" precision="0" scale="0"/>
                <jpa:temporal>TIMESTAMP</jpa:temporal>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="createdUser" id="_146605134623262">
                <jpa:bv/>
                <jpa:column name="CREATED_USER" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_CAMPAIGN" length="50" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="updatedUser" id="_146605134623263">
                <jpa:bv/>
                <jpa:column name="UPDATED_USER" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_CAMPAIGN" length="50" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:one-to-many own="false" collection-type="java.util.List" connected-entity-id="_146605134622711" connected-attribute-id="_1466051346233100" visibile="true" name="madsCampaignDetailCollection" id="_146605134623264"/>
            <jpa:id attribute-type="String" visibile="true" name="campaign" id="_146605134623255">
                <jpa:bv/>
                <jpa:column name="CAMPAIGN" unique="false" nullable="false" insertable="true" updatable="true" table="MADS_CAMPAIGN" length="30" precision="0" scale="0"/>
            </jpa:id>
        </jpa:attributes>
        <jpa:table name="MADS_CAMPAIGN"/>
    </jpa:entity>
    <jpa:entity xre="false" compositePrimaryKeyClass="MadsBgcfgPK" sm="false" abs="false" class="MadsBgcfg" visibile="true" minimized="false" rootElement="_14660513461981" id="_14660513462279">
        <jpa:ts/>
        <jpa:hc/>
        <jpa:eq/>
        <jpa:attributes>
            <jpa:basic optional="false" attribute-type="long" visibile="true" name="bgimgid" id="_146605134623266">
                <jpa:bv/>
                <jpa:column name="BGIMGID" unique="false" nullable="false" insertable="true" updatable="true" table="MADS_BGCFG" length="255" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="false" attribute-type="java.util.Date" visibile="true" name="fromdate" id="_146605134623267">
                <jpa:bv/>
                <jpa:column name="FROMDATE" unique="false" nullable="false" insertable="true" updatable="true" table="MADS_BGCFG" length="255" precision="0" scale="0"/>
                <jpa:temporal>TIMESTAMP</jpa:temporal>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="java.util.Date" visibile="true" name="todate" id="_146605134623268">
                <jpa:bv/>
                <jpa:column name="TODATE" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_BGCFG" length="255" precision="0" scale="0"/>
                <jpa:temporal>TIMESTAMP</jpa:temporal>
            </jpa:basic>
            <jpa:basic optional="false" attribute-type="int" visibile="true" name="status" id="_146605134623269">
                <jpa:bv/>
                <jpa:column name="STATUS" unique="false" nullable="false" insertable="true" updatable="true" table="MADS_BGCFG" length="255" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:id attribute-type="Long" visibile="true" name="id" id="_146605134623265">
                <jpa:bv/>
                <jpa:column name="ID" unique="false" nullable="false" insertable="true" updatable="true" table="MADS_BGCFG" length="255" precision="0" scale="0"/>
                <jpa:generated-value/>
            </jpa:id>
        </jpa:attributes>
        <jpa:table name="MADS_BGCFG"/>
    </jpa:entity>
    <jpa:entity xre="false" compositePrimaryKeyClass="MadsImagesPK" sm="false" abs="false" class="MadsImages" visibile="true" minimized="false" rootElement="_14660513461981" id="_146605134622710">
        <jpa:ts/>
        <jpa:hc/>
        <jpa:eq/>
        <jpa:attributes>
            <jpa:basic optional="false" attribute-type="String" visibile="true" name="imageName" id="_146605134623270">
                <jpa:bv/>
                <jpa:column name="IMAGE_NAME" unique="false" nullable="false" insertable="true" updatable="true" table="MADS_IMAGES" length="200" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="false" attribute-type="byte[]" visibile="true" name="imageData" id="_146605134623271">
                <jpa:bv/>
                <jpa:column name="IMAGE_DATA" unique="false" nullable="false" insertable="true" updatable="true" table="MADS_IMAGES" length="255" precision="0" scale="0"/>
                <jpa:lob/>
            </jpa:basic>
            <jpa:basic optional="false" attribute-type="java.util.Date" visibile="true" name="createDate" id="_146605134623273">
                <jpa:bv/>
                <jpa:column name="CREATE_DATE" unique="false" nullable="false" insertable="true" updatable="true" table="MADS_IMAGES" length="255" precision="0" scale="0"/>
                <jpa:temporal>TIMESTAMP</jpa:temporal>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="extension" id="_146605134623274">
                <jpa:bv/>
                <jpa:column name="EXTENSION" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_IMAGES" length="20" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="byte[]" visibile="true" name="imageThumb" id="_146605134623275">
                <jpa:bv/>
                <jpa:column name="IMAGE_THUMB" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_IMAGES" length="255" precision="0" scale="0"/>
                <jpa:lob/>
            </jpa:basic>
            <jpa:id attribute-type="Long" visibile="true" name="id" id="_146605134623272">
                <jpa:bv/>
                <jpa:column name="ID" unique="false" nullable="false" insertable="true" updatable="true" table="MADS_IMAGES" length="255" precision="0" scale="0"/>
                <jpa:generated-value/>
            </jpa:id>
        </jpa:attributes>
        <jpa:table name="MADS_IMAGES"/>
    </jpa:entity>
    <jpa:entity xre="false" compositePrimaryKeyType="IDCLASS" compositePrimaryKeyClass="MadsCampaignDetailPK" sm="false" abs="false" class="MadsCampaignDetail" visibile="true" minimized="false" rootElement="_14660513461981" id="_146605134622711">
        <jpa:ts/>
        <jpa:hc/>
        <jpa:eq/>
        <jpa:attributes>
            <jpa:basic optional="true" attribute-type="java.util.Date" visibile="true" name="startDate" id="_146605134623379">
                <jpa:bv/>
                <jpa:column name="START_DATE" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_CAMPAIGN_DETAIL" length="255" precision="0" scale="0"/>
                <jpa:temporal>TIMESTAMP</jpa:temporal>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="java.util.Date" visibile="true" name="endDate" id="_146605134623380">
                <jpa:bv/>
                <jpa:column name="END_DATE" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_CAMPAIGN_DETAIL" length="255" precision="0" scale="0"/>
                <jpa:temporal>TIMESTAMP</jpa:temporal>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="adsMsg" id="_146605134623381">
                <jpa:bv/>
                <jpa:column name="ADS_MSG" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_CAMPAIGN_DETAIL" length="1500" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="encourageMsg" id="_146605134623382">
                <jpa:bv/>
                <jpa:column name="ENCOURAGE_MSG" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_CAMPAIGN_DETAIL" length="1500" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="regSucessMsg" id="_146605134623383">
                <jpa:bv/>
                <jpa:column name="REG_SUCESS_MSG" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_CAMPAIGN_DETAIL" length="1500" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="helpMsg" id="_146605134623384">
                <jpa:bv/>
                <jpa:column name="HELP_MSG" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_CAMPAIGN_DETAIL" length="1500" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="contactMsg" id="_146605134623385">
                <jpa:bv/>
                <jpa:column name="CONTACT_MSG" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_CAMPAIGN_DETAIL" length="1500" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="int" visibile="true" name="isConfirm" id="_146605134623386">
                <jpa:bv/>
                <jpa:column name="IS_CONFIRM" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_CAMPAIGN_DETAIL" length="255" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="int" visibile="true" name="status" id="_146605134623387">
                <jpa:bv/>
                <jpa:column name="STATUS" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_CAMPAIGN_DETAIL" length="255" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="false" attribute-type="String" visibile="true" name="cp" id="_146605134623388">
                <jpa:bv/>
                <jpa:column name="CP" unique="false" nullable="false" insertable="true" updatable="true" table="MADS_CAMPAIGN_DETAIL" length="100" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="java.util.Date" visibile="true" name="createdDate" id="_146605134623390">
                <jpa:bv/>
                <jpa:column name="CREATED_DATE" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_CAMPAIGN_DETAIL" length="255" precision="0" scale="0"/>
                <jpa:temporal>TIMESTAMP</jpa:temporal>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="java.util.Date" visibile="true" name="updatedDate" id="_146605134623391">
                <jpa:bv/>
                <jpa:column name="UPDATED_DATE" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_CAMPAIGN_DETAIL" length="255" precision="0" scale="0"/>
                <jpa:temporal>TIMESTAMP</jpa:temporal>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="createdUser" id="_146605134623392">
                <jpa:bv/>
                <jpa:column name="CREATED_USER" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_CAMPAIGN_DETAIL" length="100" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="updatedUser" id="_146605134623393">
                <jpa:bv/>
                <jpa:column name="UPDATED_USER" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_CAMPAIGN_DETAIL" length="100" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="url" id="_146605134623394">
                <jpa:bv/>
                <jpa:column name="URL" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_CAMPAIGN_DETAIL" length="500" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="existedMsg" id="_146605134623395">
                <jpa:bv/>
                <jpa:column name="EXISTED_MSG" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_CAMPAIGN_DETAIL" length="1500" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="unregSucessMsg" id="_146605134623396">
                <jpa:bv/>
                <jpa:column name="UNREG_SUCESS_MSG" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_CAMPAIGN_DETAIL" length="1500" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="unregFailureMsg" id="_146605134623397">
                <jpa:bv/>
                <jpa:column name="UNREG_FAILURE_MSG" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_CAMPAIGN_DETAIL" length="1500" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="adsFreeMsg" id="_146605134623398">
                <jpa:bv/>
                <jpa:column name="ADS_FREE_MSG" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_CAMPAIGN_DETAIL" length="1500" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="regFreeSuccessMsg" id="_146605134623399">
                <jpa:bv/>
                <jpa:column name="REG_FREE_SUCCESS_MSG" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_CAMPAIGN_DETAIL" length="1500" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:many-to-one optional="false" primaryKey="false" connected-entity-id="_14660513462278" connected-attribute-id="_146605134623264" visibile="true" name="madsCampaign" id="_1466051346233100">
                <jpa:join-column name="CAMPAIGN" rc="CAMPAIGN" unique="false" nullable="true" insertable="false" updatable="false"/>
            </jpa:many-to-one>
            <jpa:many-to-one optional="false" primaryKey="false" connected-entity-id="_146605134622714" connected-attribute-id="_1466051346233131" visibile="true" name="madsNetwork" id="_1466051346233101">
                <jpa:join-column name="NETWORK" rc="NETWORK" unique="false" nullable="true" insertable="false" updatable="false"/>
            </jpa:many-to-one>
            <jpa:id attribute-type="String" visibile="true" name="package1" id="_146605134623376">
                <jpa:bv/>
                <jpa:column name="PACKAGE" unique="false" nullable="false" insertable="true" updatable="true" table="MADS_CAMPAIGN_DETAIL" length="30" precision="0" scale="0"/>
            </jpa:id>
            <jpa:id attribute-type="String" visibile="true" name="service" id="_146605134623377">
                <jpa:bv/>
                <jpa:column name="SERVICE" unique="false" nullable="false" insertable="true" updatable="true" table="MADS_CAMPAIGN_DETAIL" length="30" precision="0" scale="0"/>
            </jpa:id>
            <jpa:id attribute-type="String" visibile="true" name="network" id="_146605134623378">
                <jpa:bv/>
                <jpa:column name="NETWORK" unique="false" nullable="false" insertable="true" updatable="true" table="MADS_CAMPAIGN_DETAIL" length="100" precision="0" scale="0"/>
            </jpa:id>
            <jpa:id attribute-type="String" visibile="true" name="campaign" id="_146605134623389">
                <jpa:bv/>
                <jpa:column name="CAMPAIGN" unique="false" nullable="false" insertable="true" updatable="true" table="MADS_CAMPAIGN_DETAIL" length="100" precision="0" scale="0"/>
            </jpa:id>
        </jpa:attributes>
        <jpa:table name="MADS_CAMPAIGN_DETAIL"/>
    </jpa:entity>
    <jpa:entity xre="false" compositePrimaryKeyType="IDCLASS" compositePrimaryKeyClass="MadsPackagePK" sm="false" abs="false" class="MadsPackage" visibile="true" minimized="false" rootElement="_14660513461981" id="_146605134622712">
        <jpa:ts/>
        <jpa:hc/>
        <jpa:eq/>
        <jpa:attributes>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="packagename" id="_1466051346233104">
                <jpa:bv/>
                <jpa:column name="PACKAGENAME" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_PACKAGE" length="300" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="packagedesc" id="_1466051346233105">
                <jpa:bv/>
                <jpa:column name="PACKAGEDESC" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_PACKAGE" length="300" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="packageurl" id="_1466051346233106">
                <jpa:bv/>
                <jpa:column name="PACKAGEURL" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_PACKAGE" length="100" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="packageimg" id="_1466051346233107">
                <jpa:bv/>
                <jpa:column name="PACKAGEIMG" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_PACKAGE" length="300" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="java.math.BigInteger" visibile="true" name="packagePrice" id="_1466051346233109">
                <jpa:bv/>
                <jpa:column name="PACKAGE_PRICE" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_PACKAGE" length="255" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="promotion" id="_1466051346233110">
                <jpa:bv/>
                <jpa:column name="PROMOTION" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_PACKAGE" length="20" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="false" attribute-type="int" visibile="true" name="status" id="_1466051346233111">
                <jpa:bv/>
                <jpa:column name="STATUS" unique="false" nullable="false" insertable="true" updatable="true" table="MADS_PACKAGE" length="255" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="false" attribute-type="int" visibile="true" name="authenMode" id="_1466051346233112">
                <jpa:bv/>
                <jpa:column name="AUTHEN_MODE" unique="false" nullable="false" insertable="true" updatable="true" table="MADS_PACKAGE" length="255" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="Long" visibile="true" name="bgImgId" id="_1466051346233113">
                <jpa:bv/>
                <jpa:column name="BG_IMG_ID" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_PACKAGE" length="255" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:id attribute-type="String" visibile="true" name="package1" id="_1466051346233102">
                <jpa:bv/>
                <jpa:column name="PACKAGE" unique="false" nullable="false" insertable="true" updatable="true" table="MADS_PACKAGE" length="30" precision="0" scale="0"/>
            </jpa:id>
            <jpa:id attribute-type="String" visibile="true" name="service" id="_1466051346233103">
                <jpa:bv/>
                <jpa:column name="SERVICE" unique="false" nullable="false" insertable="true" updatable="true" table="MADS_PACKAGE" length="30" precision="0" scale="0"/>
            </jpa:id>
            <jpa:id attribute-type="String" visibile="true" name="cp" id="_1466051346233108">
                <jpa:bv/>
                <jpa:column name="CP" unique="false" nullable="false" insertable="true" updatable="true" table="MADS_PACKAGE" length="30" precision="0" scale="0"/>
            </jpa:id>
        </jpa:attributes>
        <jpa:table name="MADS_PACKAGE"/>
    </jpa:entity>
    <jpa:entity xre="false" compositePrimaryKeyClass="MadsCpPK" sm="false" abs="false" class="MadsCp" visibile="true" minimized="false" rootElement="_14660513461981" id="_146605134622713">
        <jpa:ts/>
        <jpa:hc/>
        <jpa:eq/>
        <jpa:attributes>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="cpName" id="_1466051346233115">
                <jpa:bv/>
                <jpa:column name="CP_NAME" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_CP" length="300" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="mobile" id="_1466051346233116">
                <jpa:bv/>
                <jpa:column name="MOBILE" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_CP" length="100" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="email" id="_1466051346233117">
                <jpa:bv/>
                <jpa:column name="EMAIL" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_CP" length="100" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="address" id="_1466051346233118">
                <jpa:bv/>
                <jpa:column name="ADDRESS" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_CP" length="300" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="representative" id="_1466051346233119">
                <jpa:bv/>
                <jpa:column name="REPRESENTATIVE" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_CP" length="100" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="java.util.Date" visibile="true" name="createdDate" id="_1466051346233120">
                <jpa:bv/>
                <jpa:column name="CREATED_DATE" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_CP" length="255" precision="0" scale="0"/>
                <jpa:temporal>TIMESTAMP</jpa:temporal>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="java.util.Date" visibile="true" name="updatedDate" id="_1466051346233121">
                <jpa:bv/>
                <jpa:column name="UPDATED_DATE" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_CP" length="255" precision="0" scale="0"/>
                <jpa:temporal>TIMESTAMP</jpa:temporal>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="createdUser" id="_1466051346233122">
                <jpa:bv/>
                <jpa:column name="CREATED_USER" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_CP" length="100" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="updatedUser" id="_1466051346233123">
                <jpa:bv/>
                <jpa:column name="UPDATED_USER" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_CP" length="100" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="Integer" visibile="true" name="status" id="_1466051346233124">
                <jpa:bv/>
                <jpa:column name="STATUS" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_CP" length="255" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="Integer" visibile="true" name="authenMode" id="_1466051346233125">
                <jpa:bv/>
                <jpa:column name="AUTHEN_MODE" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_CP" length="255" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:one-to-many own="false" collection-type="java.util.List" connected-entity-id="_14660513462275" connected-attribute-id="_146605134623134" visibile="true" name="madsCpUserCollection" id="_1466051346233126"/>
            <jpa:id attribute-type="String" visibile="true" name="cp" id="_1466051346233114">
                <jpa:bv/>
                <jpa:column name="CP" unique="false" nullable="false" insertable="true" updatable="true" table="MADS_CP" length="100" precision="0" scale="0"/>
            </jpa:id>
        </jpa:attributes>
        <jpa:table name="MADS_CP"/>
    </jpa:entity>
    <jpa:entity xre="false" compositePrimaryKeyClass="MadsNetworkPK" sm="false" abs="false" class="MadsNetwork" visibile="true" minimized="false" rootElement="_14660513461981" id="_146605134622714">
        <jpa:ts/>
        <jpa:hc/>
        <jpa:eq/>
        <jpa:attributes>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="networkName" id="_1466051346233128">
                <jpa:bv/>
                <jpa:column name="NETWORK_NAME" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_NETWORK" length="100" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="int" visibile="true" name="status" id="_1466051346233129">
                <jpa:bv/>
                <jpa:column name="STATUS" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_NETWORK" length="255" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="note" id="_1466051346233130">
                <jpa:bv/>
                <jpa:column name="NOTE" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_NETWORK" length="300" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:one-to-many own="false" collection-type="java.util.List" connected-entity-id="_146605134622711" connected-attribute-id="_1466051346233101" visibile="true" name="madsCampaignDetailCollection" id="_1466051346233131"/>
            <jpa:id attribute-type="String" visibile="true" name="network" id="_1466051346233127">
                <jpa:bv/>
                <jpa:column name="NETWORK" unique="false" nullable="false" insertable="true" updatable="true" table="MADS_NETWORK" length="100" precision="0" scale="0"/>
            </jpa:id>
        </jpa:attributes>
        <jpa:table name="MADS_NETWORK"/>
    </jpa:entity>
    <jpa:entity xre="false" compositePrimaryKeyClass="MadsRolePK" sm="false" abs="false" class="MadsRole" visibile="true" minimized="false" rootElement="_14660513461981" id="_146605134622715">
        <jpa:ts/>
        <jpa:hc/>
        <jpa:eq/>
        <jpa:attributes>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="roleName" id="_1466051346233133">
                <jpa:bv/>
                <jpa:column name="ROLE_NAME" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_ROLE" length="30" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:basic optional="true" attribute-type="String" visibile="true" name="note" id="_1466051346233134">
                <jpa:bv/>
                <jpa:column name="NOTE" unique="false" nullable="true" insertable="true" updatable="true" table="MADS_ROLE" length="300" precision="0" scale="0"/>
            </jpa:basic>
            <jpa:one-to-many own="false" collection-type="java.util.List" connected-entity-id="_14660513462274" connected-attribute-id="_146605134623130" visibile="true" name="madsUserRoleCollection" id="_1466051346233135"/>
            <jpa:id attribute-type="String" visibile="true" name="role" id="_1466051346233132">
                <jpa:bv/>
                <jpa:column name="ROLE" unique="false" nullable="false" insertable="true" updatable="true" table="MADS_ROLE" length="30" precision="0" scale="0"/>
            </jpa:id>
        </jpa:attributes>
        <jpa:table name="MADS_ROLE"/>
    </jpa:entity>
    <jpa:diagram>
        <plane elementRef="_14660513461981">
            <shape elementRef="_14660513462274">
                <Bounds x="679.0" y="208.0" width="179.0" height="113.0"/>
            </shape>
            <shape elementRef="_14660513462275">
                <Bounds x="1257.0" y="379.0" width="169.0" height="147.0"/>
            </shape>
            <shape elementRef="_14660513462276">
                <Bounds x="1630.0" y="410.0" width="170.0" height="281.0"/>
            </shape>
            <shape elementRef="_14660513462277">
                <Bounds x="1985.0" y="32.0" width="154.0" height="239.0"/>
            </shape>
            <shape elementRef="_14660513462278">
                <Bounds x="81.0" y="691.0" width="234.0" height="273.0"/>
            </shape>
            <shape elementRef="_14660513462279">
                <Bounds x="2203.0" y="321.0" width="160.0" height="155.0"/>
            </shape>
            <shape elementRef="_146605134622710">
                <Bounds x="2194.0" y="44.0" width="169.0" height="176.0"/>
            </shape>
            <shape elementRef="_146605134622711">
                <Bounds x="14.0" y="32.0" width="216.0" height="609.0"/>
            </shape>
            <shape elementRef="_146605134622712">
                <Bounds x="1962.0" y="339.0" width="177.0" height="302.0"/>
            </shape>
            <shape elementRef="_146605134622713">
                <Bounds x="981.0" y="32.0" width="187.0" height="336.0"/>
            </shape>
            <shape elementRef="_146605134622714">
                <Bounds x="297.0" y="414.0" width="234.0" height="168.0"/>
            </shape>
            <shape elementRef="_146605134622715">
                <Bounds x="316.0" y="99.0" width="197.0" height="147.0"/>
            </shape>
        </plane>
    </jpa:diagram>
</jpa:entity-mappings>
@jGauravGupta jGauravGupta self-assigned this Jun 16, 2016
@jGauravGupta jGauravGupta added this to the 1.8 milestone Jun 16, 2016
jGauravGupta added a commit to jeddict/jeddict-extensions that referenced this issue Jun 27, 2016
@jGauravGupta
Copy link
Member

Please try the new Alpha release v1.8 :
https://github.com/jGauravGupta/JPAModeler/releases/tag/1.8

@jShiwaniGupta
Copy link
Collaborator

@tqvtqv please acknowledge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants