This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds and have James Denton on-line!
See this thread for details.
Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!

chandrakanth boga

Ranch Hand
+ Follow
since Mar 15, 2006
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by chandrakanth boga

As these xml services are developed using novell composer and they want to come out of novell and develop these services again.
This documnetation will be handy for the developers who develop these services again.
What will the dtd and schema will help ?
Hi Ulf Dittmer ,

I also dont know what this xml does.
But i need to understand the xml file and prepare the documentation as given in my previous post.These xml files are developed using novell composer.We have around 60 xml files of this type which i need to prepare the documentation.But i dont understand what should i write in the documentation.If one documentation is prepared based on one xml file then i can continue preparing the documentations for the rest of the 60 xml files.
I hope you got my point.
Thanks
chandu
I have to prepare the documentation as follows :--

Input Messages
Structure
Example
Example message
<Book id=�41234� numberOfPages=�437�>
<Title>Lawrence of Arabia</Title>
</Book>
Output Messages
Structure
Strutural description.
Example
Example message
<Book id=�41234� numberOfPages=�437�>
<Title>Lawrence of Arabia</Title>
</Book>
Specification
Overview and Purpose

Details
Detailed description of steps
Hello ,

I have to prepare the technical specification of an xml file.
Could you please suggest me how to prepare the specification document by looking in to xml file.



Thanks..
chandu
Hello Mark Spritzler,

Nevermind.
Even i thought the problem could be trigger.
But since many months it did not given any problem.
Just recently the problem has arised.
And we dont know why??
Here is hte trigget which fills the coloumn:--

Do you find any problem in this trigger.

Cheers

[ Edited to use code tags - Paul Sturrock ]
[ December 18, 2007: Message edited by: Paul Sturrock ]
Hello Daniel,

Congratulations...
How much time you took to write theexam.
How much preparation you took for cracking this exam.


Thanks and Regards,
Chandrakanth
Hello Mark Spritzler,

Actually i changed the sequence and still the problem remains same.
Before the row is going to insert in UST_DOSSIER table, a TRIGGER will create the UST_PROJECTREFERENCE number and isert in to the coloumn.


Thanks and Regards,
Chandrakanth
Hello Bougnon Kipre,

I have disabled the constraint for UK_PROJECT_REFERENCE.
I checked twice to confirm .
But still the problem is same.
I am surprising.

Thanks and Regards,
Chandrakanth
hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD//EN" "http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd" > <hibernate-mapping auto-import="true" package="com.pms.ust.model"> <!-- Class mapping definition --> <class name="USTDossier" table="UST_DOSSIER" mutable="true" dynamic-insert="true" dynamic-update="true" > <id name="id" column="OID" type="long" unsaved-value="null" > <generator class="sequence"> <param name="sequence">UST_DOSSIER_SEQ</param> </generator> </id> <version name="version" column="DB_VERSION" unsaved-value="negative" /> <!-- Regular plain mapped columns --> <property name="creationUser" column="CREATION_USER" type="string" not-null="true" /> <property name="creationDate" column="CREATION_DATE" type="date" update="false" /> <property name="projectReference" column="PROJECT_REFERENCE" type="string" update="false" unique="true" /> <many-to-one name="dossierStatus" column="STATUS" class="USTDossierStatus" not-null="true" /> <property name="SSDDescription" column="SSD_DESCRIPTION" type="string" /> <property name="SSDPreferredResponseDate" column="SSD_DELIVERY_DATE" type="date" /> <property name="USTDescription" column="UST_DESCRIPTION" type="string" /> <property name="requestType" column="REQUEST_TYPE" type="string" />
i tried to post hbm file contents but javaranch site is not allowing me to update the file contents..
how do i do this?
No...i want to create a new order ...which inserts a new row in the table.
But it is not able to insert due to this unique constraint problem.
even if i disable the constraint for that particular coloumn , the error is same.
i will add the hbm file..
HI ..

I am getting the following exception when i try to insert a new row in a table:--
===========================================================================

2007-12-11 12:47:27,898 WARN

[net.sf.hibernate.util.JDBCExceptionReporter] SQL Error: 1, SQLState:

23000
2007-12-11 12:47:27,898 ERROR

[net.sf.hibernate.util.JDBCExceptionReporter] ORA-00001: unique

constraint (UST.UK_PROJECT_REFERENCE) violated

2007-12-11 12:47:27,898 WARN

[net.sf.hibernate.util.JDBCExceptionReporter] SQL Error: 1, SQLState:

23000
2007-12-11 12:47:27,898 ERROR

[net.sf.hibernate.util.JDBCExceptionReporter] ORA-00001: unique

constraint (UST.UK_PROJECT_REFERENCE) violated

2007-12-11 12:47:27,898 WARN

[net.sf.hibernate.util.JDBCExceptionReporter] SQL Error: 1, SQLState:

23000
2007-12-11 12:47:27,898 ERROR

[net.sf.hibernate.util.JDBCExceptionReporter] ORA-00001: unique

constraint (UST.UK_PROJECT_REFERENCE) violated

2007-12-11 12:47:27,898 WARN

[net.sf.hibernate.util.JDBCExceptionReporter] SQL Error: 1, SQLState:

23000
2007-12-11 12:47:27,898 ERROR

[net.sf.hibernate.util.JDBCExceptionReporter] ORA-00001: unique

constraint (UST.UK_PROJECT_REFERENCE) violated

2007-12-11 12:47:27,898 ERROR [net.sf.hibernate.impl.SessionImpl]

Could not synchronize database state with session
2007-12-11 12:47:27,898 INFO [STDOUT]

net.sf.hibernate.exception.ConstraintViolationException: Could not

execute JDBC batch update
at

