You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by Gene Wu <ge...@hotmail.com> on 2007/07/25 07:52:35 UTC
OPENJPA_SEQUENCE_TABLE will be generated by mapping tools even no
one use it.
Hi,
I am using the org.apache.openjpa.jdbc.meta.MappingTool to update schema in
build. But I do notice a OPENJPA_SEQUENCE_TABLE will be there each time even
it was useless. Because after I dropped this table, no error was found
within the test cases of my project.
Does any one have the same issue? I am using the OpenJPA 0.9.7 from Weblogic
Server 10.
Thanks,
Gene.
--
View this message in context: http://www.nabble.com/OPENJPA_SEQUENCE_TABLE-will-be-generated-by-mapping-tools-even-no-one-use-it.-tf4140236.html#a11776704
Sent from the OpenJPA Users mailing list archive at Nabble.com.
Re: OPENJPA_SEQUENCE_TABLE will be generated by mapping tools even no one use it.
Posted by Patrick Linskey <pl...@gmail.com>.
Good suggestion. I just changed a few of them to use expanded words
for some of the more cryptic acronyms.
-Patrick
On 7/27/07, Gene Wu <ge...@hotmail.com> wrote:
>
> Got it, thanks again. I will make a try.
>
> Just a personal suggestion, in Example 7.7, should we use full parameter
> instead of abbreviation. For example : "-fk true" will be "-foreignKey
> true". It will do some help to understanding.
>
> Thanks
> Gene.
>
> Patrick Linskey-2 wrote:
> >
> > Sorry, force of habit. Search for 'openjapaTables'.
> >
> > -Patrick
> >
> > On 7/25/07, Gene Wu <ge...@hotmail.com> wrote:
> >>
> >> Thank you for your answer.
> >>
> >> Just a question. How to set this kodoTables flag?
> >> Because I didn't find it in user manual of OpenJPA.
> >>
> >> -Gene
> >
> >
> >
> > --
> > Patrick Linskey
> > 202 669 5907
> >
> >
>
> --
> View this message in context: http://www.nabble.com/OPENJPA_SEQUENCE_TABLE-will-be-generated-by-mapping-tools-even-no-one-use-it.-tf4140236.html#a11824456
> Sent from the OpenJPA Users mailing list archive at Nabble.com.
>
>
--
Patrick Linskey
202 669 5907
Re: OPENJPA_SEQUENCE_TABLE will be generated by mapping tools even
no one use it.
Posted by Gene Wu <ge...@hotmail.com>.
Got it, thanks again. I will make a try.
Just a personal suggestion, in Example 7.7, should we use full parameter
instead of abbreviation. For example : "-fk true" will be "-foreignKey
true". It will do some help to understanding.
Thanks
Gene.
Patrick Linskey-2 wrote:
>
> Sorry, force of habit. Search for 'openjapaTables'.
>
> -Patrick
>
> On 7/25/07, Gene Wu <ge...@hotmail.com> wrote:
>>
>> Thank you for your answer.
>>
>> Just a question. How to set this kodoTables flag?
>> Because I didn't find it in user manual of OpenJPA.
>>
>> -Gene
>
>
>
> --
> Patrick Linskey
> 202 669 5907
>
>
--
View this message in context: http://www.nabble.com/OPENJPA_SEQUENCE_TABLE-will-be-generated-by-mapping-tools-even-no-one-use-it.-tf4140236.html#a11824456
Sent from the OpenJPA Users mailing list archive at Nabble.com.
Re: OPENJPA_SEQUENCE_TABLE will be generated by mapping tools even no one use it.
Posted by Patrick Linskey <pl...@gmail.com>.
Sorry, force of habit. Search for 'openjapaTables'.
-Patrick
On 7/25/07, Gene Wu <ge...@hotmail.com> wrote:
>
> Thank you for your answer.
>
> Just a question. How to set this kodoTables flag?
> Because I didn't find it in user manual of OpenJPA.
>
> -Gene
>
>
> Patrick Linskey-2 wrote:
> >
> > FYI, the sequence table is used for OpenJPA's default implementation
> > for generating sequence values for IDs and whatnot.
> >
> > I believe that you can suppress creation of the table by setting the
> > kodoTables flag to false when running mappingtool.
> >
> > -Patrick
> >
> >
> > --
> > Patrick Linskey
> > 202 669 5907
> >
> >
>
> --
> View this message in context: http://www.nabble.com/OPENJPA_SEQUENCE_TABLE-will-be-generated-by-mapping-tools-even-no-one-use-it.-tf4140236.html#a11804671
> Sent from the OpenJPA Users mailing list archive at Nabble.com.
>
>
--
Patrick Linskey
202 669 5907
Re: OPENJPA_SEQUENCE_TABLE will be generated by mapping tools even
no one use it.
Posted by Gene Wu <ge...@hotmail.com>.
Thank you for your answer.
Just a question. How to set this kodoTables flag?
Because I didn't find it in user manual of OpenJPA.
-Gene
Patrick Linskey-2 wrote:
>
> FYI, the sequence table is used for OpenJPA's default implementation
> for generating sequence values for IDs and whatnot.
>
> I believe that you can suppress creation of the table by setting the
> kodoTables flag to false when running mappingtool.
>
> -Patrick
>
>
> --
> Patrick Linskey
> 202 669 5907
>
>
--
View this message in context: http://www.nabble.com/OPENJPA_SEQUENCE_TABLE-will-be-generated-by-mapping-tools-even-no-one-use-it.-tf4140236.html#a11804671
Sent from the OpenJPA Users mailing list archive at Nabble.com.
Re: OPENJPA_SEQUENCE_TABLE will be generated by mapping tools even no one use it.
Posted by Patrick Linskey <pl...@gmail.com>.
FYI, the sequence table is used for OpenJPA's default implementation
for generating sequence values for IDs and whatnot.
I believe that you can suppress creation of the table by setting the
kodoTables flag to false when running mappingtool.
-Patrick
On 7/24/07, Gene Wu <ge...@hotmail.com> wrote:
>
> Hi,
>
> I am using the org.apache.openjpa.jdbc.meta.MappingTool to update schema in
> build. But I do notice a OPENJPA_SEQUENCE_TABLE will be there each time even
> it was useless. Because after I dropped this table, no error was found
> within the test cases of my project.
>
> Does any one have the same issue? I am using the OpenJPA 0.9.7 from Weblogic
> Server 10.
>
> Thanks,
> Gene.
> --
> View this message in context: http://www.nabble.com/OPENJPA_SEQUENCE_TABLE-will-be-generated-by-mapping-tools-even-no-one-use-it.-tf4140236.html#a11776704
> Sent from the OpenJPA Users mailing list archive at Nabble.com.
>
>
--
Patrick Linskey
202 669 5907