Amicuk Programming Answers

Default values in EO's and DB

-0001-11-30   Views:0


Hi all, in my DB (Oracle 9i Rel.2) I can define default values. In an INSERT statement I can use the keyword 'default' to add the default value for this field. When I create my EOs, the default value is completely ignored. Of course I can modify my E

Hi all,
in my DB (Oracle 9i Rel.2) I can define default values. In an INSERT statement I can use the keyword 'default' to add the default value for this field. When I create my EOs, the default value is completely ignored. Of course I can modify my EO's to have that default value. But it would be nice if the EO's would contain a keyword like 'default' to set the DB's default value. If there are any changes for the default value in the DB my EO's wouldn't need any changes. Is this possible? How?

The replay answer
Thanks for responding..... However, it didn't work for me. I guess I'll stick to setting the value in the create method of the viewRowImpl. Just FYI.... what is working for me now is to check to see if the getCol() is null or length of zero and set the default date that way.
By the way... do you have an exampe of a class file for creating a MessageList Data Object?
Thanks again!

Go to See the other 7 answers

Default Value is not getting displayed in SUN ONE Ldap

Category:DefaultRelease time:2015-10-11Views:130

Hello, I have created an attribute in slapd.user_at.conf and it is associated in slapd.user_oc.conf. The attribute default value is given through SUN ONE Console. But, In our application the default value is not getting displayed. We need the default[More]

NULL and default!!

Category:DefaultRelease time:2015-10-11Views:130

hi, I have created a table as below. CREATE TABLE student (      Rollno      CHAR(8),      Name          VARCHAR2(20), Fees          DECIMAL(12,2) DEFAULT 100.00 can someone please explain the effects of the following insert statements. a] insert int[More]

How to get ALL values as default for  a drop down box in JSF

Category:DefaultRelease time:2015-10-11Views:130

Hi, I have a drop down box in JSF page which retrieves values from I have values like Company, Client, User, ALL in the drop down box. By default blank value is selected for the drop down box. I want to make ALL(which retrieves data fo[More]

SRM 5.0 - how to change default password?

Category:DefaultRelease time:2015-10-11Views:130

Hello, Am trying to install SRM 5.0 Oracle 10g as the DB. In the instllation doc of SRM 5.0 a default password is given to connect to the database and I see the encrypted password is in the jdbc properties. How can we change the default password? How[More]

ACS 5.3 Default Backup Password

Category:DefaultRelease time:2015-10-11Views:130

When doing a backup on any of the ACS 5.x appliances by default the backup is encrypted with PGP. What password is used for that? Is it configurable?It is not configurable and that information wasnt made public. However, when you restore it should be[More]

How to change the default JET (JumpStart) password

Category:DefaultRelease time:2015-10-11Views:130

I am using JET (Jumpstart Enterprise Toolkit) to jumpstart my servers. The default password, boajrOmU7GFmY, is saved in a encrypted form in jumpstart.conf. I want to change it, how do I know the encrypted form of my new password? TomUsage: orapwd fil[More]

Does iTunes have a default password for initial encrypted backups?

Category:DefaultRelease time:2015-10-11Views:130

I have an iPhone that was connected to iTunes for the first time today.  It is a company device and IT has set a policy to require backups to be encrypted. When I first plugged the phone in, iTunes automatically did a backup as it had never seen the[More]

How to change default open and close effect in JavaFX TabPane

Category:DefaultRelease time:2015-10-11Views:130

I'm interested how I can change the default effect of closing and opening a tab in JavaFX TabPAne. I found that this can be configured by using:     tabPane.setEffect(Effect ????); But which effects are available?Hi Lionate Welcome to the forum. Make[More]

Spry Collapsible panel - open and closed default question...

Category:DefaultRelease time:2015-10-11Views:130

I am using a Spry Collapsible panel in a vertical nav menu (DW CS4) and it's in a template for my site. I want it to be closed as default on the Home page, but when a visitor clicks to open it and selects their option, I would like it to remain open[More]

Questions on default print quality and print order

Category:DefaultRelease time:2015-10-11Views:130

I recently upgraded to CS 5.5, a clean install on a new Mac running 10.7. I've found two issues regarding printing from both Acrobat and InDesign: In both programs, if I go directly to print (command-P, then hit OK without changing settings), documen[More]

Will any mail apps open to the inbox by default?

Category:DefaultRelease time:2015-10-11Views:130

I have been using computers for decades...and have had my iPhone for a few years now. It was only a few days ago that I got my first iPad and was surprised by the "feature" that all of the mail apps seem offer... I am talking about opening the a[More]

i really need help! forgot passcodeLook under More LIke this on the right side of this page or do a forums search.  This is asked and answered over and over every day Read other 3 answers [More]
Hi, I have written an onclick function on each row and passing the primary key of the table to the javascript function. I want the value which I have passed to the javascript back in the jsp to delete the particular row. How can I achieve this. Thank [More]
Hi, I need VMS fuctionalities in following Business process Q 1- How to track/see the stock of the dealer using SAP VMS?? Is it possible to do so?? Q 2- What are the Standard reports available in SAP VMS? Q 3- Transfer of Vehicle from Dealer A to Dea [More]
Is there a limit to the number of photos you can attach to an email? I've found when I try to send more than 5, my Iphone wont let me select any ... but accept if I keep it to five. This is for IPhone 6. ThanksThat's up to your email provider, and th [More]
How to post data from text file to excel file. this means sender side i have text file here fields are separated by commas, that data take and put in the MS-Excel sheet format, here the pages are like boxes, how to put data in that boxes.Plz send me [More]
I have 2 external drives plugged into my imac. One used for the time machine the other data (photos,music etc). My son managed to change the time machine backup touse the data drive and now all the data has gone. Is there anyway of retrieveing these [More]
I purchased two full albums of hollywood undead yesterday, and every time I try to download the albums from the iTunes store I get the following error: "The file seems to be corrupted. To redownload the file, choose "Check for Available Download [More]
I have a bug that I tried to solve but can't find any solution till now. I have a table that contains many rows and from this table I can press edit or add to open a new page that I can edit or add a new record for this view the page that contains th [More]
Hi all, I am trying to use EclipseLink-Moxy 2.3.1 with ATG 10.0.1, but as DAS\lib\classes.jar already has classes for jaxb, i am facing problem & i get exception like 'noSuchMethod'. I searched for a solution & got this link 'http://www.atgknowled [More]
I was tasked with cleaning some files off a Mac Book Pro of unknown vintage.  Things were going well until I fat-fingered something.  That's all I think happened.  Didn't drop it.  Didn't kick it.   Didn't drive any cars or monster trucks over it.  S [More]