net.sf.hibernate.exception.ErrorCodeConverter.convert(ErrorCodeConver

ter.java:73)
at

net.sf.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionH

elper.java:29)
at net.sf.hibernate.impl.BatcherImpl.convert(BatcherImpl.java:328)
at

net.sf.hibernate.impl.BatcherImpl.executeBatch(BatcherImpl.java:135)
at

net.sf.hibernate.impl.BatcherImpl.prepareStatement(BatcherImpl.java:6

1)
at

net.sf.hibernate.impl.BatcherImpl.prepareStatement(BatcherImpl.java:5

8)
at

net.sf.hibernate.impl.BatcherImpl.prepareBatchStatement(BatcherImpl.j

ava:111)
at

net.sf.hibernate.persister.EntityPersister.insert(EntityPersister.jav

a:454)
at

net.sf.hibernate.persister.EntityPersister.insert(EntityPersister.jav

a:436)
at

net.sf.hibernate.impl.ScheduledInsertion.execute(ScheduledInsertion.j

ava:37)
at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2449)
at

net.sf.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:2435)
at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2392)
at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2261)
at

net.sf.hibernate.transaction.JTATransaction.commit(JTATransaction.jav

a:52)
at

com.pms.ust.model.USTModelManager.createDossier(USTModelManager.java:

642)
at

com.pms.desyre.v2.EmptySpecialUpgradeSubmitter.submit(EmptySpecialUpg

radeSubmitter.java:56)
at com.jnc.novell.pagewizard.Wizard.finishPage(Wizard.java:600)
at com.jnc.novell.pagewizard.Wizard.perform(Wizard.java:456)
at

com.jnc.novell.pagewizard.Wizard.processWizardRequest(Wizard.java:718

)
at

com.jnc.novell.pagewizard.WizardComponent.ebi_processRequest(WizardCo

mponent.java:75)
at

com.jnc.migration.AbstractComponentWrapper.processRequest(AbstractCom

ponentWrapper.java:118)
at

com.novell.afw.component.core.EboComponentContainer.performInteractio

n(EboComponentContainer.java:140)
at

com.novell.afw.component.core.EboComponentContainer.performBlockingIn

teraction(EboComponentContainer.java:166)
at

com.novell.afw.portal.proxy.EboPortletContainerProxy.performBlockingI

nteraction(EboPortletContainerProxy.java:197)
at

com.novell.afw.portal.aggregation.EboPortletProxyHelper.callPortletAc

tionRequest(EboPortletProxyHelper.java:480)
at

com.novell.afw.portal.aggregation.EboPortalAggregationControllerImpl.

checkAndHandleActionURLType(EboPortalAggregationControllerImpl.java:1

987)
at

com.novell.afw.portal.aggregation.EboPortalAggregationControllerImpl.

initiateRendering(EboPortalAggregationControllerImpl.java:1261)
at

com.novell.afw.portal.aggregation.EboPortalAggregationControllerImpl.

renderPortalPIDResponse(EboPortalAggregationControllerImpl.java:883)
at

com.novell.afw.portal.aggregation.EboPortalAggregationControllerImpl.

renderPortalPIDResponse(EboPortalAggregationControllerImpl.java:832)
at

com.jnc.novell.rendering.EboDocumentRendererServlet.processContentReq

uest(EboDocumentRendererServlet.java:678)
at

com.jnc.novell.rendering.EboDocumentRendererServlet.service(EboDocume

ntRendererServlet.java:453)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl

icationFilterChain.java:252)
at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF

ilterChain.java:173)
at

com.pms.ost.security.OSTDossierSecurityFilter.doFilter(OSTDossierSecu

rityFilter.java:154)
at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl

icationFilterChain.java:202)
at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF

ilterChain.java:173)
at

com.pms.ust.security.USTDossierSecurityFilter.doFilter(USTDossierSecu

rityFilter.java:241)
at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl

icationFilterChain.java:202)
at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF

ilterChain.java:173)
at

com.jnc.novell.director.filter.UserSessionMonitorFilter.doFilter(User

SessionMonitorFilter.java:73)
at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl

icationFilterChain.java:202)
at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF

ilterChain.java:173)
at

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi

lter.java:81)
at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl

icationFilterChain.java:202)
at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF

ilterChain.java:173)
at

org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV

alve.java:213)
at

org.apache.catalina.core.StandardContextValve.invoke(StandardContextV

alve.java:178)
at

org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrinc

ipalValve.java:39)
at

org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit

yAssociationValve.java:153)
at

org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv

e.java:59)
at

org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j

ava:126)
at

org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j

ava:105)
at

org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal

ve.java:107)
at

org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav

a:148)
at

org.apache.coyote.http11.Http11Processor.process(Http11Processor.java

:856)
at

org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce

ssConnection(Http11Protocol.java:744)
at

org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo

int.java:527)
at

org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor

kerThread.java:112)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.sql.BatchUpdateException: ORA-00001: unique

constraint (UST.UK_PROJECT_REFERENCE) violated

at

oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseEr

ror.java:367)
at

oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePrepare

dStatement.java:8739)
at

org.jboss.resource.adapter.jdbc.WrappedStatement.executeBatch(Wrapped

Statement.java:701)
at

net.sf.hibernate.impl.BatchingBatcher.doExecuteBatch(BatchingBatcher.

java:54)
at

net.sf.hibernate.impl.BatcherImpl.executeBatch(BatcherImpl.java:128)
... 57 more

===========================================================================


Could any one help me what would be the problem...
Please suggest me as early as possible, as it is an urgent issue.

Thanks And Regards,
Chandrakanth
HI ...

Our Project is using INTELLJ IDEA and uses ANT Script for building the application.
I need to make this script work for ECLIPSE.
What do i need to consider while doing this activity...
11 years ago