Sitemap

Amicuk Programming Answers

Default values in EO's and DB

-0001-11-30   Views:0

Advertisement

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?
Thanks,
Axel

The replay answer
Advertisement
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!
Connie

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 LOVCache.java. 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]

Hot
Before export (exp) i used to to run this script to recompile all the user objects on 10g. create or replace PROCEDURE DBA_Recompile      p_PInstance_ID               IN NUMBER --     DEFAULT NULL * Title:      Recompile all User_Objects * Descriptio [More]
I'm trying to make a disc containing about 33 separate clips, all listed in the Menu, and individualy selectable. But I find when I drag buttons to the menu,it will only accept 18, then no more buttons can be added.  Is this normal for Encore?  Is th [More]
Hi All, I need to apply a set of functions in sysdate and use that in a where clause to compare. My question is, will these functions on sysdate be executed for every record in the tables that I use? Will this have performance impact when i have mill [More]
Is there any way of applying a background/wallpaper picture behind the icons? I know we have the background for when you open to phone, but it would be a really cool feature to be able to apply background/wallpaper behind the icons. Don't you guys ag [More]
I have just downloaded Firefox 4 but have not made it my default browser yet. I am going through the tutorials. This is what it says: "When you enter the Tab Groups view for the first time, you'll see thumbnail previews of all of your tabs in one gro [More]
Hi All, Getting the below exception when i try to check in files using webdav (i.e. from windows explorer), not sure why this is happening ? please provide your inputs for troubleshooting this issue. Stellent Product Version: 7.5.2 helperservice      [More]
Hi I have a subject area; Journals; which has a dimension: - Budget Type (Actual or Budget), a dimension GL Code (Cost Centre) and a fact folder BUDGET FACTS which has a field amount which aggregates by default as SUM. (Simplified - but I think this [More]
Using Media Encoder to create a .m2v for use in DVD Authoring.  I import a QT, and in the encode, it is adding a random image that occurs about 32 minutes into the program at the 35 minute mark.  I reran, with the same result.  I have checked the ori [More]
Hi , I have two internal tables say A and B of the same type. If A has 10 records and B has 4 records , I want to delete the 4 records in B from A . loop at B into wa . delete A where key = wa - key . endloop. takes a long time if the table B is huge [More]
I have setup an external USB drive on my iMac 10.6 and use it for Time Machine backup. When I try to access this drive over my wireless network from my PowerBook 10.5.8 for TM backup, I can only see the drive under Shared as a Folder, not a drive ico [More]