Re: Reverse engineering DB
Re: Reverse engineering DB
- Subject: Re: Reverse engineering DB
- From: Anthonin Lizé <email@hidden>
- Date: Wed, 03 Dec 2014 16:26:27 +0100
- Importance: normal
- Priority: normal
Thank you for your response. You quite helped me in solving the case.
Actually I'm using a Oracle db, with OJDBC as driver (provided with
instant client 12.1, ojdbc6.jar). But i was using an OCI url connection,
I switched to a thin based url, and that solved the problem.
Anthonin
On 02/12/2014 23:40, Theodore Petrosky wrote:
I am by no means anywhere near an expert, but what backend is this? do you have the correct and most up to date JDBC driver for this database?
On Dec 2, 2014, at 3:27 AM, Anthonin Lizé <email@hidden> wrote:
Hello everyone,
I am quite a beginner in WO development and I have - until today - managed to go through the different tutorials available on the WOCommunity website.
I am writing a D2W application to expose some parts of an existing DB with a lot of tables. So I did reverse engineered the DB and it turned out that some of the table resulted in empty EOModel. The name exists, but it has no content (c.f. screenshot1).
<screenshot1.png>
I have no error coming out (except these empty things) and I just do not have any clue to deal with it. For the moment I just ignore it so that I can carry on my developments.
But I have to tackle the problem one day or another. Maybe it is a known issue, so your help would be very helpful!
Please do not hesitate to ask me about further information, I actually do not know what to give you in order to solve this case.
I have another point I would like to talk about, more a question than an issue. When we reverse engineer a DB, is there any mean to set automatically a class name to the EOModels, based on a generic package name and the EOModel name, so that the entity classes will be generated ? I know that if I do not have to modify the behavior of some classes I just have to use EOGenericRecord and not worry about this class name (that what I am doing for the moment). But if I have to do so for several classes, and if I have to reverse engineer the DB one day, it would be a very long and painful task to edit all these class names again.
Thank you for your help.
i hope I was clear enough.
Anthonin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
Cliquez sur l'url suivante
https://www.mailcontrol.com/sr/oFojn4OMVxPGX2PQPOmvUo1yZ91kITL4kE3BtF7ytjVFKxo+8aFL3QKeezL5xHMcGKNNOtZOV1QVpvj!OtdP1Q==
si ce message est indésirable (pourriel).
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden