Componentid in table
Hi everyone,
I have a richtable with 2 columns and each column I have a InputText
<af:table id="dc_t1".....>
<af:column id="dc_c4"....>
<af:inputText id="dc_ot2" ..>
</af:inputText>
</af:column>
<af:column id="dc_c3" >
<af:inputText id="dc_ot1"..>
</af:inputText>
</af:column>
If I get the table in this way:
How I can get the id of the component of a specific row?
Ie, how I can get the id of inputext dc_ot2 by examplel in row 3?
Edited by: josefuente on 08-nov-2010 12:34
Edited by: josefuente on 08-nov-2010 12:34
hello
I Valid contents of inpuText with valuechangeListener (I can not use validator). Also I have a comandtoolbar to delete the selected row.
The problem is that when I delete a row I lose the errors of the other rows. Others have suggested to me that I can save the id of the component when generating an error in the valuechangelistener, but the id of the component changes and does not always follow the logic of row_indx: component_id.
That is,if in the beginning I have
0: dc_ot2
1: dc_ot2
2: dc_ot2
when I delete the third row, the result is
3: dc_ot2
4: dc_ot2
(I dont know why)
So I can not do what I thought, save id of the component.
Later I had thought to keep the row and then get the id of the component in the row and that was the question. How to get the IDs of the components of a row programatically?
Similar Messages
-
Can not find the the RBS tables after installing the Remote Blog Storage
Hi,
I am trying to configure the Remote Blob storage on my Sharepoint Server 2013. I am using the SQL Server Express 10.50.6000.
Everything is going fine, but I can not find the tables in the Database.
I am not sure where I did the wrong thing.
machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
but the installation is looking for some other.
Thanks in advance.
=== Verbose logging started: 3/23/2015 13:55:09 Build type: SHIP UNICODE 5.00.7601.00 Calling process: C:\Windows\system32\msiexec.exe ===
MSI (c) (44:F8) [13:55:09:000]: Resetting cached policy values
MSI (c) (44:F8) [13:55:09:000]: Machine policy value 'Debug' is 0
MSI (c) (44:F8) [13:55:09:000]: ******* RunEngine:
******* Product: RBS.msi
******* Action:
******* CommandLine: **********
MSI (c) (44:F8) [13:55:09:000]: Client-side and UI is none or basic: Running entire install on the server.
MSI (c) (44:F8) [13:55:09:000]: Grabbed execution mutex.
MSI (c) (44:F8) [13:55:09:016]: Cloaking enabled.
MSI (c) (44:F8) [13:55:09:016]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (44:F8) [13:55:09:016]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (90:A4) [13:55:09:016]: Running installation inside multi-package transaction D:\RBS.msi
MSI (s) (90:A4) [13:55:09:016]: Grabbed execution mutex.
MSI (s) (90:34) [13:55:09:016]: Resetting cached policy values
MSI (s) (90:34) [13:55:09:016]: Machine policy value 'Debug' is 0
MSI (s) (90:34) [13:55:09:016]: ******* RunEngine:
******* Product: D:\RBS.msi
******* Action:
******* CommandLine: **********
MSI (s) (90:34) [13:55:09:031]: Machine policy value 'DisableUserInstalls' is 0
MSI (s) (90:34) [13:55:09:031]: Setting cached product context: User non-assigned for product: FB42F99F09B0E3646985F32DFE3C9C29
MSI (s) (90:34) [13:55:09:031]: Using cached product context: User non-assigned for product: FB42F99F09B0E3646985F32DFE3C9C29
MSI (s) (90:34) [13:55:09:031]: Setting cached product context: machine assigned for product: 000021599B0090400100000000F01FEC
115C834F46A5E33479CEE53534AD76A0
:34) [13:55:09:265]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (90:34) [13:55:09:265]: Machine policy value 'DisableFlyWeightPatching' is 0
MSI (s) (90:34) [13:55:09:265]: Enabling baseline caching for this transaction since all active patches are MSI 3.0 style MSPs or at least one MSI 3.0 minor update patch is active
MSI (s) (90:34) [13:55:09:265]: APPCOMPAT: looking for appcompat database entry with ProductCode '{56D21E05-679B-40F2-94C1-DB0D7EB2E461}'.
MSI (s) (90:34) [13:55:09:265]: APPCOMPAT: no matching ProductCode found in database.
MSI (s) (90:34) [13:55:09:265]: Transforms are not secure.
MSI (s) (90:34) [13:55:09:265]: PROPERTY CHANGE: Adding MsiLogFileLocation property. Its value is 'D:\rbs_install_log.txt'.
MSI (s) (90:34) [13:55:09:265]: Command Line: TRUSTSERVERCERTIFICATE=true FILEGROUP=PRIMARY DBNAME=WSS_Content DBINSTANCE=jpntkyint01\sharepoint FILESTREAMFILEGROUP=RBSFilestreamProvider FILESTREAMSTORENAME=FilestreamProvider_1 CURRENTDIRECTORY=D:\ CLIENTUILEVEL=3 CLIENTPROCESSID=14660
MSI (s) (90:34) [13:55:09:265]: PROPERTY CHANGE: Adding PackageCode property. Its value is '{1AC68E73-94F1-4A01-B229-82B2F73C3326}'.
MSI (s) (90:34) [13:55:09:265]: Product Code passed to Engine.Initialize: '{56D21E05-679B-40F2-94C1-DB0D7EB2E461}'
MSI (s) (90:34) [13:55:09:265]: Product Code from property table before transforms: '{56D21E05-679B-40F2-94C1-DB0D7EB2E461}'
MSI (s) (90:34) [13:55:09:265]: Product Code from property table after transforms: '{56D21E05-679B-40F2-94C1-DB0D7EB2E461}'
MSI (s) (90:34) [13:55:09:265]: Product registered: entering maintenance mode
MSI (s) (90:34) [13:55:09:265]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (90:34) [13:55:09:265]: Determined that existing product (either this product or the product being upgraded with a patch) is installed per-machine.
MSI (s) (90:34) [13:55:09:265]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (90:34) [13:55:09:265]: Product {56D21E05-679B-40F2-94C1-DB0D7EB2E461} is admin assigned: LocalSystem owns the publish key.
MSI (s) (90:34) [13:55:09:265]: Product {56D21E05-679B-40F2-94C1-DB0D7EB2E461} is managed.
MSI (s) (90:34) [13:55:09:265]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (90:34) [13:55:09:281]: MSI_LUA: Credential prompt not required, user is an admin
MSI (s) (90:34) [13:55:09:281]: PROPERTY CHANGE: Adding ProductState property. Its value is '5'.
MSI (s) (90:34) [13:55:09:281]: PROPERTY CHANGE: Adding ProductToBeRegistered property. Its value is '1'.
MSI (s) (90:34) [13:55:09:281]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (90:34) [13:55:09:281]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (90:34) [13:55:09:281]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer 3: 2
MSI (s) (90:34) [13:55:09:281]: Entering CMsiConfigurationManager::SetLastUsedSource.
MSI (s) (90:34) [13:55:09:281]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (90:34) [13:55:09:281]: Specifed source is already in a list.
MSI (s) (90:34) [13:55:09:281]: User policy value 'SearchOrder' is 'nmu'
MSI (s) (90:34) [13:55:09:281]: Machine policy value 'DisableBrowse' is 0
MSI (s) (90:34) [13:55:09:281]: Machine policy value 'AllowLockdownBrowse' is 0
MSI (s) (90:34) [13:55:09:281]: Adding new sources is allowed.
MSI (s) (90:34) [13:55:09:281]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (90:34) [13:55:09:281]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (90:34) [13:55:09:281]: Package name retrieved from configuration data: 'RBS.msi'
MSI (s) (90:34) [13:55:09:281]: Note: 1: 2262 2: AdminProperties 3: -2147287038
MSI (s) (90:34) [13:55:09:281]: Machine policy value 'DisableMsi' is 1
MSI (s) (90:34) [13:55:09:281]: Machine policy value 'AlwaysInstallElevated' is 0
MSI (s) (90:34) [13:55:09:281]: User policy value 'AlwaysInstallElevated' is 0
MSI (s) (90:34) [13:55:09:281]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (90:34) [13:55:09:281]: Product {56D21E05-679B-40F2-94C1-DB0D7EB2E461} is admin assigned: LocalSystem owns the publish key.
MSI (s) (90:34) [13:55:09:281]: Product {56D21E05-679B-40F2-94C1-DB0D7EB2E461} is managed.
MSI (s) (90:34) [13:55:09:281]: Running product '{56D21E05-679B-40F2-94C1-DB0D7EB2E461}' with elevated privileges: Product is assigned.
MSI (s) (90:34) [13:55:09:281]: PROPERTY CHANGE: Adding TRUSTSERVERCERTIFICATE property. Its value is 'true'.
MSI (s) (90:34) [13:55:09:281]: PROPERTY CHANGE: Modifying FILEGROUP property. Its current value is 'default'. Its new value: 'PRIMARY'.
MSI (s) (90:34) [13:55:09:281]: PROPERTY CHANGE: Adding DBNAME property. Its value is 'WSS_Content'.
MSI (s) (90:34) [13:55:09:281]: PROPERTY CHANGE: Adding DBINSTANCE property. Its value is 'jpntkyint01\sharepoint'.
MSI (s) (90:34) [13:55:09:281]: PROPERTY CHANGE: Modifying FILESTREAMFILEGROUP property. Its current value is 'default'. Its new value: 'RBSFilestreamProvider'.
MSI (s) (90:34) [13:55:09:281]: PROPERTY CHANGE: Adding FILESTREAMSTORENAME property. Its value is 'FilestreamProvider_1'.
MSI (s) (90:34) [13:55:09:281]: PROPERTY CHANGE: Adding CURRENTDIRECTORY property. Its value is 'D:\'.
MSI (s) (90:34) [13:55:09:281]: PROPERTY CHANGE: Adding CLIENTUILEVEL property. Its value is '3'.
MSI (s) (90:34) [13:55:09:281]: PROPERTY CHANGE: Adding CLIENTPROCESSID property. Its value is '14660'.
MSI (s) (90:34) [13:55:09:281]: Machine policy value 'DisableAutomaticApplicationShutdown' is 0
MSI (s) (90:34) [13:55:09:328]: PROPERTY CHANGE: Adding MsiRestartManagerSessionKey property. Its value is '489ffd242e95054781e9ce4b8d0b8aa5'.
MSI (s) (90:34) [13:55:09:328]: RESTART MANAGER: Session opened.
MSI (s) (90:34) [13:55:09:328]: TRANSFORMS property is now:
MSI (s) (90:34) [13:55:09:328]: PROPERTY CHANGE: Adding PRODUCTLANGUAGE property. Its value is '1033'.
MSI (s) (90:34) [13:55:09:328]: PROPERTY CHANGE: Adding VersionDatabase property. Its value is '300'.
MSI (s) (90:34) [13:55:09:328]: SHELL32::SHGetFolderPath returned: C:\Users\medsvradmin\AppData\Roaming
MSI (s) (90:34) [13:55:09:328]: SHELL32::SHGetFolderPath returned: C:\Users\medsvradmin\Favorites
Action ended 13:55:09: AppSearch. Return value 1.
Action start 13:55:09: ValidateProductID.
MSI (s) (90:34) [13:55:09:390]: Skipping action: Sqlmsirc_CheckLanguage_64 (condition is false)
MSI (s) (90:34) [13:55:09:390]: Doing action: CostInitialize
Action ended 13:55:09: ValidateProductID. Return value 1.
MSI (s) (90:34) [13:55:09:406]: Machine policy value 'MaxPatchCacheSize' is 10
MSI (s) (90:34) [13:55:09:406]: Baseline: Sorting baselines for {56D21E05-679B-40F2-94C1-DB0D7EB2E461}.
MSI (s) (90:34) [13:55:09:406]: Baseline: New baseline 10.50.1600 from transaction.
MSI (s) (90:34) [13:55:09:437]: Baseline: Sorted order Native: Order 0.
MSI (s) (90:34) [13:55:09:437]: Baseline Data Table:
MSI (s) (90:34) [13:55:09:437]: ProductCode: {56D21E05-679B-40F2-94C1-DB0D7EB2E461} Version: 10.50.1600 Attributes: 0 PatchId: Native BaselineId: -2147483648 Order: 0
MSI (s) (90:34) [13:55:09:437]: Baseline File Table:
MSI (s) (90:34) [13:55:09:437]: PROPERTY CHANGE: Adding ROOTDRIVE property. Its value is 'D:\'.
MSI (s) (90:34) [13:55:09:437]: PROPERTY CHANGE: Adding CostingComplete property. Its value is '0'.
MSI (s) (90:34) [13:55:09:453]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (90:34) [13:55:09:453]: Note: 1: 2205 2: 3: Patch
MSI (s) (90:34) [13:55:09:453]: Note: 1: 2205 2: 3: PatchPackage
MSI (s) (90:34) [13:55:09:453]: Note: 1: 2205 2: 3: MsiPatchHeaders
MSI (s) (90:34) [13:55:09:453]: Note: 1: 2205 2: 3: __MsiPatchFileList
MSI (s) (90:34) [13:55:09:453]: Note: 1: 2205 2: 3: PatchPackage
MSI (s) (90:34) [13:55:09:453]: Note: 1: 2228 2: 3: PatchPackage 4: SELECT `DiskId`, `PatchId`, `LastSequence` FROM `Media`, `PatchPackage` WHERE `Media`.`DiskId`=`PatchPackage`.`Media_` ORDER BY `DiskId`
MSI (s) (90:34) [13:55:09:453]: Delta compression fallback method for this product transaction is 'MSI 2.0 legacy obsolescence'
MSI (s) (90:34) [13:55:09:453]: Note: 1: 2205 2: 3: Patch
Action start 13:55:09: CostInitialize.
MSI (s) (90:34) [13:55:09:453]: Doing action: FileCost
Action ended 13:55:09: CostInitialize. Return value 1.
MSI (s) (90:34) [13:55:09:468]: Note: 1: 2205 2: 3: Class
MSI (s) (90:34) [13:55:09:468]: Note: 1: 2205 2: 3: Extension
MSI (s) (90:34) [13:55:09:468]: Note: 1: 2205 2: 3: TypeLib
Action start 13:55:09: FileCost.
MSI (s) (90:34) [13:55:09:468]: Doing action: IsolateComponents
Action ended 13:55:09: FileCost. Return value 1.
Action start 13:55:09: IsolateComponents.
MSI (s) (90:34) [13:55:09:468]: Doing action: CostFinalize
GE: Adding ClientDir1025 property. Its value is 'C:\Program Files\Microsoft SQL Remote Blob Storage 10.50\Client Library\ar\'.
MSI (s) (90:34) [13:55:09:593]: PROPERTY CHANGE: Modifying ServerDir property. Its current value is 'C:\Program Files\Microsoft SQL Remote Blob Storage 10.50\Server'. Its new value: 'C:\Program Files\Microsoft SQL Remote Blob Storage 10.50\Server\'.
MSI (s) (90:34) [13:55:09:593]: PROPERTY CHANGE: Modifying Eula1033 property. Its current value is 'C:\Program Files\Microsoft SQL Remote Blob Storage 10.50\1033'. Its new value: 'C:\Program Files\Microsoft SQL Remote Blob Storage 10.50\1033\'.
MSI (s) (90:34) [13:55:09:593]: Target path resolution complete. Dumping Directory table...
MSI (s) (90:34) [13:55:09:593]: Note: target paths subject to change (via custom actions or browsing)
MSI (s) (90:34) [13:55:09:593]: Dir (target): Key: TARGETDIR , Object: D:\
MSI (s) (90:34) [13:55:09:593]: Dir (target): Key: WindowsFolder , Object: C:\Windows\
MSI (s) (90:34) [13:55:09:593]: Dir (target): Key: ProgramFiles64Folder , Object: C:\Program Files\
MSI (s) (90:34) [13:55:09:593]: Dir (target): Key: INSTALLDIR , Object: C:\Program Files\Microsoft SQL Remote Blob Storage 10.50\
MSI (s) (90:34) [13:55:09:593]: Dir (target): Key: GAC , Object: C:\Program Files\Microsoft SQL Remote Blob Storage 10.50\
MSI (s) (90:34) [13:55:09:593]: Dir (target): Key: ClientDir , Object: C:\Program Files\Microsoft SQL Remote Blob Storage 10.50\Client Library\
MSI (s) (90:34) [13:55:09:593]: Dir (target): Key: ClientDir3082 , Object: C:\Program Files\Microsoft SQL Remote Blob Storage 10.50\Client Library\es\
MSI (s) (90:34) [13:55:09:593]: Dir (target): Key: ClientDir1025 , Object: C:\Program Files\Microsoft SQL Remote Blob Storage 10.50\Client Library\ar\
MSI (s) (90:34) [13:55:09:593]: Dir (target): Key: ServerDir , Object: C:\Program Files\Microsoft SQL Remote Blob Storage 10.50\Server\
MSI (s) (90:34) [13:55:09:593]: Dir (target): Key: Eula1033 , Object: C:\Program Files\Microsoft SQL Remote Blob Storage 10.50\1033\
MSI (s) (90:34) [13:55:09:593]: Doing action: IsDotNet20Or40Installed
Action ended 13:55:09: CostFinalize. Return value 1.
MSI (s) (90:34) [13:55:09:593]: Note: 1: 2235 2: 3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'IsDotNet20Or40Installed'
MSI (s) (90:34) [13:55:09:609]: Creating MSIHANDLE (1) of type 790542 for thread 9268
MSI (s) (90:6C) [13:55:09:609]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIB261.tmp, Entrypoint: IsDotNetFramework20Or40Installed
MSI (s) (90:FC) [13:55:09:609]: Generating random cookie.
MSI (s) (90:FC) [13:55:09:609]: Created Custom Action Server with PID 14944 (0x3A60).
MSI (s) (90:D0) [13:55:09:640]: Running as a service.
MSI (s) (90:D0) [13:55:09:640]: Hello, I'm your 64bit Impersonated custom action server.
MSI (s) (90!08) [13:55:09:640]: PROPERTY CHANGE: Adding DOTNETCOREPATH property. Its value is '1'.
MSI (s) (90!08) [13:55:09:640]: PROPERTY CHANGE: Adding IsDotNet20Or40Installed property. Its value is '1'.
MSI (s) (90:6C) [13:55:09:640]: Closing MSIHANDLE (1) of type 790542 for thread 9268
One or more .NET Framework assemblies found in MsiAssembly table require the GAC, need to check for the .NET Framework
MSI (s) (90:34) [13:55:09:640]: Skipping action: CA_ErrorPrereqDotNet20Or40 (condition is false)
MSI (s) (90:34) [13:55:09:640]: Doing action: SqlFollowComponentsValidate_Redist_64
Action ended 13:55:09: IsDotNet20Or40Installed. Return value 1.
MSI (s) (90:34) [13:55:09:640]: Note: 1: 2235 2: 3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'SqlFollowComponentsValidate_Redist_64'
MSI (s) (90:34) [13:55:09:687]: Creating MSIHANDLE (11) of type 790542 for thread 9268
MSI (s) (90:04) [13:55:09:687]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIB281.tmp, Entrypoint: SqlFollowComponentsValidate
Action start 13:55:10: InstallServices.
MSI (s) (90:34) [13:55:10:498]: Doing action: StartServices
Action ended 13:55:10: InstallServices. Return value 1.
MSI (s) (90:34) [13:55:10:498]: Note: 1: 2205 2: 3: ServiceControl
MSI (s) (90:34) [13:55:10:498]: Note: 1: 2228 2: 3: ServiceControl 4: SELECT `Name`,`Wait`,`Arguments`,`Event`, `Action` FROM `ServiceControl`, `Component` WHERE `Component_` = `Component` AND (`Action` = 0 OR `Action` = 1 OR `Action` = 2)
Action start 13:55:10: StartServices.
MSI (s) (90:34) [13:55:10:498]: Doing action: RegisterUser
Action ended 13:55:10: StartServices. Return value 1.
Action start 13:55:10: RegisterUser.
MSI (s) (90:34) [13:55:10:498]: Doing action: RegisterProduct
Action ended 13:55:10: RegisterUser. Return value 0.
MSI (s) (90:34) [13:55:10:498]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (90:34) [13:55:10:498]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
Action start 13:55:10: RegisterProduct.
MSI (s) (90:34) [13:55:10:498]: Doing action: PublishComponents
Action ended 13:55:10: RegisterProduct. Return value 1.
MSI (s) (90:34) [13:55:10:498]: Note: 1: 2205 2: 3: PublishComponent
MSI (s) (90:34) [13:55:10:498]: Note: 1: 2228 2: 3: PublishComponent 4: SELECT `PublishComponent`.`ComponentId`, `PublishComponent`.`Qualifier`, `PublishComponent`.`AppData`, `Feature`, `Component`.`ComponentId`, `Component`.`RuntimeFlags` FROM `PublishComponent`, `Component`, `Feature` WHERE `PublishComponent`.`Component_` = `Component`.`Component` AND `PublishComponent`.`Feature_` = `Feature`.`Feature` AND ((`Feature`.`Action` = 1 OR `Feature`.`Action` = 2) OR (`Feature`.`Action` = 4 AND `Feature`.`Installed` = 0) OR (`Feature`.`Action` = 3 AND (`Feature`.`Installed` = 1 OR `Feature`.`Installed` = 2 OR `Feature`.`Installed` = 4)))
Action start 13:55:10: PublishComponents.
MSI (s) (90:34) [13:55:10:498]: Doing action: MsiPublishAssemblies
Action ended 13:55:10: PublishComponents. Return value 0.
Action start 13:55:10: MsiPublishAssemblies.
MSI (s) (90:34) [13:55:10:498]: Doing action: PublishFeatures
Action ended 13:55:10: MsiPublishAssemblies. Return value 1.
MSI (s) (90:34) [13:55:10:498]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (90:34) [13:55:10:498]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
Action start 13:55:10: PublishFeatures.
MSI (s) (90:34) [13:55:10:498]: Doing action: PublishProduct
Action ended 13:55:10: PublishFeatures. Return value 1.
MSI (s) (90:34) [13:55:10:513]: Resolving source to launched-from source.
MSI (s) (90:34) [13:55:10:513]: Setting launched-from source as last-used.
MSI (s) (90:34) [13:55:10:513]: PROPERTY CHANGE: Adding SourceDir property. Its value is 'D:\'.
MSI (s) (90:34) [13:55:10:513]: PROPERTY CHANGE: Adding SOURCEDIR property. Its value is 'D:\'.
MSI (s) (90:34) [13:55:10:513]: PROPERTY CHANGE: Adding SourcedirProduct property. Its value is '{56D21E05-679B-40F2-94C1-DB0D7EB2E461}'.
MSI (s) (90:34) [13:55:10:513]: SOURCEDIR ==> D:\
MSI (s) (90:34) [13:55:10:513]: SOURCEDIR product ==> {56D21E05-679B-40F2-94C1-DB0D7EB2E461}
MSI (s) (90:34) [13:55:10:529]: SECREPAIR: CryptAcquireContext succeeded
MSI (s) (90:34) [13:55:10:529]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (90:34) [13:55:10:529]: Determining source type
MSI (s) (90:34) [13:55:10:529]: Source type from package 'RBS.msi': 2
MSI (s) (90:34) [13:55:10:529]: SECREPAIR: Hash Database: C:\Windows\Installer\SourceHash{56D21E05-679B-40F2-94C1-DB0D7EB2E461}
MSI (s) (90:34) [13:55:10:623]: SECREPAIR: Hash Value for the file:RBS.msi matched
MSI (s) (90:34) [13:55:10:623]: Source path resolution complete. Dumping Directory table...
MSI (s) (90:34) [13:55:10:623]: Dir (source): Key: TARGETDIR , Object: D:\ , LongSubPath: , ShortSubPath:
MSI (s) (90:34) [13:55:10:623]: Dir (source): Key: WindowsFolder , Object: D:\ , LongSubPath: , ShortSubPath:
MSI (s) (90:34) [13:55:10:623]: Dir (source): Key: ProgramFiles64Folder , Object: D:\ , LongSubPath: Program Files\ , ShortSubPath: PFiles\
MSI (s) (90:34) [13:55:10:623]: Dir (source): Key: INSTALLDIR , Object: D:\ , LongSubPath: Program Files\Microsoft SQL Remote Blob Storage 10.50\ , ShortSubPath: PFiles\jfw2d1_t\
MSI (s) (90:34) [13:55:10:623]: Dir (source): Key: Eula3082 , Object: D:\ , LongSubPath: Program Files\Microsoft SQL
MSI (s) (90:34) [13:55:10:623]: Dir (source): Key: DocsDir , Object: D:\ , LongSubPath: Program Files\Microsoft SQL Remote Blob Storage 10.50\Documentation\ , ShortSubPath: PFiles\jfw2d1_t\gsutoqfr\
MSI (s) (90:34) [13:55:10:623]: Dir (source): Key: MaintainerDir , Object: D:\ , LongSubPath: Program Files\Microsoft SQL Remote Blob Storage 10.50\Maintainer\ , ShortSubPath: PFiles\jfw2d1_t\jygjogya\
Files\jfw2d1_t\g-pfawke\pt-PT\
MSI (s) (90:34) [13:55:10:623]: Dir (source): Key: ClientDir2052 , Object: D:\ , LongSubPath: Program Files\Microsoft SQL Remote Blob Storage 10.50\Client Library\zh-CHS\ , ShortSubPath: PFiles\jfw2d1_t\g-pfawke\zh-CHS\
Action ended 13:55:10: PublishProduct. Return value 1.
MSI (s) (90:34) [13:55:10:638]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (90:34) [13:55:10:638]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (90:34) [13:55:10:638]: Note: 1: 2205 2: 3: Shortcut
MSI (s) (90:34) [13:55:10:638]: Note: 1: 2228 2: 3: Shortcut 4: SELECT `Shortcut`,`Name`, `FileName`, `Component`.`Directory_`, `Arguments`, `WkDir`, `Icon_`, `IconIndex`, `Hotkey`, `ShowCmd`, `Shortcut`.`Description`, `Shortcut`.`Directory_`, `Component`.`RuntimeFlags`, `Component`.`Action`, `Target`, `ComponentId`, `Feature`.`Action`, `Component`.`Installed`, `DisplayResourceDLL`, `DisplayResourceId`, `DescriptionResourceDLL`, `DescriptionResourceId` From `Shortcut`, `Feature`, `Component`, `File` WHERE `Target` = `Feature` AND `Shortcut`.`Component_` = `Component` AND `Component`.`KeyPath` = `File`.`File` AND ((`Feature`.`Action` = 1 OR `Feature`.`Action` = 2) OR (`Feature`.`Action` = 4 AND `Feature`.`Installed` = 0) OR (`Feature`.`Action` = 3 AND (`Feature`.`Installed` = 1 OR `Feature`.`Installed` = 2 OR `Feature`.`Installed` = 4)) OR (`Feature`.`Action` = NULL AND (`Component`.`Action` = 1 OR `Component`.`Action` = 2) AND (`Feature`.`Installed` = 1 OR `Feature`.`Installed` = 2 OR `Feature`.`Installed` = 4)))
Action start 13:55:10: CreateShortcuts.
MSI (s) (90:34) [13:55:10:638]: Doing action: FixCounters
Action ended 13:55:10: CreateShortcuts. Return value 0.
MSI (s) (90:34) [13:55:10:638]: Note: 1: 2235 2: 3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'FixCounters'
Return value 0.
Action ended 13:55:20: INSTALL. Return value 1.
Property(S): DiskPrompt = [1]
Property(S): InstallMode = Typical
Property(S): DOTNET20SP = #2
Property(S): DOTNET35SP = #1
Property(S): DBINSTANCEREGISTRY = SHAREPOINT
Property(S): DBNAMEREGISTRY = WSS_Content
Property(S): FILESTREAMSTORENAMEREGISTRY = FilestreamProvider_1
Property(S): SCHEMASUFFIXREGISTRY = <suffix>
Property(S): WelcomeBmp = WelcomeBmp
Property(S): TRUSTSERVERCERTIFICATE = true
Property(S): SCHEDULEMAINTAINERTASK = 1
Property(S): MAINTAINERGC = GarbageCollection
Property(S): MAINTAINERREFSCAN = r
Property(S): MAINTAINERDELETE = d
Property(S): MAINTAINERORPHAN = o
Property(S): MAINTAINERCONSISTENCY = ConsistencyCheck
Property(S): MAINTAINERCONSISTENCYREPAIR = true
Property(S): OPENREADME = 1
Property(S): FilestreamPoolTranLifetimeUnit = time
Property(S): TEXTFILEVALUE = 0
Property(S): CONSOLEVALUE = 0
Property(S): DBTABLEVALUE = 0
Property(S): EVENTLOGVALUE = 4
Property(S): DBINSTANCE = jpntkyint01\sharepoint
Property(S): DBNAME = WSS_Content
Property(S): FILEGROUP = PRIMARY
Property(S): INTEGRATEDSECURITY = 1
Property(S): DBUSERNAME = username
Property(S): DBPASSWORD = **********
Property(S): FSDBINSTANCE = jpntkyint01\sharepoint
Property(S): FSDBNAME = WSS_Content
Property(S): FILESTREAMMETADATAFILEGROUP = PRIMARY
Property(S): FILESTREAMFILEGROUP = RBSFilestreamProvider
Property(S): FILESTREAMSTORENAME = FilestreamProvider_1
Property(S): SCHEMASUFFIX = <suffix>
Property(S): FILESTREAMTRANPOOLSIZE = 5
Property(S): FilestreamPoolTranLifetimeTime = 00:01:00
Property(S): FilestreamPoolTranLifetimeDays = 01
Property(S): FILESTREAMMAXPOOLSIZE = 200000
Property(S): FILESTREAMMAXSIZEINBANDWRITE = 1258290
Property(S): FILESTREAMMAXSIZEINBANDREAD = 1258290
Property(S): FILESTREAMMAXSIZEINLINEBLOB = 61140
Property(S): FILESTREAMWRITEALLOCATIONSIZE = 0
Property(S): MAINTAINERDURATION = 120
Property(S): SQLServerText1 = 0
Property(S): SQLServerVersionText3 = 0
Property(S): _IsMaintenance2 = Modify
Property(S): ModifyIcon = ModifyIco
Property(S): RepairIcon = RepairIco
Property(S): RemoveIcon = RemoveIco
Property(S): ErrorIcon = ErrorIco
Property(S): TARGETDIR = D:\
Property(S): USERNAME = Windows User
Property(S): _IsMaintenance = Reinstall
Property(S): AgreeToLicense = No
Property(S): Interrupted = 0
Property(S): SetupIcon = SetupIco
Property(S): Installed = 00:00:00
Property(S): CreateFilesNoUI = C:\Windows\system32\;D:\RBS.msi
Property(S): FixLogConfig = 4;0;0;0;0
Property(S): FixRemoteFilestreamStoreConfig = remotefilestream;C:\Program Files\Microsoft SQL Remote Blob Storage 10.50\Provider Libraries\Filestream Provider\RemoteFilestreamProviderConfiguration.xml
Property(S): FixFilestreamStoreConfig = filestream;C:\Program Files\Microsoft SQL Remote Blob Storage 10.50\Provider Libraries\Filestream Provider\FilestreamProviderConfiguration.xml
Property(S): RegisterProviderFile = RegisterFilestreamProvider.sql
Property(S): FILESTREAMTRANPOOLTRANLIFETIME = time 00:01:00
Property(S): IsDotNet20Or40Installed = 1
Property(S): ProgramMenuFolder.Sql = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\
Property(S): SAPBINOTEPAD = Notepad.exe
Property(S): MaintainerDir1025 = C:\Program Files\Microsoft SQL Remote Blob Storage 10.50\Maintainer\ar\
Property(S): ClientDir3082 = C:\Program Files\Microsoft SQL Remote Blob Storage 10.50\Client Library\es\
Property(S): FilestreamDir1025 = C:\Program Files\Microsoft SQL Remote Blob Storage 10.50\Provider Libraries\Filestream Provider\ar\
Property(S): ProviderDir = C:\Program Files\Microsoft SQL Remote Blob Storage 10.50\Provider Libraries\
Property(S): Eula3082 = C:\Program Files\Microsoft SQL Remote Blob Storage 10.50\3082\
Property(S): ProgramFiles64Folder = C:\Program Files\
Property(S): SourceDir = D:\
Property(S): VersionNT = 601
Property(S): Privileged = 1
Property(S): Manufacturer = Microsoft Corporation
Property(S): ProductCode = {56D21E05-679B-40F2-94C1-DB0D7EB2E461}
Property(S): ProductLanguage = 1033
Property(S): ProductName = SQL Server 2008 R2 Remote Blob Store
Property(S): ProductVersion = 10.50.1600.1
Property(S): UpgradeCode = {BA2FF55A-725F-40E5-956E-D08AD0B8175B}
Property(S): ProductShortName = Remote Blob Store
Property(S): PlatformExtension = _64
Property(S): PlatformId = x64
Property(S): AppGuidRegKey = Redist_Uninstall_RegKey
Property(S): ARPPRODUCTICON = ARPIco
Property(S): ARPHELPLINK = http://www.microsoft.com/sqlserver
Property(S): PIDTemplate = 53934<````=````=````=````=`````>@@@@@
Property(S): PROMPTROLLBACKCOST = P
Property(S): INSTALLLEVEL = 100
Property(S): ALLUSERS = 1
Property(S): SuccessIcon = SuccessIco
Property(S): WarningIcon = WarningIco
Property(S): LicenseIcon = LicenseIco
Property(S): CompleteIcon = CompleteIco
Property(S): CustomIcon = CustomIco
Property(S): NewIcon = NewIco
Property(S): UpIcon = UpIco
Property(S): DialogBanner = BannerBmp
Property(S): Details = 0
Property(S): ReinstallModeText = omus
Property(S): Display_IsBitmapDlg = 1
Property(S): ProductID = none
Property(S): ISENABLEDWUSFINISHDIALOG = 1
Property(S): SQLServerVersionText1 = 0
Property(S): SQLServerVersionText2 = 0
Property(S): CA_ERRORCOUNT = 0
Property(S): CA_WARNINGCOUNT = 0
Property(S): CA_SUCCESSCOUNT = 0
Property(S): UI_SHOWCOPYRIGHT = yes
Property(S): ShowUserRegistrationDlg = 1
Property(S): ButtonTextStyle = {\ButtonTextStyle}
Property(S): DlgTextStyle = {\DlgTextStyle}
Property(S): DlgTextStyleB = {\DlgTextStyleB}
Property(S): DlgTitleStyle = {\DlgTitleStyle}
Property(S): DlgTitleStyleB = {\DlgTitleStyleB}
Property(S): FixedStyle = {\FixedStyle}
Property(S): Error_UninstallDependant = 1
Property(S): DefaultUIFont = Tahoma8
Property(S): ProductFeaturesDefined = 1
Property(S): RBSRegistryKey = Software\Microsoft\Remote Blob Storage
Property(S): SCHEMASUFFIXVALID = 0
Property(S): EnableCustomConfigDlg = 1
Property(S): EnableCustomRemoveDlg = 1
Property(S): EnableDotNetCheck = 1
Property(S): FXAssemblyVersion = 2.0.0.0
Property(S): VSAssemblyVersion = 8.0.0.0
Property(S): EnableFeatureDlg = 1
Property(S): MaintenanceWelcomeDlg_Next = MaintenanceTypeDlg
Property(S): ReadyToRemoveDlg_Back = MaintenanceTypeDlg
Property(S): CustomerInfoDlg_Next = ReadyToInstallDlg
Property(S): CustomerInfoDlg_Back = LicenseAgreementDlg
Property(S): ReadyToInstallDlg_NotInstalled_Back = CustomerInfoDlg
Property(S): ReadyToInstallDlg_Installed_Back = MaintenanceTypeDlg
Property(S): InstallWelcomeDlg_Next = LicenseAgreementDlg
Property(S): LicenseAgreementDlg_Back = InstallWelcomeDlg
Property(S): LicenseAgreementDlg_Next = CustomerInfoDlg
Property(S): ModuleID_REDISTBASE = SQLBASE_Redist_64
Property(S): ErrorDialog = ErrorDlg
Property(S): MsiLogFileLocation = D:\rbs_install_log.txt
Property(S): PackageCode = {1AC68E73-94F1-4A01-B229-82B2F73C3326}
Property(S): ProductState = 5
Property(S): ProductToBeRegistered = 1
Property(S): CURRENTDIRECTORY = D:\
Property(S): CLIENTUILEVEL = 3
Property(S): CLIENTPROCESSID = 14660
Property(S): PRODUCTLANGUAGE = 1033
Property(S): VersionDatabase = 300
Property(S): VersionMsi = 5.00
Property(S): VersionNT64 = 601
Property(S): WindowsBuild = 7601
Property(S): ServicePackLevel = 1
Property(S): ServicePackLevelMinor = 0
Property(S): MsiNTProductType = 3
Property(S): WindowsFolder = C:\Windows\
Property(S): WindowsVolume = C:\
Property(S): System64Folder = C:\Windows\system32\
Property(S): SystemFolder = C:\Windows\SysWOW64\
Property(S): RemoteAdminTS = 1
Property(S): TempFolder = C:\Users\MEDSVR~1\AppData\Local\Temp\
Property(S): ProgramFilesFolder = C:\Program Files (x86)\
Property(S): CommonFilesFolder = C:\Program Files (x86)\Common Files\
Property(S): CommonFiles64Folder = C:\Program Files\Common Files\
Property(S): AppDataFolder = C:\Users\medsvradmin\AppData\Roaming\
Property(S): FavoritesFolder = C:\Users\medsvradmin\Favorites\
Property(S): NetHoodFolder = C:\Users\medsvradmin\AppData\Roaming\Microsoft\Windows\Network Shortcuts\
Property(S): PersonalFolder = C:\Users\medsvradmin\Documents\
Property(S): PrintHoodFolder = C:\Users\medsvradmin\AppData\Roaming\Microsoft\Windows\Printer Shortcuts\
Property(S): RecentFolder = C:\Users\medsvradmin\AppData\Roaming\Microsoft\Windows\Recent\
Property(S): SendToFolder = C:\Users\medsvradmin\AppData\Roaming\Microsoft\Windows\SendTo\
Property(S): TemplateFolder = C:\ProgramData\Microsoft\Windows\Templates\
Property(S): CommonAppDataFolder = C:\ProgramData\
Property(S): LocalAppDataFolder = C:\Users\medsvradmin\AppData\Local\
Property(S): MyPicturesFolder = C:\Users\medsvradmin\Pictures\
Property(S): AdminToolsFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\
Property(S): StartupFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\
Property(S): ProgramMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\
Property(S): StartMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\
Property(S): DesktopFolder = C:\Users\Public\Desktop\
Property(S): FontsFolder = C:\Windows\Fonts\
Property(S): GPTSupport = 1
Property(S): OLEAdvtSupport = 1
Property(S): ShellAdvtSupport = 1
Property(S): MsiAMD64 = 6
Property(S): Msix64 = 6
Property(S): Intel = 6
Property(S): PhysicalMemory = 8192
Property(S): VirtualMemory = 6311
Property(S): AdminUser = 1
Property(S): MsiTrueAdminUser = 1
Property(S): LogonUser = medsvradmin
Property(S): UserSID = S-1-5-21-300911508-3398273753-3262312657-1000
Property(S): UserLanguageID = 1033
Property(S): ComputerName = JPNTKYINT01
Property(S): SystemLanguageID = 1033
Property(S): ScreenX = 1024
Property(S): ScreenY = 768
Property(S): CaptionHeight = 19
Property(S): BorderTop = 1
Property(S): BorderSide = 1
Property(S): TextHeight = 16
Property(S): TextInternalLeading = 3
Property(S): ColorBits = 32
Property(S): TTCSupport = 1
Property(S): Time = 13:55:20
Property(S): Date = 3/23/2015
Property(S): MsiNetAssemblySupport = 4.0.30319.34209
Property(S): MsiWin32AssemblySupport = 6.1.7601.17514
Property(S): RedirectedDllSupport = 2
Property(S): MsiRunningElevated = 1
Property(S): DATABASE = C:\Windows\Installer\6847f.msi
Property(S): OriginalDatabase = D:\RBS.msi
Property(S): UILevel = 2
Property(S): ACTION = INSTALL
Property(S): ROOTDRIVE = D:\
Property(S): CostingComplete = 1
Property(S): OutOfDiskSpace = 0
Property(S): OutOfNoRbDiskSpace = 0
Property(S): PrimaryVolumeSpaceAvailable = 0
Property(S): PrimaryVolumeSpaceRequired = 0
Property(S): PrimaryVolumeSpaceRemaining = 0
Property(S): DOTNETCOREPATH = 1
Property(S): SourcedirProduct = {56D21E05-679B-40F2-94C1-DB0D7EB2E461}
Property(S): SOURCEDIR = D:\
MSI (s) (90:34) [13:55:20:201]: Note: 1: 1728
MSI (s) (90:34) [13:55:20:201]: Product: SQL Server 2008 R2 Remote Blob Store -- Configuration completed successfully.
MSI (s) (90:34) [13:55:20:201]: Windows Installer reconfigured the product. Product Name: SQL Server 2008 R2 Remote Blob Store. Product Version: 10.50.1600.1. Product Language: 1033. Manufacturer: Microsoft Corporation. Reconfiguration success or error status: 0.
MSI (s) (90:34) [13:55:20:217]: Deferring clean up of packages/files, if any exist
MSI (s) (90:34) [13:55:20:217]: MainEngineThread is returning 0
MSI (s) (90:A4) [13:55:20:217]: RESTART MANAGER: Session closed.
MSI (s) (90:A4) [13:55:20:217]: No System Restore sequence number for this installation.
=== Logging stopped: 3/23/2015 13:55:20 ===
MSI (s) (90:A4) [13:55:20:217]: User policy value 'DisableRollback' is 0
MSI (s) (90:A4) [13:55:20:217]: Machine policy value 'DisableRollback' is 0
MSI (s) (90:A4) [13:55:20:217]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (90:A4) [13:55:20:217]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (90:A4) [13:55:20:217]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (90:A4) [13:55:20:217]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (s) (90:A4) [13:55:20:217]: Restoring environment variables
MSI (s) (90:A4) [13:55:20:217]: Destroying RemoteAPI object.
MSI (s) (90:FC) [13:55:20:233]: Custom Action Manager thread ending.
MSI (c) (44:F8) [13:55:20:233]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (44:F8) [13:55:20:233]: MainEngineThread is returning 0
=== Verbose logging stopped: 3/23/2015 13:55:20 ===I copied and pasted the strips from SSMS in another computer
CREATE
TABLE [dbo].[Taxonomy](
[fish_id] [numeric](38, 0)
IDENTITY(1,1)
NOT NULL,
[fish_order] [varchar](50)
NOT NULL,
[fish_family] [varchar](50)
NOT NULL,
[fish_genus] [varchar](50)
NOT NULL,
[fish_species] [varchar](50)
NOT NULL,
CONSTRAINT
[Taxonomy_pk] PRIMARY
KEY CLUSTERED
[fish_id] ASC
)WITH
(PAD_INDEX
= OFF,
STATISTICS_NORECOMPUTE =
OFF,
IGNORE_DUP_KEY =
OFF, ALLOW_ROW_LOCKS
= ON,
ALLOW_PAGE_LOCKS =
ON)
ON [PRIMARY]
ON [PRIMARY] -
Select Query failing on a table that has per sec heavy insertions.
Hi
Problem statement
1- We are using 11g as an database.
2- We have a table that is partitioned on the date as range partition.
3- The insertion of data is very high.i.e. several hundreds records per sec. in the current partitioned.
4- The data is continuously going in the current partitioned as and when buffer is full or per sec timer expires.
5-- We have to make also select query on the same table and on the current partitioned say for the latest 500 records.
6- Effecient indexes are also created on the table.
Solutions Tried.
1- After analyzing by tkprof it is observed that select and execute is working fine but fetch is taking too much time to show the out put. Say it takes 1 hour.
2- Using the 11g sql advisior and SPM several baseline is created but the success rate of them is observed also too low.
please suggest any solution to this issue
1- i.e. Redisgn of table.
2- Any better way to quey to fix the fetch issue.
3- Any oracle seetings or parameter changes to fix the fetch issue.
Thanks in advance.
Regards
Vishal SharmaI am uploading the latest stats please let me know how can improve as this is taking 25 minutes
####TKPROF output#########
SQL ID : 2j5w6bv437cak
select almevttbl.AlmEvtId, almevttbl.AlmType, almevttbl.ComponentId,
almevttbl.TimeStamp, almevttbl.Severity, almevttbl.State,
almevttbl.Category, almevttbl.CauseCode, almevttbl.UnitType,
almevttbl.UnitId, almevttbl.UnitName, almevttbl.ServerName,
almevttbl.StrParam, almevttbl.ExtraStrParam, almevttbl.ExtraStrParam2,
almevttbl.ExtraStrParam3, almevttbl.ParentCustId, almevttbl.ExtraParam1,
almevttbl.ExtraParam2, almevttbl.ExtraParam3,almevttbl.ExtraParam4,
almevttbl.ExtraParam5, almevttbl.SRCIPADDRFAMILY,almevttbl.SrcIPAddress11,
almevttbl.SrcIPAddress12,almevttbl.SrcIPAddress13,almevttbl.SrcIPAddress14,
almevttbl.DESTIPADDRFAMILY,almevttbl.DestIPAddress11,
almevttbl.DestIPAddress12,almevttbl.DestIPAddress13,
almevttbl.DestIPAddress14, almevttbl.DestPort, almevttbl.SrcPort,
almevttbl.SessionDir, almevttbl.CustomerId, almevttbl.ProfileId,
almevttbl.ParentProfileId, almevttbl.CustomerName, almevttbl.AttkDir,
almevttbl.SubCategory, almevttbl.RiskCategory, almevttbl.AssetValue,
almevttbl.IPSAction, almevttbl.l4Protocol,almevttbl.ExtraStrParam4 ,
almevttbl.ExtraStrParam5,almevttbl.username,almevttbl.ExtraStrParam6,
IpAddrFamily1,IPAddrValue11,IPAddrValue12,IPAddrValue13,IPAddrValue14,
IpAddrFamily2,IPAddrValue21,IPAddrValue22,IPAddrValue23,IPAddrValue24
FROM
AlmEvtTbl PARTITION(ALMEVTTBLP20100323) WHERE AlmEvtId IN ( SELECT * FROM
( SELECT /*+ FIRST_ROWS(1000) INDEX (AlmEvtTbl AlmEvtTbl_Index) */AlmEvtId
FROM AlmEvtTbl PARTITION(ALMEVTTBLP20100323) where ((AlmEvtTbl.Customerid
= 0 or AlmEvtTbl.ParentCustId = 0)) ORDER BY AlmEvtTbl.TIMESTAMP DESC)
WHERE ROWNUM < 602) order by timestamp desc
call count cpu elapsed disk query current rows
Parse 1 0.10 0.17 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 42 1348.25 1521.24 1956 39029545 0 601
total 44 1348.35 1521.41 1956 39029545 0 601
Misses in library cache during parse: 1
Optimizer mode: FIRST_ROWS
Parsing user id: 82
Rows Row Source Operation
601 PARTITION RANGE SINGLE PARTITION: 24 24 (cr=39029545 pr=1956 pw=1956 time=11043 us cost=0 size=7426 card=1)
601 TABLE ACCESS BY LOCAL INDEX ROWID ALMEVTTBL PARTITION: 24 24 (cr=39029545 pr=1956 pw=1956 time=11030 us cost=0 size=7426 card=1)
601 INDEX FULL SCAN ALMEVTTBL_INDEX PARTITION: 24 24 (cr=39029377 pr=1956 pw=1956 time=11183 us cost=0 size=0 card=1)(object id 72557)
601 FILTER (cr=39027139 pr=0 pw=0 time=0 us)
169965204 COUNT STOPKEY (cr=39027139 pr=0 pw=0 time=24859073 us)
169965204 VIEW (cr=39027139 pr=0 pw=0 time=17070717 us cost=0 size=13 card=1)
169965204 PARTITION RANGE SINGLE PARTITION: 24 24 (cr=39027139 pr=0 pw=0 time=13527031 us cost=0 size=48 card=1)
169965204 TABLE ACCESS BY LOCAL INDEX ROWID ALMEVTTBL PARTITION: 24 24 (cr=39027139 pr=0 pw=0 time=10299895 us cost=0 size=48 card=1)
169965204 INDEX FULL SCAN ALMEVTTBL_INDEX PARTITION: 24 24 (cr=1131414 pr=0 pw=0 time=3222624 us cost=0 size=0 card=1)(object id 72557)
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 42 0.00 0.00
SQL*Net message from client 42 11.54 133.54
db file sequential read 1956 0.20 28.00
latch free 21 0.00 0.01
latch: cache buffers chains 9 0.01 0.02
SQL ID : 0ushr863b7z39
SELECT /* OPT_DYN_SAMP */ /*+ ALL_ROWS IGNORE_WHERE_CLAUSE
NO_PARALLEL(SAMPLESUB) opt_param('parallel_execution_enabled', 'false')
NO_PARALLEL_INDEX(SAMPLESUB) NO_SQL_TUNE */ NVL(SUM(C1),0), NVL(SUM(C2),0)
FROM
(SELECT /*+ IGNORE_WHERE_CLAUSE NO_PARALLEL("PLAN_TABLE") FULL("PLAN_TABLE")
NO_PARALLEL_INDEX("PLAN_TABLE") */ 1 AS C1, CASE WHEN
"PLAN_TABLE"."STATEMENT_ID"=:B1 THEN 1 ELSE 0 END AS C2 FROM
"SYS"."PLAN_TABLE$" "PLAN_TABLE") SAMPLESUB
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 1 0.00 0.01 1 3 0 1
total 3 0.00 0.01 1 3 0 1
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 82 (recursive depth: 1)
Rows Row Source Operation
1 SORT AGGREGATE (cr=3 pr=1 pw=1 time=0 us)
0 TABLE ACCESS FULL PLAN_TABLE$ (cr=3 pr=1 pw=1 time=0 us cost=29 size=138856 card=8168)
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
db file sequential read 1 0.01 0.01
SQL ID : bjkdb51at8dnb
EXPLAIN PLAN SET STATEMENT_ID='PLUS30350011' FOR select almevttbl.AlmEvtId,
almevttbl.AlmType, almevttbl.ComponentId, almevttbl.TimeStamp,
almevttbl.Severity, almevttbl.State, almevttbl.Category,
almevttbl.CauseCode, almevttbl.UnitType, almevttbl.UnitId,
almevttbl.UnitName, almevttbl.ServerName, almevttbl.StrParam,
almevttbl.ExtraStrParam, almevttbl.ExtraStrParam2, almevttbl.ExtraStrParam3,
almevttbl.ParentCustId, almevttbl.ExtraParam1, almevttbl.ExtraParam2,
almevttbl.ExtraParam3,almevttbl.ExtraParam4,almevttbl.ExtraParam5,
almevttbl.SRCIPADDRFAMILY,almevttbl.SrcIPAddress11,almevttbl.SrcIPAddress12,
almevttbl.SrcIPAddress13,almevttbl.SrcIPAddress14,
almevttbl.DESTIPADDRFAMILY,almevttbl.DestIPAddress11,
almevttbl.DestIPAddress12,almevttbl.DestIPAddress13,
almevttbl.DestIPAddress14, almevttbl.DestPort, almevttbl.SrcPort,
almevttbl.SessionDir, almevttbl.CustomerId, almevttbl.ProfileId,
almevttbl.ParentProfileId, almevttbl.CustomerName, almevttbl.AttkDir,
almevttbl.SubCategory, almevttbl.RiskCategory, almevttbl.AssetValue,
almevttbl.IPSAction, almevttbl.l4Protocol,almevttbl.ExtraStrParam4 ,
almevttbl.ExtraStrParam5,almevttbl.username,almevttbl.ExtraStrParam6,
IpAddrFamily1,IPAddrValue11,IPAddrValue12,IPAddrValue13,IPAddrValue14,
IpAddrFamily2,IPAddrValue21,IPAddrValue22,IPAddrValue23,IPAddrValue24 FROM
AlmEvtTbl PARTITION(ALMEVTTBLP20100323) WHERE AlmEvtId IN ( SELECT * FROM
( SELECT /*+ FIRST_ROWS(1000) INDEX (AlmEvtTbl AlmEvtTbl_Index) */AlmEvtId
FROM AlmEvtTbl PARTITION(ALMEVTTBLP20100323) where ((AlmEvtTbl.Customerid
= 0 or AlmEvtTbl.ParentCustId = 0)) ORDER BY AlmEvtTbl.TIMESTAMP DESC)
WHERE ROWNUM < 602) order by timestamp desc
call count cpu elapsed disk query current rows
Parse 1 0.28 0.26 0 0 0 0
Execute 1 0.01 0.00 0 0 0 0
Fetch 0 0.00 0.00 0 0 0 0
total 2 0.29 0.27 0 0 0 0
Misses in library cache during parse: 1
Optimizer mode: FIRST_ROWS
Parsing user id: 82
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 1 0.00 0.00
SQL*Net message from client 1 0.00 0.00
OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS
call count cpu elapsed disk query current rows
Parse 13 0.71 0.96 3 10 0 0
Execute 14 0.20 0.29 4 304 26 21
Fetch 92 2402.17 2714.85 3819 70033708 0 1255
total 119 2403.09 2716.10 3826 70034022 26 1276
Misses in library cache during parse: 10
Misses in library cache during execute: 6
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 49 0.00 0.00
SQL*Net message from client 48 29.88 163.43
db file sequential read 1966 0.20 28.10
latch free 21 0.00 0.01
latch: cache buffers chains 9 0.01 0.02
latch: session allocation 1 0.00 0.00
OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS
call count cpu elapsed disk query current rows
Parse 940 0.51 0.73 1 2 38 0
Execute 3263 1.93 2.62 7 1998 43 23
Fetch 6049 1.32 4.41 214 12858 36 13724
total 10252 3.78 7.77 222 14858 117 13747
Misses in library cache during parse: 172
Misses in library cache during execute: 168
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
db file sequential read 88 0.04 0.62
latch: shared pool 8 0.00 0.00
latch: row cache objects 2 0.00 0.00
latch free 1 0.00 0.00
latch: session allocation 1 0.00 0.00
34 user SQL statements in session.
3125 internal SQL statements in session.
3159 SQL statements in session.
Trace file: ora11g_ora_2064.trc
Trace file compatibility: 11.01.00
Sort options: default
6 sessions in tracefile.
98 user SQL statements in trace file.
9111 internal SQL statements in trace file.
3159 SQL statements in trace file.
89 unique SQL statements in trace file.
30341 lines in trace file.
6810 elapsed seconds in trace file.
###################################### AutoTrace Output#################
Statistics
3901 recursive calls
0 db block gets
39030275 consistent gets
1970 physical reads
140 redo size
148739 bytes sent via SQL*Net to client
860 bytes received via SQL*Net from client
42 SQL*Net roundtrips to/from client
73 sorts (memory)
0 sorts (disk)
601 rows processed -
Issue regarding Progress Indicator on table row selection
Hi Team,
I have overridden onSelectionListener on a table. On click of any record in the table I am performing some operation which takes few seconds to execute. So, I have to show a processing bar on click of any records in the table till the execution completes. I have added a .gif image as the progress Indicator and referring this in the client attribute of the output text in the columns in the table.
--Code added for the output text in table column
<af:column sortProperty="#{bindings.XxqaSSCOrderInfoRO11.hints.TagNumber.name}"
sortable="false" headerText="#{emqacerts_uiBundle.TAG_NUMBER}" id="c9"
filterable="true" align="center"
inlineStyle="#{row.sn_status eq 'PRINT'?'background-color:#c4ff94;' : row.sn_status eq 'DRAFT'? 'background-color:#ffefa3;':'background-color:#ffffff;'}">
<af:inputText value="#{row.bindings.TagNumber.inputValue}"
label="#{bindings.XxqaSSCOrderInfoRO11.hints.TagNumber.label}"
required="#{bindings.XxqaSSCOrderInfoRO11.hints.TagNumber.mandatory}"
columns="#{bindings.XxqaSSCOrderInfoRO11.hints.TagNumber.displayWidth}"
maximumLength="#{bindings.XxqaSSCOrderInfoRO11.hints.TagNumber.precision}"
shortDesc="#{bindings.XxqaSSCOrderInfoRO11.hints.TagNumber.tooltip}"
id="it6" clientComponent="true">
<f:validator binding="#{row.bindings.TagNumber.validator}"/>
<af:clientAttribute name="loadingIndicatorId"
value="#{backing_Pages_MainPage.loadingIndicatorId}"/>
<af:clientListener method="showWhenBusy" type="click"/>
</af:inputText>
</af:column>--Code in the backing bean
public void setLoadingBox(RichPanelBox loadingBox) {
this.loadingBox = loadingBox;
public RichPanelBox getLoadingBox() {
return loadingBox;
public String getLoadingIndicatorId() {
return getLoadingBox().getClientId(FacesContext.getCurrentInstance());
}--Code in the jsff page for the image
<af:panelBox text="#{emqacerts_uiBundle.PROCESSINGPLEASEWAIT}" id="pb10" clientComponent="true"
binding="#{backing_Pages_MainPage.loadingBox}" inlineStyle="display:none;"
titleHalign="center" background="dark" showDisclosure="false" ramp="highlight">
<af:panelGroupLayout id="pgl5" layout="horizontal" halign="center">
<af:spacer width="60" height="10" id="s1"/>
<af:image source="/images/progress.gif" id="i1"/>
</af:panelGroupLayout>
</af:panelBox>--JavaScript
<af:resource type="javascript">
//Global variable to hold the component ref.
var loadingIndicatorComponent;
function showWhenBusy(event) {
//get the dialog or other component we want to show and hide
var componentId = event.getSource().getProperty('loadingIndicatorId');
loadingIndicatorComponent = AdfPage.PAGE.findComponent(componentId);
if (loadingIndicatorComponent != null) {
AdfPage.PAGE.addBusyStateListener(loadingIndicatorComponent, handleBusyStateCallback);
event.preventUserInput();
else {
AdfLogger.LOGGER.logMessage(AdfLogger.SEVERE, "Requested indicator compoenent not found");
function handleBusyStateCallback(event) {
if (loadingIndicatorComponent != null) {
// Check is this is a dialog as
// this needs different treatment
var isDialog = (loadingIndicatorComponent.getComponentType() == "oracle.adf.RichPopup");
if (event.isBusy()) {
if (isDialog) {
loadingIndicatorComponent.show();
else {
loadingIndicatorComponentId = AdfAgent.AGENT.getElementById(loadingIndicatorComponent.getClientId());
loadingIndicatorComponentId.style.display = "inherit";
else {
if (isDialog) {
loadingIndicatorComponent.hide();
else {
loadingIndicatorComponentId = AdfAgent.AGENT.getElementById(loadingIndicatorComponent.getClientId());
loadingIndicatorComponentId.style.display = "none";
AdfPage.PAGE.removeBusyStateListener(loadingIndicatorComponent, handleBusyState);
</af:resource>My problem is, if I click on any record in the table for first time, progress bar is not displayed. But from second click of any record, it starts displaying.
If anyone has any idea on this then please let me know what the issue is.
Thanks in advance,
KavithaHi John,
Thanks for your quick reply. I tried using af|statusIndicator component. But this doesnt disable the components on the page while the server is busy.
Is there any way to disable the page/make the page read only when the processing is happening ?
Thanks in advance,
Kavitha -
Data Table will not bind to Dropdown List selection
I get the following error when I try to use my own database tables (As in the "Using Databound Components to Access Databases" tutorial). It is a Oracle9i database. The Table (Vehicle)I use to populate the Dropdown List has around 450 000 rows, and the ComponentRowset returns 362 000 rows when run without a parameter.
Exception Details: javax.faces.el.EvaluationException
java.lang.NullPointerException
Possible Source of Error:
Class Name: com.sun.faces.el.ValueBindingImpl
File Name: ValueBindingImpl.java
Method Name: getValue
Line Number: 206
Please help! What am I doing wrong? As far as I can see the code is identical to the "Using Databound Components to Access Databases" tutorial.
Here is the code:
* Page1.java
* Created on 12 October 2004, 05:56
* Copyright jgenis
package ucodapp;
import javax.faces.*;
import com.sun.jsfcl.app.*;
import javax.faces.component.html.*;
import com.sun.jsfcl.data.*;
import javax.faces.component.*;
import com.sun.sql.rowset.*;
import javax.faces.event.*;
import javax.faces.convert.*;
public class Page1 extends AbstractPageBean {
// <editor-fold defaultstate="collapsed" desc="Creator-managed Component Definition">
private int __placeholder;
private HtmlForm form1 = new HtmlForm();
public HtmlForm getForm1() {
return form1;
public void setForm1(HtmlForm hf) {
this.form1 = hf;
private HtmlDataTable dataTable1 = new HtmlDataTable();
public HtmlDataTable getDataTable1() {
return dataTable1;
public void setDataTable1(HtmlDataTable hdt) {
this.dataTable1 = hdt;
private JdbcRowSetXImpl componentRowSet = new JdbcRowSetXImpl();
public JdbcRowSetXImpl getComponentRowSet() {
return componentRowSet;
public void setComponentRowSet(JdbcRowSetXImpl jrsxi) {
this.componentRowSet = jrsxi;
private HtmlOutputLabel componentLabel1 = new HtmlOutputLabel();
public HtmlOutputLabel getComponentLabel1() {
return componentLabel1;
public void setComponentLabel1(HtmlOutputLabel hol) {
this.componentLabel1 = hol;
private HtmlOutputText componentLabel1Text = new HtmlOutputText();
public HtmlOutputText getComponentLabel1Text() {
return componentLabel1Text;
public void setComponentLabel1Text(HtmlOutputText hot) {
this.componentLabel1Text = hot;
private UIColumn column1 = new UIColumn();
public UIColumn getColumn1() {
return column1;
public void setColumn1(UIColumn uic) {
this.column1 = uic;
private HtmlOutputText outputText1 = new HtmlOutputText();
public HtmlOutputText getOutputText1() {
return outputText1;
public void setOutputText1(HtmlOutputText hot) {
this.outputText1 = hot;
private HtmlOutputText outputText2 = new HtmlOutputText();
public HtmlOutputText getOutputText2() {
return outputText2;
public void setOutputText2(HtmlOutputText hot) {
this.outputText2 = hot;
private UIColumn column2 = new UIColumn();
public UIColumn getColumn2() {
return column2;
public void setColumn2(UIColumn uic) {
this.column2 = uic;
private HtmlOutputText outputText3 = new HtmlOutputText();
public HtmlOutputText getOutputText3() {
return outputText3;
public void setOutputText3(HtmlOutputText hot) {
this.outputText3 = hot;
private HtmlOutputText outputText4 = new HtmlOutputText();
public HtmlOutputText getOutputText4() {
return outputText4;
public void setOutputText4(HtmlOutputText hot) {
this.outputText4 = hot;
private UIColumn column3 = new UIColumn();
public UIColumn getColumn3() {
return column3;
public void setColumn3(UIColumn uic) {
this.column3 = uic;
private HtmlOutputText outputText5 = new HtmlOutputText();
public HtmlOutputText getOutputText5() {
return outputText5;
public void setOutputText5(HtmlOutputText hot) {
this.outputText5 = hot;
private HtmlOutputText outputText6 = new HtmlOutputText();
public HtmlOutputText getOutputText6() {
return outputText6;
public void setOutputText6(HtmlOutputText hot) {
this.outputText6 = hot;
private UIColumn column4 = new UIColumn();
public UIColumn getColumn4() {
return column4;
public void setColumn4(UIColumn uic) {
this.column4 = uic;
private HtmlOutputText outputText7 = new HtmlOutputText();
public HtmlOutputText getOutputText7() {
return outputText7;
public void setOutputText7(HtmlOutputText hot) {
this.outputText7 = hot;
private HtmlOutputText outputText8 = new HtmlOutputText();
public HtmlOutputText getOutputText8() {
return outputText8;
public void setOutputText8(HtmlOutputText hot) {
this.outputText8 = hot;
private UIColumn column5 = new UIColumn();
public UIColumn getColumn5() {
return column5;
public void setColumn5(UIColumn uic) {
this.column5 = uic;
private HtmlOutputText outputText9 = new HtmlOutputText();
public HtmlOutputText getOutputText9() {
return outputText9;
public void setOutputText9(HtmlOutputText hot) {
this.outputText9 = hot;
private HtmlOutputText outputText10 = new HtmlOutputText();
public HtmlOutputText getOutputText10() {
return outputText10;
public void setOutputText10(HtmlOutputText hot) {
this.outputText10 = hot;
private UIColumn column6 = new UIColumn();
public UIColumn getColumn6() {
return column6;
public void setColumn6(UIColumn uic) {
this.column6 = uic;
private HtmlOutputText outputText11 = new HtmlOutputText();
public HtmlOutputText getOutputText11() {
return outputText11;
public void setOutputText11(HtmlOutputText hot) {
this.outputText11 = hot;
private HtmlOutputText outputText12 = new HtmlOutputText();
public HtmlOutputText getOutputText12() {
return outputText12;
public void setOutputText12(HtmlOutputText hot) {
this.outputText12 = hot;
private UIColumn column7 = new UIColumn();
public UIColumn getColumn7() {
return column7;
public void setColumn7(UIColumn uic) {
this.column7 = uic;
private HtmlOutputText outputText13 = new HtmlOutputText();
public HtmlOutputText getOutputText13() {
return outputText13;
public void setOutputText13(HtmlOutputText hot) {
this.outputText13 = hot;
private HtmlOutputText outputText14 = new HtmlOutputText();
public HtmlOutputText getOutputText14() {
return outputText14;
public void setOutputText14(HtmlOutputText hot) {
this.outputText14 = hot;
private RowSetDataModel dataTable1Model = new RowSetDataModel();
public RowSetDataModel getDataTable1Model() {
return dataTable1Model;
public void setDataTable1Model(RowSetDataModel rsdm) {
this.dataTable1Model = rsdm;
private HtmlSelectOneMenu dropdown1 = new HtmlSelectOneMenu();
public HtmlSelectOneMenu getDropdown1() {
return dropdown1;
public void setDropdown1(HtmlSelectOneMenu hsom) {
this.dropdown1 = hsom;
private UISelectItems dropdown1SelectItems = new UISelectItems();
public UISelectItems getDropdown1SelectItems() {
return dropdown1SelectItems;
public void setDropdown1SelectItems(UISelectItems uisi) {
this.dropdown1SelectItems = uisi;
private JdbcRowSetXImpl vehicleRowSet = new JdbcRowSetXImpl();
public JdbcRowSetXImpl getVehicleRowSet() {
return vehicleRowSet;
public void setVehicleRowSet(JdbcRowSetXImpl jrsxi) {
this.vehicleRowSet = jrsxi;
private BigDecimalConverter dropdown1Converter = new BigDecimalConverter();
public BigDecimalConverter getDropdown1Converter() {
return dropdown1Converter;
public void setDropdown1Converter(BigDecimalConverter bdc) {
this.dropdown1Converter = bdc;
// </editor-fold>
public Page1() {
// <editor-fold defaultstate="collapsed" desc="Creator-managed Component Initialization">
try {
componentRowSet.setDataSourceName("java:comp/env/jdbc/CDS");
componentRowSet.setCommand("SELECT ALL TRACKER.COMPONENT.PINNO, TRACKER.COMPONENT.UNITCODE, TRACKER.COMPONENT.INSTALLEDDATE, TRACKER.COMPONENT.INSTALLREPORTNO, TRACKER.COMPONENT.TNUSERIALNO, TRACKER.VEHICLE.REGNO, TRACKER.VEHICLE.VINNO, TRACKER.VEHICLE.VEHICLEID, TRACKER.TRACKERAGREEMENT.TAID, TRACKER.TAPRODUCT.TAPRODUCTID, TRACKER.COMPONENT.COMPONENTID, TRACKER.COMPONENT.TAPRODUCTID, TRACKER.COMPONENT.COMPONENTTYPEID, TRACKER.COMPONENT.INSTALLERID, TRACKER.TAPRODUCT.TAID, TRACKER.TAPRODUCT.PRODUCTTYPEID, TRACKER.TAPRODUCT.TAPRODUCTSTATUSID, TRACKER.TAPRODUCT.PRORATANRDAYS, TRACKER.TAPRODUCT.CONTRACTPERIOD, TRACKER.TAPRODUCT.BILLINGFREQUENCYID, TRACKER.TAPRODUCT.CANCELLATIONDATE, TRACKER.TAPRODUCT.STARTDATE, TRACKER.TAPRODUCT.SOURCEID, TRACKER.TAPRODUCT.PRICINGDATE, TRACKER.TAPRODUCT.DEALTYPEID, TRACKER.TAPRODUCT.ACTIONTYPEID, TRACKER.TAPRODUCT.ISSTANDARDBATTERY, TRACKER.TAPRODUCT.AUDITUSERID, TRACKER.TAPRODUCT.AUDITSRID, TRACKER.COMPONENT.SERIALNUMBER, TRACKER.COMPONENT.RECEIVEDDATE, TRACKER.COMPONENT.RESPONSECODE, TRACKER.COMPONENT.REPLYCODE, TRACKER.COMPONENT.ACTIVATIONCODE, TRACKER.COMPONENT.ALERT, TRACKER.COMPONENT.ALTDEACTIVATIONCODE, TRACKER.COMPONENT.INSTALLEDLOCATION, TRACKER.COMPONENT.VERSION, TRACKER.COMPONENT.SOFTWAREVERSION, TRACKER.COMPONENT.CANACTIVATE, TRACKER.COMPONENT.COMPONENTSTATUSID, TRACKER.COMPONENT.SIMNO, TRACKER.COMPONENT.LOCATECELLNO, TRACKER.COMPONENT.AUDITDT, TRACKER.COMPONENT.THEFTNO, TRACKER.TAPRODUCT.STATUSBEFORECANCELLATION, TRACKER.TAPRODUCT.AUDITDT, TRACKER.TRACKERAGREEMENT.VEHICLEID, TRACKER.TRACKERAGREEMENT.CUSTOMERID, TRACKER.TRACKERAGREEMENT.TASTATUSDATE, TRACKER.TRACKERAGREEMENT.TASTATUSID, TRACKER.TRACKERAGREEMENT.AUDITUSERID, TRACKER.TRACKERAGREEMENT.AUDITSRID, TRACKER.TRACKERAGREEMENT.AUDITDT, TRACKER.VEHICLE.MAKEMODELID, TRACKER.VEHICLE.VEHICLECOLOURID, TRACKER.VEHICLE.COLOURSHADEID, TRACKER.VEHICLE.BATTERYID, TRACKER.VEHICLE.INSURERID, TRACKER.VEHICLE.ENGINENO, TRACKER.VEHICLE.CHASSISNO, TRACKER.VEHICLE.POLICYNO, TRACKER.VEHICLE.YEARMODEL, TRACKER.VEHICLE.JOINDATE, TRACKER.VEHICLE.POLICYCOMMENCEDATE, TRACKER.VEHICLE.DESCRIPTION, TRACKER.VEHICLE.ACTIVE, TRACKER.VEHICLE.METALLICIND, TRACKER.VEHICLE.TEMPREGNO, TRACKER.VEHICLE.ORDERNUMBER, TRACKER.VEHICLE.POLICYSEQUENCENO, TRACKER.VEHICLE.AUDITUSERID, TRACKER.VEHICLE.AUDITSRID, TRACKER.VEHICLE.AUDITDT, TRACKER.VEHICLE.THEFTNO FROM TRACKER.COMPONENT INNER JOIN TRACKER.TAPRODUCT ON TRACKER.COMPONENT.TAPRODUCTID=TRACKER.TAPRODUCT.TAPRODUCTID INNER JOIN TRACKER.TRACKERAGREEMENT ON TRACKER.TAPRODUCT.TAID=TRACKER.TRACKERAGREEMENT.TAID INNER JOIN TRACKER.VEHICLE ON TRACKER.TRACKERAGREEMENT.VEHICLEID=TRACKER.VEHICLE.VEHICLEID WHERE TRACKER.VEHICLE.VEHICLEID=?");
dataTable1Model.setDataCacheKey("com.sun.datacache.Page1.componentRowSet");
dataTable1Model.setRowSet(componentRowSet);
dataTable1Model.setSchemaName("");
dataTable1Model.setTableName("");
vehicleRowSet.setDataSourceName("java:comp/env/jdbc/CDS");
vehicleRowSet.setCommand("SELECT ALL TRACKER.VEHICLE.VEHICLEID, TRACKER.VEHICLE.REGNO FROM TRACKER.VEHICLE");
vehicleRowSet.setFetchSize(1000);
} catch (Exception e) {
log("Page1 Initialization Failure", e);
throw e instanceof javax.faces.FacesException ? (FacesException) e : new FacesException(e);
// </editor-fold>
// Additional user provided initialization code
// Initialization Code
// Part of the Using Databound Components to Access Databases Tutorial
// You can find this tutorial on the web -- use the link on the Welcome page
try {
vehicleRowSet.execute();
vehicleRowSet.next();
dataTable1Model.setObject(1, vehicleRowSet.getObject("VEHICLEID"));
} catch (Exception ex) {
throw new FacesException(ex);
} // end try catch
protected ucodapp.ApplicationBean1 getApplicationBean1() {
return (ucodapp.ApplicationBean1)getBean("ApplicationBean1");
protected ucodapp.SessionBean1 getSessionBean1() {
return (ucodapp.SessionBean1)getBean("SessionBean1");
* Bean cleanup.
protected void afterRenderResponse() {
vehicleRowSet.close();
vehicleRowSet.close();
componentRowSet.close();
public void dropdown1_processValueChange(ValueChangeEvent vce) {
// Dropdown List Event Code
// Part of the Using Databound Components to Access Databases Tutorial
// You can find this tutorial on the web -- use the link on the Welcome page
try {
dataTable1Model.setObject(1, dropdown1.getValue());
dataTable1Model.execute();
} catch (Exception e) {
log("vehicle id change exception", e);
error("Exception changing Vehicle Id: " + e);
} // end try catch
// User event code here...Take a look at the Page1 constructor.
It appears that you're trying to bind the datatable to 2
different rowsets. I suggest to clean up this
constructor to make sure you're using the right
rowset.
Your value binding expressions on each column
of the datatable may not be set to the right column.
John
JSC QA -
Auto Increment ID Field Table in the Oracle Database (insert new record)
I have been using the MySQL. And the ID field of the database table is AUTO INCREMENT. When I insert a new record into a database table, I can have a statement like:
public void createThread( String receiver, String sender, String title,
String lastPostMemberName, String threadTopic,
String threadBody, Timestamp threadCreationDate,
Timestamp threadLastPostDate, int threadType,
int threadOption, int threadStatus, int threadViewCount,
int threadReplyCount, int threadDuration )
throws MessageDAOSysExceptionand I do not have to put the ID variable in the above method. The table will give the new record an ID number that is equivalent to the ID number of the last record plus one automatically.
Now, I am inserting a new record into an Oracle database table. I am told that I cannot do what I am used to doing with the MySQL database.
How do I revise the createThread method while I have no idea about what the next sequence number shall be?I am still very confused; in particular, the Java part. Let me try again.
// This part is for the database table creation
-- Component primary key sequence
CREATE SEQUENCE dhsinfo_page_content_seq
START WITH 0;
-- Trigger for updating the Component primary key
CREATE OR REPLACE TRIGGER DHSInfoPageContent_INSERT_TRIGGER
BEFORE INSERT ON DHSInfoPageContent //DHSInfoPageContent is the table name
FOR EACH ROW WHEN (new.ID IS NULL) // ID is the column name for auto increment
BEGIN
SELECT dhsinfo_page_content_seq.Nextval
INTO :ID
FROM DUAL;
END;/I am uncertain what to do with my Java code. (I have been working with the MySQL. Changing to the Oracle makes me very confused.
public void updateContent( int groupID, String pageName, int componentID,
String content, Timestamp contentCreationDate )
throws contentDAOSysException
// The above Java statement does not have a value to insert into the ID column
// in the DHSInfoPageContent table
Connection conn = null;
PreparedStatement stmt = null;
// what to do with the INSERT INTO below. Note the paramether ID.
String insertSQL = "INSERT INTO DHSInfoPageContent( ID, GroupID, Name, ComponentID, Content, CreationDate ) VALUES (?, ?, ?, ?, ?, ?)";
try
conn = DBConnection.getDBConnection();
stmt = conn.prepareStatement( insertSQL );
stmt.setInt( 1, id ); // Is this Java statement redundant?
stmt.setInt( 2, groupID );
stmt.setString( 3, pageName );
stmt.setInt( 4, componentID );
stmt.setString( 5, content );
stmt.setTimestamp( 6, contentCreationDate );
stmt.executeUpdate();
catch
finally -
ADF JS API methods not working for the newly created rows in table
Hi All,
We need to make sure the focus goes back to the newly created rows first column's first component.
Used findComponent and findComponentByAbsoulteId and even hard coded the id, but still the methods are returning null.
Even tried ADFRichTable.getRowKey(index), by passing index as 0 for the first row, still the method is returning null.
Tried ADFUITable.findComponent(Object scopedId, Object rowKey), but unable to pass client side rowKey as the above method is returning null.
All our requirement is to make the focus back to the first row's component when the user clicks on the cancel button instead of save button. Appreciate your help. Thanks.
P.S.: Rows will be created using CreateInsert method.
JDEV Version: 11.1.2.0.0 and Table is in a region and we are using UI Shell Tab Template to launch regions.
Raja.
Edited by: RajaRamasamy on Feb 10, 2013 4:30 PM
Edited by: RajaRamasamy on Feb 10, 2013 4:30 PMThanks Frank,
But some times even we use findComponentByAbsoulteLocator, its not working. So i followed the approach where you will get the rowID like the below and construct the client ID and pushing the JS to client using Service class. And it worked.
String rowId = table.getClientRowKeyManager().getClientRowKey(facesContext, table, rowKey);
But i am worried that even though we hard coded the client and executing the js function from the command button by keeping client listener's type as click, the focus is not setting. And i tried giving the id as tableId[rowIndex]:componentId in the findComponentByAbsoulteLocator.
Can you let me know is there another way to make focus only using JS on click of command button, where the button does not have any action or actionListener.
Raja. -
MB5B Report table for Open and Closing stock on date wise
Hi Frds,
I am trying get values of Open and Closing stock on date wise form the Table MARD and MBEW -Material Valuation but it does not match with MB5B reports,
Could anyone suggest correct table to fetch the values Open and Closing stock on date wise for MB5B reports.
Thanks
Mohan MHi,
Please check the below links...
Query for Opening And Closing Stock
Inventory Opening and Closing Stock
open stock and closing stock
Kuber -
Hi All,
i got an error while dropping a table which is
ORA-00600: internal error code, arguments: [kghstack_free1], [kntgmvm: collst], [], [], [], [], [], [], [], [], [], []
i know learnt that -600 error is related to dba. now how to proceed.
thanks and regards,
sri ram.00600 errors should be raised as service request with Oracle as it implies some internal bug.
You can search oracle support first to see if anyone has had the same class of 00600 error, and then if not (and therefore no patch) raise your issue with Oracle.
http://support.oracle.com -
Logical level in Fact tables - best practice
Hi all,
I am currently working on a complex OBIEE project/solution where I am going straight to the production tables, so the fact (and dimension) tables are pretty complex since I am using more sources in the logical tables to increase performance. Anyway, what I am many times struggling with is the Logical Levels (in Content tab) where the level of each dimension is to be set. In a star schema (one-to-many) this is pretty straight forward and easy to set up, but when the Business Model (and physical model) gets more complex I sometimes struggle with the aggregates - to get them work/appear with different dimensions. (Using the menu "More" - "Get levels" does not allways give the best solution......far from). I have some combinations of left- and right outer join as well, making it even more complicated for the BI server.
For instance - I have about 10-12 different dimensions - should all of them allways be connected to each fact table? Either on Detail or Total level. I can see the use of the logical levels when using aggregate fact tables (on quarter, month etc.), but is it better just to skip the logical level setup when no aggregate tables are used? Sometimes it seems like that is the easiest approach...
Does anyone have a best practice concerning this issue? I have googled for this but I haven't found anything good yet. Any ideas/articles are highly appreciated.Hi User,
For instance - I have about 10-12 different dimensions - should all of them always be connected to each fact table? Either on Detail or Total level.It not necessary to connect to all dimensions completely based on the report that you are creating ,but as a best practice we should maintain all at Detail level only,when you are mentioning any join conditions in physical layer
for example for the sales table if u want to report at ProductDimension.ProductnameLevel then u should use detail level else total level(at Product,employee level)
Get Levels. (Available only for fact tables) Changes aggregation content. If joins do not exist between fact table sources and dimension table sources (for example, if the same physical table is in both sources), the aggregation content determined by the administration tool will not include the aggregation content of this dimension.
Source admin guide(get level definition)
thanks,
Saichand.v -
Rendering xml-table into logical filename in SAP R/3
Hi,
I am trying to translate an xml-table with bytes into a logical filepath in SAP R3.
Do I have to use the method gui-download or shall I loop the internal xml-table?
When I tried to loop the xml-table into a structure, and then transfering the structure into the logical filename, I get problems with the line breaks in my xml-file. How do I get the lines to break exactly the same as I wrote them in my ABAP-code?
Edited by: Kristina Hellberg on Jan 10, 2008 4:24 PMI believe you posted in the wrong forum.
This forum is dedicated to development and deployment of .Net applications that connect and interact with BusinessObjects Enterprise, BusinessObjects Edge, or Crystal Reports Server. This includes the development of applications using the BusinessObjects Enterprise, Report Application Server, Report Engine, and Web Services SDKs.
Ludek -
Can you check for data in one table or another but not both in one query?
I have a situation where I need to link two tables together but the data may be in another (archive) table or different records are in both but I want the latest record from either table:
ACCOUNT
AccountID Name
123 John Doe
124 Jane Donaldson
125 Harold Douglas
MARKETER_ACCOUNT
Key AccountID Marketer StartDate EndDate
1001 123 10526 8/3/2008 9/27/2009
1017 123 10987 9/28/2009 12/31/4712 (high date ~ which means currently with this marketer)
1023 124 10541 12/03/2010 12/31/4712
ARCHIVE
Key AccountID Marketer StartDate EndDate
1015 124 10526 8/3/2008 12/02/2010
1033 125 10987 01/01/2011 01/31/2012
So my query needs to return the following:
123 John Doe 10526 8/3/2008 9/27/2009
124 Jane Donaldson 10541 12/03/2010 12/31/4712 (this is the later of the two records for this account between archive and marketer_account tables)
125 Harold Douglas 10987 01/01/2011 01/31/2012 (he is only in archive, so get this record)
I'm unsure how to proceed in one query. Note that I am reading in possibly multiple accounts at a time and returning a collection back to .net
open CURSOR_ACCT
select AccountID
from
ACCOUNT A,
MARKETER_ACCOUNT M,
ARCHIVE R
where A.AccountID = nvl((select max(M.EndDate) from Marketer_account M2
where M2.AccountID = A.AccountID),
(select max(R.EndDate) from Archive R2
where R2.AccountID = A.AccountID)
and upper(A.Name) like parameter || '%'
<can you do a NVL like this? probably not... I want to be able to get the MAX record for that account off the MarketerACcount table OR the max record for that account off the Archive table, but not both>
(parameter could be "DO", so I return all names starting with DO...)if I understand your description I would assume that for John Dow we would expect the second row from marketer_account ("high date ~ which means currently with this marketer"). Here is a solution with analytic functions:
drop table account;
drop table marketer_account;
drop table marketer_account_archive;
create table account (
id number
, name varchar2(20)
insert into account values (123, 'John Doe');
insert into account values (124, 'Jane Donaldson');
insert into account values (125, 'Harold Douglas');
create table marketer_account (
key number
, AccountId number
, MktKey number
, FromDt date
, ToDate date
insert into marketer_account values (1001, 123, 10526, to_date('03.08.2008', 'dd.mm.yyyy'), to_date('27.09.2009', 'dd.mm.yyyy'));
insert into marketer_account values (1017, 123, 10987, to_date('28.09.2009', 'dd.mm.yyyy'), to_date('31.12.4712', 'dd.mm.yyyy'));
insert into marketer_account values (1023, 124, 10541, to_date('03.12.2010', 'dd.mm.yyyy'), to_date('31.12.4712', 'dd.mm.yyyy'));
create table marketer_account_archive (
key number
, AccountId number
, MktKey number
, FromDt date
, ToDate date
insert into marketer_account_archive values (1015, 124, 10526, to_date('03.08.2008', 'dd.mm.yyyy'), to_date('02.12.2010', 'dd.mm.yyyy'));
insert into marketer_account_archive values (1033, 125, 10987, to_date('01.01.2011', 'dd.mm.yyyy'), to_date('31.01.2012', 'dd.mm.yyyy'));
select key, AccountId, MktKey, FromDt, ToDate
, max(FromDt) over(partition by AccountId) max_FromDt
from marketer_account
union all
select key, AccountId, MktKey, FromDt, ToDate
, max(FromDt) over(partition by AccountId) max_FromDt
from marketer_account_archive;
with
basedata as (
select key, AccountId, MktKey, FromDt, ToDate
from marketer_account
union all
select key, AccountId, MktKey, FromDt, ToDate
from marketer_account_archive
basedata_with_max_intervals as (
select key, AccountId, MktKey, FromDt, ToDate
, row_number() over(partition by AccountId order by FromDt desc) FromDt_Rank
from basedata
filtered_basedata as (
select key, AccountId, MktKey, FromDt, ToDate from basedata_with_max_intervals where FromDt_Rank = 1
select a.id
, a.name
, b.MktKey
, b.FromDt
, b.ToDate
from account a
join filtered_basedata b
on (a.id = b.AccountId)
ID NAME MKTKEY FROMDT TODATE
123 John Doe 10987 28.09.2009 31.12.4712
124 Jane Donaldson 10541 03.12.2010 31.12.4712
125 Harold Douglas 10987 01.01.2011 31.01.2012
If your tables are big it could be necessary to do the filtering (according to your condition) in an early step (the first CTE).
Regards
Martin -
Can not insert/update data from table which is created from view
Hi all
I'm using Oracle database 11g
I've created table from view as the following command:
Create table table_new as select * from View_Old
I can insert/update data into table_new by command line.
But I can not Insert/update data of table_new by SI Oject Browser tool or Oracle SQL Developer tool .(read only)
Anybody tell me, what's happend? cause?
Thankyou
thiensu
Edited by: user8248216 on May 5, 2011 8:54 PM
Edited by: user8248216 on May 5, 2011 8:55 PMI can insert/update data into table_new by command line.
But I can not Insert/update data of table_new by SI Oject Browser tool or Oracle SQL Developer tool .(read only)so what is wrong with the GUI tools & why posting to DATABASE forum when that works OK? -
Not able to refresh the data in a table
Hi In my application i fill data in a table on clikc of a button ..
Following are the line of code i have user
RichColumn richcol = (RichColumn)userTableData.getChildren().get(0); (fetch the first column of my table)
richcol.getChildren().add(reportedByLabel); (reportedByLabel is a object of RichInputText)
AdfFacesContext adfContext1 = AdfFacesContext.getCurrentInstance();
adfContext1.addPartialTarget(richcol);
adfContext1.addPartialTarget(userTableData);
But on submit of that button table data is not refreshed after adding partial trigger on that table as well as that column also .... any idea??
Edited by: Shubhangi m on Jan 27, 2011 3:50 AMHi,
The Code that you have shown adds an additional inputText component to the first column of a table.
Is that your intention?
If yes, please use the following code snippet to achieve your functionality:
JSPX Code:
<af:form id="f1">
<af:commandButton text="Add Column" id="cb1"
actionListener="#{EmployeesTableBean.onAddColumn}"/>
<af:table value="#{bindings.Employees.collectionModel}" var="row"
rows="#{bindings.Employees.rangeSize}"
emptyText="#{bindings.Employees.viewable ? 'No data to display.' : 'Access Denied.'}"
fetchSize="#{bindings.Employees.rangeSize}"
rowBandingInterval="0"
selectedRowKeys="#{bindings.Employees.collectionModel.selectedRow}"
selectionListener="#{bindings.Employees.collectionModel.makeCurrent}"
rowSelection="single" id="t1"
binding="#{EmployeesTableBean.table}">
<af:column sortProperty="EmployeeId" sortable="false"
headerText="#{bindings.Employees.hints.EmployeeId.label}"
id="c1">
<af:outputText value="#{row.EmployeeId}" id="ot2">
<af:convertNumber groupingUsed="false"
pattern="#{bindings.Employees.hints.EmployeeId.format}"/>
</af:outputText>
</af:column>
<af:column sortProperty="FirstName" sortable="false"
headerText="#{bindings.Employees.hints.FirstName.label}"
id="c2">
<af:outputText value="#{row.FirstName}" id="ot1"/>
</af:column>
<af:column sortProperty="LastName" sortable="false"
headerText="#{bindings.Employees.hints.LastName.label}"
id="c3">
<af:outputText value="#{row.LastName}" id="ot3"/>
</af:column>
</af:table>
</af:form>
Bean:
public class EmployeesTableBean {
private RichTable table;
public EmployeesTableBean() {
public void setTable(RichTable table) {
this.table = table;
public RichTable getTable() {
return table;
public void onAddColumn(ActionEvent actionEvent) {
RichInputText newRichInputText = new RichInputText();
newRichInputText.setId("new");
newRichInputText.setValue("Name:");
RichColumn richcol = (RichColumn)table.getChildren().get(0);
richcol.getChildren().add(newRichInputText);
AdfFacesContext adfContext1 = AdfFacesContext.getCurrentInstance();
adfContext1.addPartialTarget(table);
Thanks,
Navaneeth -
Unable to capture the adf table column sort icons using open script tool
Hi All,
I am new to OATS and I am trying to create script for testing ADF application using open script tool. I face issues in recording two events.
1. I am unable to record the event of clicking adf table column sort icons that exist on the column header. I tried to use the capture tool, but that couldn't help me.
2. The second issue is I am unable to capture the panel header text. The component can be identified but I was not able to identify the supporting attribute for the header text.Hi keerthi,
1. I have pasted the code for the first issue
web
.button(
122,
"/web:window[@index='0' or @title='Manage Network Targets - Oracle Communications Order and Service Management - Order and Service Management']/web:document[@index='0' or @name='1824fhkchs_6']/web:form[@id='pt1:_UISform1' or @name='pt1:_UISform1' or @index='0']/web:button[@id='pt1:MA:0:n1:1:pt1:qryId1::search' or @value='Search' or @index='3']")
.click();
adf
.table(
"/web:window[@index='0' or @title='Manage Network Targets - Oracle Communications Order and Service Management - Order and Service Management']/web:document[@index='0' or @name='1c9nk1ryzv_6']/web:ADFTable[@absoluteLocator='pt1:MA:n1:pt1:pnlcltn:resId1']")
.columnSort("Ascending", "Name" );
}
Maybe you are looking for
-
i have retrieved data from mseg and stored in one table where werks in s_werks . MJAHR ZEILE BWART MATNR MENGE MEINS ztable : contains BWART and indicator field indc. Now this i_mseg data will be totaled on Material and plant. Issued qty at material
-
Hi, Could someone tell me where in forms builder you can configure the form so the latest record is displayed first in the application. As an example i query someones name in the application and i'd like to view the latest record saved to that person
-
Still Can't Figure Out Returning to Page with URL Parameters
Hi, I am trying to figuring out how after submitting a form to return to a previous webpage with URL parameters in it. Any ideas? Thanks, Craig
-
SQL Expression for date conversion - version XI
I am trying to convert a number field to a date field in order to use it in a date parameter in Infoview. The database field is in a 15 digit DTM format but is stored as a number. There is also a zero stored in the database field. When I try to creat
-
TS1538 my ipod touch 5th gen still wont connect to itunes with all the current software
im trying to connect to itunes to sync and save a back up of my ipod ive used 3 different cables and done all the steps suggested by apple but it still does not connect to itunes i need to save a back up in the next few days because i might be gettin