Re: Error creating tables on Oracle.
From
Sep 12, 2009 4:52 PM
The good news: I added an ant target that generates DDL files.
The bad news: It doesn't work.
Something is broken in the hbm2ddl tool. I've posted this to the
hibernate forums:
https://forum.hibernate.org/viewtopic.php?f=6&t=999592
If you think you know the answer, or want to try getting this working
yourself, the relevant task is at the bottom of Subetha's build.xml.
Jeff
On Sat, Sep 12, 2009 at 12:10 PM, Jeff Schnitzer<jeff@infohazard.org> wrote:
> I'll look into adding an ant task that builds ddl files for a few
> databases. We can package the ddl files in the dist.
>
> Also, I suspect the current hibernate setting is create-update, which
> is potentially dangerous. It should be just create.
>
> Jeff
>
> On Sat, Sep 12, 2009 at 1:37 AM, Bettinazzi Tullio<tbettinazzi@axioma.it> wrote:
>> Please could You explain me better Your suggestions ?
>> Where can I find the script or create it ?
>> Tks
>> Tullio
>>
>> ----- Messaggio originale -----
>> Da: "Scott Hernandez" <scotthernandez@hotmail.com>
>> A: users@subethamail.org
>> Inviato: Venerd?, 11 settembre 2009 19:03:36 GMT +01:00 Amsterdam/Berlino/Berna/Roma/Stoccolma/Vienna
>> Oggetto: Re: Error creating tables on Oracle.
>>
>> Hibernate can be used to generate the ddl in many ways.
>>
>> https://www.hibernate.org/hib_docs/tools/reference/en/html_single/#d0e820
>> http://stackoverflow.com/questions/297438/auto-generate-data-schema-from-jpa-annotated-entity-classes/1068003
>>
>> On Fri, Sep 11, 2009 at 9:31 AM, Bettinazzi Tullio
>> <tbettinazzi@axioma.it> wrote:
>>> Now I connect to Oracle but when subetha starts not all tables are created
>>> (I repeated operation 2 times).
>>>
>>> Is there a table creation script I can execute manualy in odre to create
>>> tables and see where the problem sits ?
>>> Tks
>>>
>>> Tullio
>>>
>>> _______________________________________________
>>> SubEtha Users mailing list
>>> users@subethamail.org
>>> http://www.subethamail.org/se/list/users
>>> http://www.subethamail.org/se/archive_msg.jsp?msgId=53694
>>>
>> _______________________________________________
>> SubEtha Users mailing list
>> users@subethamail.org
>> http://www.subethamail.org/se/list/users
>> http://www.subethamail.org/se/archive_msg.jsp?msgId=53706
>> _______________________________________________
>> SubEtha Users mailing list
>> users@subethamail.org
>> http://www.subethamail.org/se/list/users
>> http://www.subethamail.org/se/archive_msg.jsp?msgId=53767
>>
>
Thread History