Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ADF Removing automatically trailing spaces from all String/Varchar2 fields?

413724Sep 6 2005 — edited Sep 6 2005
Hi,

JDev 10.1.2.
I just noticed that trailing spaces are not removed from textfields, in JClient and Struts/ADF.
If my memory is good, in forms trailing spaces were removed.

I would like to remove all trailing spaces of String/Varchar2 fields before the value reaches the DB, no matter which type of Client technology.

Adding a trim function to all my setXXX(String value) methods in all my EO is the obvious solution.

What is the best way to achieve this?

Is it possible to develop a custom EntityImpl class and extend all my from EO from that custom class?

Any suggestion will be appreciated!

Thanks

Fred
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 4 2005
Added on Sep 6 2005
3 comments
1,036 views