ORA-01400 ccannot insert NULL into ("SYS". «SUMINLINE$ '.» ("' TEXT ')
HelloFirst I'll apologize I can't give too much information as my client is offline and remotely. The SQL I will discuss work on his test and my solution Oracle XE. But on live, we get the error shows:
ORA-00604: an error has occurred at the SQL level 1 recursive
ORA-01400: cannot insert NULL into ("SYS". «SUMINLINE$ '.» ("' TEXT ').
I have never posted on this forum but I do not understand what makes the table SUMINLINE$ and it has relevance. Please also excuse if there is a better way to write the SQL code), in any case any guideance would be useful.
I thought it may be down to how I use rownum (he is a complete proposal) but he materializes in the previous view, I don't see how it could be)
In any case if someone is good enough to spend a little time there, watching the SQL below I would be eternally grateful.
-----------------------------------------------------
STEP 1: I have a materialized view of base:
(he uses the 'rownum' as primary key as a primary key is needed more late and from this point of view does not
a primary key, as it is a view complex)
-------------------------------------------------------
Bo_socrates.baseCSIIdentPerPerson CREATE MATERIALIZED VIEW
TABLESPACE bo_socrates
PCTUSED 0
PCTFREE 10
INITRANS 2
MAXTRANS 255
STORAGE)
1040K INITIALS
MINEXTENTS 1
MAXEXTENTS UNLIMITED
PCTINCREASE 0
DEFAULT USER_TABLES
)
NOCACHE
NOLOGGING
NOPARALLEL
IMMEDIATE CONSTRUCTION
COMPLETE REFRESH
WITH THE PRIMARY KEY
AS
SELECT rownum iid,
csi.attendId,
csi.sceneId,
csi.caseId,
csi.identDate,
csi.identType,
csi.subIdenttype,
csi.suspectId,
CSI. Surname,
CSI. Data,
CSI. CRO,
CSI. ConfirmedIdent
OF bus_objects.v_factCSIIdentPerPerson csi
;
CREATE INDEX bo_socrates.ind_baseCSIIdentPerson_Id on bo_socrates.baseCSIIdentPerPerson (id)
TABLESPACE bo_socrates
STORAGE (INITIAL 64K MINEXTENTS 1 MAXEXTENTS UNLIMITED) NOLOGGING;
-----------------------------------------------------
STEP 2: This materialized view (my fact table) uses the previous view of the materilalized
as a point to calculate the date of fact. It is for example the background 'unit' people
but I also need to know what people came first, that people came first with blue hats, etc..
So I use one with instructions to discover these facts.
* PLEASE NOTE THAT IT IS THIS VIEW WHICH TRIGGERS THE ERROR WHEN THE SCRIPT IS RUN *.
If there is a simpler way to write so please let me know
This point of view basically uses the primary key (id) generated in the above view by using rownum
-------------------------------------------------------
Bo_socrates.factCSIIdent CREATE MATERIALIZED VIEW
TABLESPACE bo_socrates
PCTUSED 0
PCTFREE 10
INITRANS 2
MAXTRANS 255
STORAGE)
1040K INITIALS
MINEXTENTS 1
MAXEXTENTS UNLIMITED
PCTINCREASE 0
DEFAULT USER_TABLES
)
NOCACHE
NOLOGGING
NOPARALLEL
IMMEDIATE CONSTRUCTION
COMPLETE REFRESH
WITH THE PRIMARY KEY
AS
With
firstAttend like)
Select Attendid, Min (IdentDate) Identdate,
Min (ID) Id,
Min (case when identtype = 0 Then ID else null end) IPF,
Dnaid, min (case when identtype = 1 Then ID else null end),
Fwid, min (case when identtype = 2 Then ID else null end),
Min (Case When Confirmedident = 1 then end Id or Null) Idconfirm,
Fpidconfirm, min (case when identtype = 0 and Confirmedident = 1 Then ID else null end),
Dnaidconfirm, min (case when identtype = 1 and Confirmedident = 1 Then ID else null end),
Min (case when identtype = 2 and confirmedident = 1 Then ID else null end) FwidConfirm
Of Bo_Socrates.Basecsiidentperperson
Attendid GROUP),
firstInd AS)
Select Attendid, SuspectId, Identdate, Min (Id) Id, Min (IdentDate),
Min (case when identtype = 0 Then ID else null end) IPF,
Dnaid, min (case when identtype = 1 Then ID else null end),
Fwid min (case when identtype = 2 Then ID else null end)
Of bo_socrates. BaseCSIIdentPerPerson
Attendid group, Suspectid)
Select csi.id,
csi.attendId,
csi.sceneId,
csi.caseId,
csi.identDate,
CSI.identtype,
csi.subIdenttype,
csi.suspectId,
CSI. Surname,
CSI. Data,
CSI. CRO,
Csi.Confirmedident,
Case when Ind.Id is Null then 0 otherwise 1 end Firstindident.
Case when Ind.Fpid is Null then 0 otherwise 1 end Firstindidentfp.
Case when Ind.DNAid is Null then 0 otherwise 1 end FirstindidentDNA.
Case when Ind.FWid is Null then 0 otherwise 1 end FirstIndIdentFW.
Case when Att.Id is Null then 0 otherwise 1 end Firstattident.
Case when Attfp.Fpid is Null then 0 otherwise 1 end Firstattidentfp.
Case when AttDNA.DNAid is Null then 0 otherwise 1 end FirstattidentDNA.
Case when Attfw.Fwid is Null then 0 otherwise 1 end Firstattidentfw.
Case when Att.IdConfirm is Null then 0 otherwise 1 end FirstattidentConfirm.
Case when Attfpc.Fpidconfirm is Null then 0 otherwise 1 end Firstattidentfpconfirm.
Case when AttDNAc.DNAidconfirm is Null then 0 otherwise 1 end FirstattidentDNAconfirm.
Cases where AttFWc.FWidconfirm is Null then 0 otherwise 1 end FirstattidentFWconfirm
Of Bo_Socrates.Basecsiidentperperson Csi
Left outer join Firstind Ind Csi.Id = Ind.Id
Left outer join Firstind Indfp Csi.Id = Indfp.Fpid
Left outer join Firstind Inddna Csi.Id = Inddna.Dnaid
Left outer join Firstind IndFW Csi.Id = IndFW.FWid
Left outer join Firstattend Att Csi.Id = Att.Id
Left outer join Firstattend Attfp Csi.Id = Attfp.Fpid
Left outer join Firstattend Attdna Csi.Id = Attdna.Dnaid
Left outer join Firstattend Attfw Csi.Id = Attfw.Fwid
Left outer join Firstattend Attfpc Csi.Id = AttFPc.Fpidconfirm
Left outer join Firstattend Attdnac Csi.Id = AttDNAc.DNAidconfirm
Left outer join Firstattend Attfwc Csi.Id = AttFWc.Fwidconfirm
;
CREATE INDEX bo_socrates.ind_factCSIIdent_Id on bo_socrates.factCSIIdent (attendId)
TABLESPACE bo_socrates
STORAGE (INITIAL 64K MINEXTENTS 1 MAXEXTENTS UNLIMITED) NOLOGGING;
CREATE INDEX bo_socrates.ind_factCSIIdent_date on bo_socrates.factCSIIdent (identDate)
TABLESPACE bo_socrates
STORAGE (INITIAL 64K MINEXTENTS 1 MAXEXTENTS UNLIMITED) NOLOGGING;
CREATE INDEX bo_socrates.ind_factCSISubIdent_type on bo_socrates.factCSIIdent (subidentType)
TABLESPACE bo_socrates
STORAGE (INITIAL 64K MINEXTENTS 1 MAXEXTENTS UNLIMITED) NOLOGGING;
COMMIT;
Details of the message of pl of the OS and database versions. It is probably a bug - pl see these Docs MOS
Error ORA-01400 creating MView ANSI join [ID 1495499.1]
While Alter Materialized View compilation then error ORA-01400 product [1377447.1 ID]
As the State of docs, a fix is available in the next version of Oracle (12g) - I'd say you open an SR with Support
HTH
Srini
Tags: Database
Similar Questions
-
Nice day
I'm under EBS 11.5.10 with DB 10.2.0.4. I applied patch 7429271 following the steps described in the Doc id 233044.1.
After restarting the application, I had one "node id does not exist for the current application" when forms started.
After serving nodes (exec fnd_conc_clone.setup_clean) DNF, I ran successfully on the dbtier autoconfig but got the error below in the layer of apps.
I also noticed that the content of my BCD file has been deleted and replaced by the model data (all values are by default). I tried to restore but it just had class written once again with default data.
Hope my explanation was clear enough.
Any suggestions?
-adconfig.log error-
Unique constraint error (00001) is OK if the key already exists
java.sql.SQLException: ORA-01400: cannot insert NULL into ('APPLSYS". "" "" FND_NODES '. "" NODE_NAME')
ORA-06512: at the 'APPS '. FND_CONCURRENT', line 1504
ORA-06512: at the 'APPS '. FND_APP_SERVER_PKG', line 163
ORA-06512: at line 1
-Database error change the server
You have the latest applied AutoConfig patch (Patch 9535311 - T2K AUTOCONFIG AND TEMPLATES CUMULATIVE HOTFIX U)? If this isn't the case, please apply the patch and then try.
Additionally, make sure that you have entered in the file/etc/hosts.
Thank you
Hussein
-
Hi Hsawwan,
When you try to save the header in the order form, you will see the following message in R12.
Note
--------------------------------------------------------------------------------
ORA-01400: cannot insert NULL in
("TO HAVE". "" "" OE_ORDER_HEADERS_ALL '. "" ORDER_NUMBER") in the package OE_Header_Util procedure Insert_Row
I followed the Doc-ID 1208783.1 and change the value of the profile Option, OM: Default sale Transaction Phase, NULL or "Fulfillment". and I srt a configuration document for sales orders sequence.
Please help me how to solve the problem.
Thank you
Concerning
GSMAre you connected to the correct responsibility?
Have you checked if this simultaneous program is added to the application group that is the responsibility?
Thank you
Hussein -
Hi all, it's weird, I just installed Application Express 4.2.4.00.08
I tried to paste a script in SQL Studio-> Scripts SQL Editor and it gives this error if I try to run the script.
I tried to save the script, and the result is displayed as none of the existing scripts.
I tried the same thing with an insert script, same results.
INSERT INTO OM_STATES (STATE_ABBR, STATE_NAME, batch) VALUES ("WV", "WestVirginia", 1);
Any ideas?
Searched the forum and Google came with 3 of the same, but the dates were 2006 and 2005
Thank you very much,
BillHi all
I uninstalled APEX using the apxremov.sql and reinstalled but it's always the same things.
The solution
apxremov. SQL
Cascade DROP USER EBS_APEX; (my diagram)
DROP cascade USE APEX_030200; (this client never had used before APEX so I removed it all)
DROP cascade USE APEX_040200;
DROP TABLESPACE APEX_TS INCLUDING CONTENT AND DATA FILES; (it's the table space that I used to install the APEX 4.2.4)
exec dbms_network_acl_admin.delete_privilege ('power_users.xml', 'FLOWS_030200', 'connect', TRUE); -remove all links to old users
exec dbms_network_acl_admin.delete_privilege ('power_users.xml', 'FLOWS_040200', 'connect', TRUE); - remove links to older users
Reinstall the APEX
-
ORA-01400: cannot insert NULL into...
Hello
I've created and activated an authentication scheme that is customized by using the function below.
FUNCTION authenticate (p_username IN VARCHAR2,
p_password IN VARCHAR2) RETURN BOOLEAN IS
v_activated TANK;
v_pass_hash VARCHAR2 (32);
v_db_pass_hash VARCHAR2 (32);
BEGIN
-check if there is a user
Password enabled, SELECT
IN v_activated, v_db_pass_hash
OF t7_users
WHERE username = p_username;
v_pass_hash: = md5hash (UPPER (p_username): p_password);
-check if the password matches
IF v_db_pass_hash! = v_pass_hash THEN
apex_util.set_session_state ('login_message', 'invalid password');
apex_util.set_authentication_result (4);
RETURN FALSE;
END IF;
-Check if the account is activated
IF v_activated = n THEN
apex_util.set_session_state ('login_message', 'your account has not been verified yet');
apex_util.set_authentication_result (2);
RETURN FALSE;
END IF;
-If no error has occurred so far, then authenticate
apex_util.set_authentication_result (0);
RETURN TRUE;
EXCEPTION
WHEN NO_DATA_FOUND THEN
apex_util.set_session_state ('login_message', 'invalid username');
apex_util.set_authentication_result (1);
RETURN FALSE;
WHILE OTHERS THEN
apex_util.set_session_state ('login_message', ' unknown internal error, contact the administrator of the site "");
apex_util.set_authentication_result (7);
RETURN FALSE;
END to authenticate;
When I try to log in using a combination of user and password correct name, it works perfect. However if using invalid credentials my app guard throwing the error below
I have nothing special to the login form (#101), which was established jointly with the request. This is how it is configured
Process connection:
I use ApEX 4.0.2 with DB Oracle 11g XE.
This could be the cause? What Miss me? :/
Your help is very appreciated!
Hi Szabolcs Tenkei,
The reason behind this:
When I try to log in using a combination of user and password correct name, it works perfect. However if using invalid credentials my app guard throwing the error below
is:
There is no session state prior to logon. User authentication is made before the login and the authenticated user is assigned a Session ID by the procedure of wwv_flow_cust_auth_std.login on the login page and the logon process then takes the user authenticated with the session id valid for the home page of the application.
The problem here with your authentication function (code mentioned above) is the use of APEX_UTIL. Procedure SET_SESSION_STATE which only works with a session state is valid.
Please comment/delete the above procedure code and see if it works.
Admission to the status of different custom authentication, there are specific values mentioned in the blog/thread below:
I hope this helps!
Kind regards
Kiran
-
Import error: ORA-01400: cannot insert NULL in
I'm performing a level schema import and I get this error. Half an hour, this error comes without any stop. could you please tell me how to ignore this error when executing import?
IMP-00019: rejected due to the ORACLE 1400 error line
IMP-00003: ORACLE error 1400
ORA-01400: cannot insert NULL into ("LWARE_ADMIN". "" "" SAMPLE_AUDIT_LOG '. "" COUNTER")
Db version is 10.2.0.4 and platform HP - UX B.11.31 U ia64
Thank you!Hello
Please read this article
ORA-1400 when you import the Export Dump written in Mode Direct Path [ID 826746.1]
Kind regards
Rakesh jayappa -
ORA-01400: cannot insert NULL in
Hi all
I got the following error when inserting values in the database can someone guide me please?
ORA-01400: cannot insert NULL in
create table sara1
(ID number primary key (10),)
Add varchar2 (10) not null,
Add2 varchar2 (10) not null;
Insert into sara1
(add, add2)
values ('USA', 'Angel');
ERROR on line 1:
ORA-01400: cannot insert NULL in
Sarah
Published by: SarahSarahSarah on August 27, 2009 13:56Is missing a value for the column ID of the insert statement. And a primary key cannot contain NULL values.
-Andy
Published by: a Tael on August 27, 2009 16:03
-
Kindly let me know if someone have a solution for this.
NEWSPAPERS are:
Debug sat May 16 12:29:59 IST 2015 1431759599345/atg/epub/DeploymentServer DistributedDeploymentAdapter:DAFDeploymentID: 300001 corresponds DeploymentID: 300001
Debug sat May 16 12:29:59 IST 2015 1431759599352/atg/epub/DeploymentServer DistributedDeploymentAdapter:ApplyCommittedSynchronization.afterCompletion
Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production SQL statement failed: [++ SQLInsert ++]
Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production INSERT INTO dps_seg_list (segment_list_id, display_name, description)
Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production VALUES(?,?,?)
Error Sat May 16 12:29:59 / atg/userprofiling/PersonalizationRepository_production IST 1431759599935 2015 - settings.
Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production p [1] = {pd} CommerceReporting (java.lang.String)
Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production p [2] = {pd: displayName} trade reports (java.lang.String)
Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production p [3] = {pd: description} Segments of interest to trade reports. (java.lang.String)
Error Sat May 16 12:29:59 / atg/userprofiling/PersonalizationRepository_production IST 2015 [- SQLInsert-] 1431759599935
Error Sat May 16 12:29:59 java.sql.SQLIntegrityConstraintViolationException/atg/userprofiling/PersonalizationRepository_production IST 1431759599935 2015: ORA-01400: cannot insert NULL into ("PROD". "" "" DPS_SEG_LIST '. "" ASSET_VERSION')
Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production
Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:445)
Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879)
Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:450)
Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:192)
Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:207)
Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1044)
Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1329)
Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3594)
Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3675)
Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1354)
Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:174)
Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to atg.adapter.gsa.SQLStatement.executeUpdate(SQLStatement.java:725)
Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to atg.adapter.gsa.Table.insert(Table.java:1410)
Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to atg.adapter.gsa.GSAItemDescriptor.addItem(GSAItemDescriptor.java:7314)
Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to atg.adapter.gsa.GSARepository.addItem(GSARepository.java:1054)
Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to atg.deployment.repository.RepositoryWorkerThread.deployItem(RepositoryWorkerThread.java:1128)
Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to atg.deployment.repository.RepositoryWorkerThread.processMarkerForAddUpdatePhase(RepositoryWorkerThread.java:263)
Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)
Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production to atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)
Error Sat May 16 12:29:59 IST 2015 1431759599935/atg/userprofiling/PersonalizationRepository_production
Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager = case repositoryMarker:mark200015 element = CONTAINER: atg.deployment.DistributedDeploymentException; Source: Container: ATG.repository.RepositoryException; Source: Java.Sql.SQLIntegrityConstraintViolationException: ORA - 0
Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager
Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.repository.RepositoryWorkerThread.processMarkerForAddUpdatePhase(RepositoryWorkerThread.java:275)
Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)
Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)
Sam May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager error message = failure of deployment time = Sat 16 May 12:30 IST 2015 atg.deployment.DeploymentFailure@2e11da44 CONTAINER: atg.deployment.DistributedDeploymentException; Source: Container: ATG.repository.RepositoryExcept
Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager
Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.repository.RepositoryWorkerThread.processMarkerForAddUpdatePhase(RepositoryWorkerThread.java:275)
Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)
Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)
Error Sat 16 May 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager Caused by: CONTAINER: atg.repository.RepositoryException; Source: Java.Sql.SQLIntegrityConstraintViolationException: ORA-01400: cannot insert NULL into ("PROD". "" "" DPS_SEG_LIST '. "" ASSET_VERSION')
Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager
Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.adapter.gsa.GSAItemDescriptor.addItem(GSAItemDescriptor.java:7393)
Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.adapter.gsa.GSARepository.addItem(GSARepository.java:1054)
Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.repository.RepositoryWorkerThread.deployItem(RepositoryWorkerThread.java:1128)
Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.repository.RepositoryWorkerThread.processMarkerForAddUpdatePhase(RepositoryWorkerThread.java:263)
Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)
Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)
Error Sat 16 May 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager Caused by (#2):java.sql.SQLIntegrityConstraintViolationException: ORA-01400: cannot insert NULL into ("PROD". "" "" DPS_SEG_LIST '. "" ASSET_VERSION')
Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager
Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:445)
Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879)
Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:450)
Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:192)
Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:207)
Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1044)
Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1329)
Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3594)
Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3675)
Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1354)
Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:174)
Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.adapter.gsa.SQLStatement.executeUpdate(SQLStatement.java:725)
Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.adapter.gsa.Table.insert(Table.java:1410)
Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.adapter.gsa.GSAItemDescriptor.addItem(GSAItemDescriptor.java:7314)
Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.adapter.gsa.GSARepository.addItem(GSARepository.java:1054)
Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.repository.RepositoryWorkerThread.deployItem(RepositoryWorkerThread.java:1128)
Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.repository.RepositoryWorkerThread.processMarkerForAddUpdatePhase(RepositoryWorkerThread.java:263)
Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)
Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager to atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)
Error Sat May 16 12:30 IST 2015 1431759600031/atg/deployment/DeploymentManager
Error Sat May 16 12:30 IST 2015 1431759600145/atg/deployment/DeploymentManager an unexpected error has occurred. DeploymentWorkerThread ends prematurely. atg.deployment.DistributedDeploymentException: exceeded the number of allowed errors (0)
Error Sat May 16 12:30 IST 2015 1431759600145/atg/deployment/DeploymentManager to atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:680)
Error Sat May 16 12:30 IST 2015 1431759600145/atg/deployment/DeploymentManager to atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)
Error Sat May 16 12:30 IST 2015 1431759600145/atg/deployment/DeploymentManager
debugging sat May 16 12:30 IST 2015 1431759600658/atg/epub/DeploymentServer DistributedDeploymentAdapter:DeploymentListener.deploymentFailed called for deployment with ID: 300001
SAT may 16 12:30 IST 2015 1431759600660/atg/epub/DeploymentServer debugging DistributedDeploymentAdapter:DAFDeploymentID: 300001 corresponds DeploymentID: 300001
Debug sat May 16 12:30 IST 2015 1431759600662/atg/epub/DeploymentServer DistributedDeploymentAdapter:DeploymentListener.deploymentFailed
SAT may 16 12:30 IST 2015 1431759600668/atg/epub/DeploymentServer DistributedDeploymentAdapter debug: found 1 failure messages
SAT may 16 12:30 IST 2015 1431759600684/atg/epub/DeploymentServer DistributedDeploymentAdapter debug: adding failure message failed to deploy with error severity
SAT may 16 12:30 IST 2015 1431759600691/atg/epub/DeploymentServer debugging DistributedDeploymentAdapter: deployment failed
Error Sat May 16 12:30 IST 2015 1431759600720 /atg/epub/DeploymentServer---atg.deployment.common.DeploymentException: '300001' target 'Production' deployment has encountered an error of level of deployment of system during data transfer.
Error Sat May 16 12:30 IST 2015 1431759600720/atg/epub/DeploymentServer to atg.deployment.common.ResourceUtil.exception(ResourceUtil.java:333)
Error Sat May 16 12:30 IST 2015 1431759600720/atg/epub/DeploymentServer to atg.deployment.adapter.DistributedDeploymentAdapter.deployData(DistributedDeploymentAdapter.java:1391)
Error Sat May 16 12:30 IST 2015 1431759600720/atg/epub/DeploymentServer to atg.deployment.adapter.DistributedDeploymentAdapter.transferData(DistributedDeploymentAdapter.java:278)
Error Sat May 16 12:30 IST 2015 1431759600720/atg/epub/DeploymentServer to atg.deployment.server.Deployment.run(Deployment.java:1960)
Error Sat May 16 12:30 IST 2015 1431759600720/atg/epub/DeploymentServer to java.lang.Thread.run(Thread.java:745)
Error Sat May 16 12:30 IST 2015 1431759600720/atg/epub/DeploymentServer
Info, Saturday, May 16, 12:30:50 IST 2015 1431759650742/atg/deployment/DeploymentManager purge data from deployment to deployment 300001
Info, Saturday, May 16, 12:33:39 IST 2015 1431759819267/atg/dynamo/servlet/adminpipeline/AuthenticationServlet HTML admin 0:0:0:0:0:0:0:1(/dyn/admin) authentication failure
Caution Saturday, May 16, 12:33:58 IST 2015 1431759838585/atg/dynamo/security/AdminUserAuthority attempt to connect to weblogic account does not exist
Info, Saturday, May 16, 12:34:01 IST 2015 1431759841600/atg/dynamo/servlet/adminpipeline/AuthenticationServlet HTML admin 0:0:0:0:0:0:0:1(/dyn/admin) authentication failure
Caution Saturday, May 16, 12:34:01 IST 2015 1431759841687/atg/dynamo/security/AdminUserAuthority attempt to connect to the admin with the incorrect password account
Info, Saturday, May 16, 12:34:04 IST 2015 1431759844689/atg/dynamo/servlet/adminpipeline/AuthenticationServlet HTML admin 0:0:0:0:0:0:0:1(/dyn/admin) authentication failure
Caution Saturday, May 16, 12:34:10 IST 2015 1431759850915/atg/dynamo/security/AdminUserAuthority attempt to connect to the admin with the incorrect password account
Info, Saturday, May 16, 12:34:13 IST 2015 1431759853916/atg/dynamo/servlet/adminpipeline/AuthenticationServlet HTML admin 0:0:0:0:0:0:0:1(/dyn/admin) authentication failure
Info, Saturday, May 16, 12:34:22 / atg/dynamo/servlet/adminpipeline/Authenticator IST 2015 1431759862089 allowing access for the Administrators group authenticator.
Info, Saturday, May 16, 12:34:22 IST 2015 1431759862157/atg/dynamo/servlet/pagecompile/ExtendedJhtmlPageProcessor index.jhtml to D:\Oracle\Middleware\Oracle_Home\user_projects\domains\Bcc\ATG-Data\pagebuild\_dasadmin_3__UTF_s8\_index.java treatment
Info, Saturday, May 16, 12:34:22 IST 2015 1431759862447/atg/dynamo/servlet/pagecompile/ExtendedJhtmlPageProcessor D:\Oracle\Middleware\Oracle_Home\user_projects\domains\Bcc\ATG-Data\pagebuild\_dasadmin_3__UTF_s8\_index.java compilation
Info, Saturday, May 16, 12:34:24 IST 2015 1431759864951/atg/dynamo/servlet/pagecompile/ExtendedJhtmlPageProcessor /atg/dynamo/admin/en/index.jhtml to D:\Oracle\Middleware\Oracle_Home\user_projects\domains\Bcc\ATG-Data\pagebuild\_dasadmin_3__UTF_s8\_atg\_dynamo\_admin\_en\_index.java treatment
Info, Saturday, May 16, 12:34:25 IST 2015 1431759865146/atg/dynamo/servlet/pagecompile/ExtendedJhtmlPageProcessor D:\Oracle\Middleware\Oracle_Home\user_projects\domains\Bcc\ATG-Data\pagebuild\_dasadmin_3__UTF_s8\_atg\_dynamo\_admin\_en\_index.java compilation
Info, Saturday, May 16, 12:34:26 IST 2015 1431759866023/atg/dynamo/servlet/pagecompile/ExtendedJhtmlPageProcessor /atg/userprofiling/admin/en/dps-home.jhtml to D:\Oracle\Middleware\Oracle_Home\user_projects\domains\Bcc\ATG-Data\pagebuild\_dpsadmin_3__UTF_s8\_atg\_userprofiling\_admin\_en\_dps_sh treatment
Info, Saturday, May 16, 12:34:26 / atg/dynamo/servlet/pagecompile/ExtendedJhtmlPageProcessor IST 2015 1431759866049 D:\Oracle\Middleware\Oracle_Home\user_projects\domains\Bcc\ATG-Data\pagebuild\_dpsadmin_3__UTF_s8\_atg\_userprofiling\_admin\_en\_dps_shome.java compilation
Info, Saturday, May 16, 12:34:26 IST 2015 1431759866455/atg/dynamo/servlet/pagecompile/ExtendedJhtmlPageProcessor /atg/commerce/admin/en/dcs-home.jhtml to D:\Oracle\Middleware\Oracle_Home\user_projects\domains\Bcc\ATG-Data\pagebuild\_dcsadmin_3__UTF_s8\_atg\_commerce\_admin\_en\_dcs_shome.java treatment
Info, Saturday, May 16, 12:34:26 / atg/dynamo/servlet/pagecompile/ExtendedJhtmlPageProcessor IST 2015 1431759866470 D:\Oracle\Middleware\Oracle_Home\user_projects\domains\Bcc\ATG-Data\pagebuild\_dcsadmin_3__UTF_s8\_atg\_commerce\_admin\_en\_dcs_shome.java compilation
Info, Saturday, May 16, 12:34:28 / atg/dynamo/security/ComponentSecurityDomain IST 2015 1431759868918 ComponentSecurityDomain registered with the registry of the/atg/registry/SecurityDomains
Info, Saturday, May 16, 12:34:44 IST 2015 1431759884078/atg/dynamo/servlet/pagecompile/ExtendedJhtmlPageProcessor /atg/dynamo/admin/en/cmpn-search.jhtml to D:\Oracle\Middleware\Oracle_Home\user_projects\domains\Bcc\ATG-Data\pagebuild\_dasadmin_3__UTF_s8\_atg\_dynamo\_admin\_en\_cmpn_ssearch.java treatment
Info, Saturday, May 16, 12:34:44 IST 2015 1431759884213/atg/dynamo/servlet/pagecompile/ExtendedJhtmlPageProcessor D:\Oracle\Middleware\Oracle_Home\user_projects\domains\Bcc\ATG-Data\pagebuild\_dasadmin_3__UTF_s8\_atg\_dynamo\_admin\_en\_cmpn_ssearch.java compilationHello
It seems that your production table contains the column asset_version.
Asset_version is just for database edition, to store versioned data.
Try to remove this column.
It will be useful.
Good bye.
-
error 01400 cannot insert null
Hello
I need to create a sequence of a work order import program, I created the sequence but I get the below error
kindly Guide/** code added for sequence*/ begin select to_char (sysdate , 'RRRR')||'-'||invoice_num_seq.nextval into V_seq_num from dual ; end; INSERT INTO WIP_DISCRETE_JOBS (ATTRIBUTE14 ) VALUES (V_seq_num ); this is the error when i run i am getting This request finished with an error and produced the following completion message: ORACLE error 1400 in FDPSTP Cause: FDPSTP failed due to ORA-01400: cannot insert NULL into ("WIP"."WIP_DISCRETE_JOBS"."WIP_ENTITY_ID") ORA-06512: at "APPS.NAPESCO_CREATE_JOB", line 257 ORA-06512: at line 1 . line 257 is the insert statement
Published by: makdutakdu on February 14, 2011 12:56
Published by: makdutakdu on February 14, 2011 12:57EBS post pl related questions in the forums of the EBS - http://forums.oracle.com/forums/category.jspa?categoryID=3
WIP_ENTITY_ID is a NOT NULL column - so you'll need to insert a value in this column - http://etrm.oracle.com/pls/etrm/etrm_pnav.show_object?c_name=WIP_DISCRETE_JOBS&c_owner=WIP&c_type=TABLE
HTH
Srini -
want to insert null into a column, but "-" is inserted
Hello
Whenever I insert a null value into a column using apex then in place and places the value null, '-' is inserted. Where to change the setting or other methods so that whenever I want to insert null then null should be inserted not «-»
Please give an idea. I use apex 4.2 and oracle XE 11 g database.
Thank you
Chebli
Eric wrote:
Hi Jorge,.
What I have to change on each report page? Is there a setting in any place that will do to all the pages of the report. I need to write a query to find which column is null. So, if someone is using another page of report then, '-' could get inserted for null value and it will give problem to my request in the future.
Thank you
Chebli
Hi Brice, Yes, you will need to change this setting in all reports if you do not want to see the dashes.
There is no risk of a dash is inserted in the comic book. The DB updates and insertions are managed by your forms (or process) a report will only display data.
Go to the workshop of SQL and query your tables to validate what I say.
Hope that helps.
Thank you
-Jorge
-
Error ORA-01400 creation policy in AV 12 c
Hello
I have configured the host, the agent, collectors everything is ok and works, but when I try to create a strategy of the VA gives me this error:
ORA-01400: cannot insert NULL into ('AVSYS". "" "" AUDIT_SETTING_ARCHIVE_MAP '. "" ARCHIVE_ID')
ANY IDEA? NO MATTER WHAT SETTING I NEED TO CHECK FIRST?
THNKS FOR MORE INFORMATION!
Hello.!!
thnks... !!
Yes, I opened a SR and the response was the question in the note, so then oracle created the note:
Creating a strategy for auditing in 12 c AVDVF fails with error ORA-01400 (Doc ID 1680878.1)
-
inserting data into a table from another table
Hello
I have a to insert a data in the other table.
My requirement is I field Date_effect_date in the departments, I would copy the details field in dept_effect_date of employees.
I used the query
Insert in the dept_effect_date of certain employees (dept_effect_date) departments;
and the result is:
SQL error: ORA-01400: cannot insert NULL into ('HR'. "'"' EMPLOYEES'."" EMPLOYEE_ID')
01400 00000 - "impossible to insert a NULL value in (%s)."
MY DB: oracle 10g XE
Sainaba
You can do this by UPDATE not INSERT.
Sudheeryekkala wrote:
Hello
I have a to insert a data in the other table.
My requirement is I field Date_effect_date in the departments, I would copy the details field in dept_effect_date of employees.
I used the query
Insert in the dept_effect_date of certain employees (dept_effect_date) departments;
and the result is:
SQL error: ORA-01400: cannot insert NULL into ('HR'. "'"' EMPLOYEES'."" EMPLOYEE_ID')
01400 00000 - "impossible to insert a NULL value in (%s)."
MY DB: oracle 10g XE
Sainaba
INSERT the results of will by adding new lines to the table so you have the above error. In your case, you must update the value of the existing column
(or, if the volume is large, then fill the data -
join the table two in a new table CREATE TABLE EMP_NEW AS SELECT * FROM EMPLOYEES, DEPARTMENTS
. fall of
; Rename emp_new to
; * constraints/indexes if necessary be supported...
)
E employees update
Set e.dept_effect_date = (select d.dept_effect_date
departments d
where e.dept_id = d.dept_id);
Concerning
Biju
-
Hello world
I created a mapping that loads an external table data into the destination table.
The external table contains fewer fields than the destination table, so I leave these fields unconnected.
Check and delpoying mapping works very well. So I did a test of the mapping.
Now a warning occurs "ORA-01400: cannot insert null into tablename.fieldname". But the field who complains is a field unconnected in my correspondence.
But in the destination table, this field is defined as NOT NULL.
Is it possible to get rid of this warning?
I hope my problem clearly.
Greetings.What you're trying is like
Target table has column 3. source has 2 columns and these 2 must be connected to your target. Off-line column is defined as not null.
Now when your code runs, it inserts the value for column 2, and a null value is passed to your 3rd column target.
Oracle doesn't like it and it gives an error.If you do not remove null column then this problem will not come another wise set a default value for this column so that when your code runs, it inserts the value of 2 columns and oracle privieds default value in column 3.
Thank you
Fati -
Implementation of Ldap errors - ORA-01400, ERR-10480
Scott,
I get this error when you try to implement Ldap in active directory.
I use apex 3.2.0.00.27 and oracle database 10g Enterprise Edition Release 10.2.0.3.0
ORA-01400: cannot insert NULL into ("APEX_030200". «WWV_FLOW_USER_ACCESS_LOG2$ '.» ("' SECURITY_GROUP_ID")
ERR-10480 error cannot perform the function of verification of the authentication credentials.
Ok
Request 103 101 home edition page create Session activity Debug Hide Edit links see change it links
Location: f? p = 103:101:189300501816980¬ification_msg =
Invalid%20Login%20Credentials/4AA19826E86C3D0EE59CA6ED37F419D4/
My plsql function tests fine in sql developer.
I have read all the threads that I can find and I'm still not able to solve the problem
Here's my function less sensitive data.
create or replace
FUNCTION ldap_auth (p_username in varchar2, p_password in varchar2) return a Boolean value
is
-Set Variables-
l_ldap_host VARCHAR2 (512): = 'server ';
l_ldap_port PLS_INTEGER: = 389;
l_ldap_user VARCHAR2 (512): = "Cn = test_system, or = test accounts, dc is corp, dc = test, dc = com';"
l_ldap_passwd VARCHAR2 (512): = "password";
l_ldap_base VARCHAR2 (256): = 'dc = corp, dc = test, dc = com';
l_filter VARCHAR2 (100): = 'cn =' | p_username;
l_session DBMS_LDAP. SESSION;
l_res DBMS_LDAP. MESSAGE;
l_msg DBMS_LDAP. MESSAGE;
instantaneous VARCHAR2 (1000);
l_retval PLS_INTEGER;
l_retval2 PLS_INTEGER;
l_retval3 PLS_INTEGER;
l_attr DBMS_LDAP.string_collection;
BEGIN
l_retval: = - 1;
DBMS_LDAP.use_exception: = true;
BEGIN
-Connect to session-
l_session: = DBMS_LDAP.init (l_ldap_host, l_ldap_port);
-DBMS_OUTPUT.put_line (RPAD ('l_filter', 25, ' ') |) ': ' || l_filter);
-DBMS_OUTPUT.put_line (RPAD ('ldap session', 25, ' ') |) ': '||
-SUBSTR (l_session, 1, 16). -(renvoyées_par_init) ');
-DBMS_OUTPUT.put_line (RPAD ('user', 25, ' ') |) ': ' || p_username);
-Simple bind with service account
l_retval2: = DBMS_LDAP.simple_bind_s (l_session, l_ldap_user, l_ldap_passwd);
-DBMS_OUTPUT.put_line (RPAD ("S Binnd Simple", 25, ' ') |) ': ' || l_retval2);
-Search
l_retval: =.
DBMS_LDAP.search_s (ld = > l_session,)
Base = > l_ldap_base,
SCOPE = > DBMS_LDAP.scope_subtree,
filter = > l_filter,
uploading = > l_attr,
attronly = > 0,
RES = > l_res
);
-DBMS_OUTPUT.put_line (RPAD ('return search_s', 25, ' ') |) ': '|| To_char (l_retval));
-The county entered
l_retval: = DBMS_LDAP.count_entries (l_session, l_res);
-DBMS_OUTPUT.put_line (RPAD ("number of entries", 25,"'") | ': ' |) l_retval);
-Made the first entry
l_msg: = DBMS_LDAP.first_entry (l_session, l_res);
-DBMS_OUTPUT.put_line (RPAD ('l_msg,' 25, ' ') |) ': ' || l_msg);
-DBMS_OUTPUT.put_line (RPAD ('user', 25, ' ') |) ': ' || p_username);
-Do Dn
instantaneous: = DBMS_LDAP.get_dn (l_session, l_msg);
-DBMS_OUTPUT.put_line (RPAD ('instantaneous', 25, ' ') |) ': ' || instantaneous);
-Fact - unbind
l_retval3: = DBMS_LDAP.unbind_s (l_session);
RETURNS true;
EXCEPTION
WHILE OTHERS
THEN
l_retval3: = DBMS_LDAP.unbind_s (l_session);
RETURNS false;
END;
EXCEPTION
WHILE OTHERS
THEN
RETURNS false;
END ldap_auth;
On the login processing screen I have following information
LDAP host: Server
LDAP port: 389
LDAP dn string: % LDAP_USER %
LDAP username change function: return ldap_auth;
I also try to use access control, which worked correctly with the authentication request.
Any help would be appreciated.It seems that your authentication below is the full agreement. Why not take the ldap information as it is and only have the function with the parameter authentication scheme:
Authentication:
return ldap_auth -
Error ORA-01400 in application
Hello:
I get the following error when I try to create a new customer.
ORA-01400: cannot insert null into ('client.id")
It comes to my table structure:
ID number not Null PK
ClientID varchar2
client_code varchar2
client_name varchar2
I created a report that displays all the customers table. I also have a button CREATE on the report so my users can create new customers. The branches of button CREATE to the next page which is a form.
I click on CREATE and the form appears. Screen displays all fields except id which is the primary key and the area of items in Page rendering, it will appear as hidden.
I try to add a customer, click on create and I get the above message.
I changed the element id of hidden in the text field and attempted to create a new one and this time it worked.
Also, the id field should be autoincremented which I'm unable to understand how to configure. I have a sequence is created, ID2_SEQ. NEXTVAL, which, once I do a real insert via SQL statement * most ID field increments of one.
When I created the report, I couldn't find a way to make reference to this sequence for the button. I think that may have something to do with the fact that I'm not my error message insert a value for the primary key. Yet, in the APEX, I read that the primary key is not supposed to be editable. Here, I'm totally confused.
Basically when the user clicks CREATE, I want the following INSERT statement to work:
INSERT INTO customer (id, clienid, client_code, client_name) VALUES (id2.seq.nextval,: P1_clientid,: P1_client_code,: P1_client_name);
The APEX documentation is not very clear on how to do it.
Can someoene help out me? This should not be complicated.
Thanks for all the help.Hello
I hope I'm reading your code correctly... I think that your trigger must be:
CREATE OR REPLACE TRIGGER ENCRYPT_PW_T1 BEFORE INSERT OR UPDATE ON ENCRYPT_PW FOR EACH ROW BEGIN IF :NEW.PW_ID IS NULL THEN SELECT PW_ID2_SEQ.NEXTVAL INTO :NEW.PW_ID FROM DUAL; END IF; IF INSERTING THEN :NEW.PASSWORD := ENC_CLIENT.ENC_PASSWORD(:NEW.PASSWORD, :NEW.CLIENTID, 'OpenSesame'); ELSE IF :NEW.PASSWORD <> :OLD.PASSWORD THEN :NEW.PASSWORD := ENC_CLIENT.ENC_PASSWORD(:NEW.PASSWORD, :NEW.CLIENTID, 'OpenSesame'); END IF; END IF; END;
It will handle inserts and updates. The code should first check if a new PK PW_ID is necessary and set if it is. Then, for insertions only, it will encrypt the entered password - I assume here that the password will be "plain text" and requires encryption. For updates only, check if the current password matches the old password (comparing a new version decrypted with decrypted version) - if it does not (that is to say, the password has been changed), then update the password with the new encrypted password value.
Unfortunately, the package of dbms_crypto doesn't seem to be available on my workspace OTN (don't know why), so I have not been able to test this.
Andy
Maybe you are looking for
-
I need to reinstall my operating system to windows 7. Firefox works fine. All I need is a procedure to save the configuration of Firefox and bookmarks to facilitate the configuration process when I re - install Firefox later. Thank you
-
HP Deskjet Ink Advantage 4625: Scanner
Using the charger, a vertical black line on the left side, shows on each scanned page
-
Separated from this thread. Diagnostic report (1.9.0027.0):-----------------------------------------Validation of Windows data--> Validation code: 0Code of Validation caching online: 0x0Windows product key: *-* - 6XY48 - 6B28M-CT77BWindows product ke
-
MAC W2K8R2 NPS (RADIUS) authentication &; Cisco 4400
I have a cisco 4400 wlan put in place for that mac filtering via the RADIUS using MS NPS. I created a user account AD with address as user name and password. On NPS, I created a political network and connection with the latter policy displayed. On th
-
HelloI have photoshop CS5 and I have the 3D Panel menu. But when I click on the file == > change = > Menu Menu for sign verified, I see 3d + options of 3D. But I do not have access in photoshop.How can I activate it?It's my pc configurationAdobe Ph