Discussion:
[Middlegen-user] Problem with ejbCreate(<all_columns>) and uni-directional rels.
Dean Des Rosiers
2002-09-27 15:44:02 UTC
Permalink
I see that the collection returned by $table.oneRelationshipRoles is being
used for the CMR portion of the ejbCreate method that takes all columns.
This is problematic (for me, at least) as that collection contains
relationshipRoles that are not “enabled.”

This means that after I set certain relationships to “unidirectional,”
Middlegen still generates a method signature that takes these relationship
target objects as arguments, and in the implementation of the method, it
writes code that calls non-existent CMR-setter methods.

Somehow the oneRelationshipRoles collection needs to be filter out
“non-enabled” relationship roles.

Thanks,
Dean
Philip S. Constantinou
2002-09-27 16:10:06 UTC
Permalink
Has anyone got middlegen to work with Oracle 9i. How?

I can get the gui client to connect and make queries, but schema extraction
doesn't work.
There's no stack trace but the tree control contains a folder that says "
Error getting metadata -> ORA-000942:table or view does not exist"

The query: select * from tabs also plenty of data.

Using the same drivers Connection.getTables(..) works fine.

Needless to say, the ant task doesn't work either.

Thanks -
Phil
a***@netcom.no
2002-09-27 16:16:01 UTC
Permalink
Have you specified the correct schema?

Aslak

----- Original Message -----
From: "Philip S. Constantinou" <***@wayfinder.net>
Date: Friday, September 27, 2002 8:09 pm
Subject: [Middlegen-user] Middlegen with Oracle 9i
Post by Philip S. Constantinou
Has anyone got middlegen to work with Oracle 9i. How?
I can get the gui client to connect and make queries, but schema
extractiondoesn't work.
There's no stack trace but the tree control contains a folder that
says "
Error getting metadata -> ORA-000942:table or view does not exist"
The query: select * from tabs also plenty of data.
Using the same drivers Connection.getTables(..) works fine.
Needless to say, the ant task doesn't work either.
Thanks -
Phil
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
middlegen-user mailing list
https://lists.sourceforge.net/lists/listinfo/middlegen-user
Loading...