Ram Suryanshi

Greenhorn
+ Follow
since Sep 24, 2007
Merit badge: grant badges
For More
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 Ram Suryanshi

Hi,

Can anyone please give me some good link to use Dozer Mappings.

Thanks,
Ram
16 years ago
Hi

I am using the @SecondaryTable annotation in my class to get the data from the other table also in relation to primary one.

Now in my application i want that when i click Update button , it should only hit the primary table not the table defined in @SecondaryTable annotation.

Means i dont want to hit the table defines in SecodaryTable annotation.

Can you please tell me that how to sto that.

Thanks
Ram
Hi

I am making my first program for using Spring AOP and making that for logging, i have written the below code in my applicationContext.xml:


When i am running my application and execute something then functionality is not working means it is not showing me logs on console..

Can you please where i am wrong or what else i have to do for running it.

Thanks
Ram
Hi

Can you please tell me the exact behavior of converter
in JSF.

Like what exactly it will do.?

Thanks,
Ram
16 years ago
JSF
Thank you sir for your help.

Thanks,
Ram
16 years ago
JSF
Hi,

I am having a JSF page and having few UIInput components i.e. text fields. When i load page it gets the data from database and all my GUI fields are read only.

Now i have one edit button on clicking of which it makes some of the fields editable. I change the value of some of the fields and submit the page.

Now what it is doing that in my DTO - Data Transfer Object , it is showing me the old values not new one.

Can you please what can be the reason for that.

Thanks
Ram
16 years ago
JSF
Hi

I am using Hibernate and have created a Transient variable in my Entity Bean.

My question is that is after loading the data from database , if i make a change in that Transient varible then that object is eligible for Dirty Checking or not.
Hi

I have one question regarding the use of annotation @SecondaryTables. Please see the code below

Now my question is that like we have main table named A. By using @SecondaryTable we can create relationship with it. But can we create relationship beteween Secondary Table like in table B and Table C. Like i have to get some value where B.xxx = C.xxx.

Thanks
Ram
Hi

I have a plugin for Eclipse and generated 2 classes from Reverse Engineering.I am having primary key in database table which consist of 2 columns.

Now in my first class which is generated in that all configuration is done properly like:


Now as i am having primay key is a combination of 2 columns column B and Column C , so following code is been written for that:


So the above 2 fields b and c are defined in seprate class with annotation @Embeddable.

Now my question is that i want to write a named native query @NamedNativeQuery. How to write the query as the variable c is present in one class and variable b and c are in different class that serve as for the combination primary key.

Thanks
Ram