oracle - java.sql.SQLException: ORA-01157: cannot identify/lock data file -
oracle - java.sql.SQLException: ORA-01157: cannot identify/lock data file -
i getting below given error, when run application:
caused by: org.hibernate.exception.genericjdbcexception: not execute native mass manipulation query . . caused by: java.sql.sqlexception: ora-01157: cannot identify/lock info file - see dbwr trace file ora-01110: info file : '/fld1/fld2/mytemp_tablespace.dbf'
i tried find out files , came know there no folders. have , created respective folders , new empty mytemptemp_tablespace.dbf
file. still same error getting on there.
any thought why error happening?if sql exception have happened @ right origin itself. have done is, have created new schema , exported db old new one.
also how can see or dbwr trace file
.
this result of restored database , during restore rman not able create tempfiles because of missing directory. solution quite simple, 1 time directories created, add together 1 or more tempfiles:
alter tablespace mytemp_tablespace add together tempfile '/fld1/fld2/mytemp_tablespace01.dbf';
when temp tablespace has it's storage, actions can succeed.
oracle
Comments
Post a Comment