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]

Hi, I'm creating JCO Destination in Web Dynpro for Java. While finishing the JCO Destination wizard it shows a error as follows: Root Cause The initial exception that caused the request to fail, was: java.lang.IndexOutOfBoundsException: Index: 0, Siz [More]
Just bought a 750GB Hitachi hard drive for my MacBook Pro.  What is the best way to move the new data to it?  Load it from a time machine backup, or as one source says, install a clean copy of Snow Lepoard, then upgrade to Lion, then copy the data?  [More]
I've just upgraded to iPhoto '11 and am, so far, not happy about it. Latest issue is with importing. It works fine for the iPhone and camera, but when I download photos from Shutterfly/Facebook and try the regular ways to import (using Import functio [More]
GLITCH ALERT! iPhone 5 contacts syncing Hey all, I wanted to make you all aware of a glitch I just experienced with my iPhone 5 (black, 32 GB). The glitch concerns the syncing of contacts between the iPhone 5 and my laptop. I synced my contacts today [More]
Hi Guys, Using JDev I've got page fragments for which I'd like to set the initial focus. The issue is that oftentimes these .jsff pages are nested within page templates, train templates, dynamic regions, etc. As far as I know, the initial f [More]
I have a question about input metering without software monitoring while recording. I cannot find how to do  in LPX what I did in Logic 9. In Logic 9, I had an input channel with the following plugins: - level meter - limiter I used this input channe [More]
Okay...what happened to the full screen contact picture? Is there a way to get it back? I'd like to see the full picture of the person I'm  calling-not just an ugly blank screen with little round circles on it!!!!I wrote my feedback there. Please eve [More]
When i want to peacefully hear music, I click on a song. then, it skips two songs and immediatly go to the playlist. i try ALL the other songs but the same things happen!! please help!!I can think of a few things which might be causing this.  The fir [More]
hi, (currentDate + udf to convert into GMT )  need to map to Ttime The Time stamp is in CET. Need to convert into GMT. can u tell me how to create udf to convert into GMT thanks in advanceTry with something like this: import java.util.*; import java. [More]
Hi, I would like to call the pricing procedure in ERP. This procedure is called when the user create some sales documents (like quotation) and price is calculated based on Customer, Material, Route, Shipping data). I would provide all needed data and [More]