Mohana Priya

Ranch Hand
+ Follow
since Jan 16, 2005
Merit badge: grant badges
For More
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Mohana Priya

Why do I not see Java SE 17 Developer 1Z0-829 in the Pearson VUE site ? Am I missing something here ?

Have been working in Java for the past decade .(Java 7,8,9,11 and 14)
Want to upgrade my certification too.

Mikalai Zaikin wrote:I can tell you you have lots to study.
Java 1.4 and Java 17 are completely different languages  

Thank you Mikalai . I wrote my SCJP 1.4 way back in 2005 . Feels nostalgic coming back to this space . It was javaranch back then.

Planning to take Java SE 17 Developer 1Z0-829 .
I would like to know when this exam was released ?
Will it look latest atleast for 5 yrs ?
Issue : JPA cascade = CascadeType.ALL inserting 2 records in child table .

In :

@OneToOne(cascade = CascadeType.ALL , mappedBy="user" , fetch=FetchType.EAGER)
private Role role ;

In :

@OneToOne(cascade= CascadeType.DETACH, fetch=FetchType.LAZY)
@LazyToOne(value = LazyToOneOption.NO_PROXY)
@JoinColumn(name="user_id", referencedColumnName="user_id"),
private User user ;

Code :

Role role = new Role();
dao.update(user); // This is inserting 2 records in Role table .

Why is this happening ?
How to enable SSL for REST services im tomcat ?

Please help .
11 years ago
If insert of Child Table 2 fails ,Insert of Parent Table 1 and Parent Table 2 should be rolled back.
Hi ,
I am using Hibernate Session injected in my EJB3 Session Bean code for my database operations.
private Session session;

I am trying to put the below operations inside a transaction block.

If any one of the inserts fail ,say If insert of Child Table 2 fails
,I want the insert of the Parent Table alone to be rolled back .How would I achieve this in my code ?
Hope my query is clear.
Hi All,

Will the MZ Study Notes on 5.0 alone suffice for clearing SCBCD 5.0 ?

Hi All,
Im trying to install HiperClipse Plugin for Eclipse 3.
But the link: " does not work.
I download the file and eclipse does not respond.

Please help me.

Thanks in Advance,
Hello Ranchers ,

I need Mikalai Zaikin's Study Notes for SCBCD 1.3 in pdf format.If any of you have ,Please send it to my mail id

Congratulations Manish .. All the Best for your future exams.
17 years ago
How to assign a value from xml to a text field in xsl ??

<Question>Do you have Astigmatism </Question>



None of the below works :

<input type="text" name="question" size="100" value="<xsl:value-of select='Question'/>">

<input type="text" name="question1" size="100">
<xsl:attribute name="value"> <value-of select="Question"/></xsl:attribute>


Please help me

Accessing the messages in jsp .
<bean:message key=""/>

Dont know what exactly solved the problem.It is working fine now.

Thanks for the replies,
Mohana Priya

SCJP 1.4 (95%)
SCWCD 1.4 (86%)
17 years ago
Hi All ,
I am trying out my first Struts Application

This is my file :

; Application Resources for the "Hello" sample application
; Application Resources that are specific to the hello.jsp file

hello.jsp.title=Hello - A first Struts program World! A first Struts application
hello.jsp.prompt.person=Please enter a name to say hello to :

; Validation and error messages for and told you not to talk to Atilla!!! enter a <i>PERSON</i> to say hello to!


I am able to get the Validation and error messages .

But problem in displaying ( bold ones ) using bean:message tag in the page.

I have struts-bean.tld in WEB-INF folder and <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> in my jsp file .

I have given an entry in struts-config.xml as

<message-resources parameter="ApplicationResources"/>

And placed the \WEB-INF\classes .

Am I missing out something ??

Thanks in Advance,
Mohana Priya
17 years ago