Another question is: one should be able to edit an Enterprise Object file(a java class file is generated right?), right?
The reason is: what happen if there's some proprietary type to map like Oracle Spatial has a "Geometry" data type, with an jar containing "JGeometry" accordingly(So you read Geometry from db into JGeometry java object, this has to be done with manually coding SQL scripts).
For J2EE, you'll have to use BMP instead of CMP so as to manually write SQL scripts to fetch & save Geometry, but I don't know how you would handle it in WO? (In my real project, I actually used Trigger, so that I still used BMP for Geometry.)
Thanks for kindly reply,
--marina
Dov Rosenberg <email@hidden> wrote:
If you want to support multiple databases I would stay away from stored procedures these are very vendor specific. WebObjects/EOF makes it much easier to support multiple databases because EOF is an Object Relational mapping tool that abstracts the database from the source code. EOPrototypes are very useful is supporting multiple databases. Check out Practical WebObjects from Chuck Hill (Apress Books). It is a very good book that goes way beyond product manuals.
--
Dov Rosenberg
Conviveon Corporation
http://www.conviveon.com
On 1/30/05 3:53 AM, "java mouse" <email@hidden> wrote:
I read that WebObjects data-driven application can change its database without a single line of code, and I also read that WO app. actually support the use of StoredProcedure.
My question is: how does it achieve database nuetral with the storedprocedure?
Thanks a lot,
-marina
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
If you want to support multiple databases I would stay away from stored procedures these are very vendor specific. WebObjects/EOF makes it much easier to support multiple databases because EOF is an Object Relational mapping tool that abstracts the database from the source code. EOPrototypes are very useful is supporting multiple databases. Check out Practical WebObjects from Chuck Hill (Apress Books). It is a very good book that goes way beyond product manuals.
--
Dov Rosenberg
Conviveon Corporation
http://www.conviveon.com
On 1/30/05 3:53 AM, "java mouse" <email@hidden> wrote:
I read that WebObjects data-driven application can change its database without a single line of code, and I also read that WO app. actually support the use of StoredProcedure.
My question is: how does it achieve database nuetral with the storedprocedure?
Thanks a lot,
-marina
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learn more. _______________________________________________
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