paddy Mahadeva Iyer

Ranch Hand
+ Follow
since Feb 10, 2007
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 paddy Mahadeva Iyer

Hi,

I tried to look up this issue a lot but was unsuccessful. Let me put my problem through the following case,


I have a Table table1 With Columns column1, clolumn2, column3,......, column12.

In my application I want to create two classes Class1 to Class2 .


In class1 I want to map columns from column1 to column6 and in class2 I want to map columns from column7 to column12. No column will overlap in two classes. When ever I make instance of the model class I will make only of one and the columns in the other class should be accessible from there (Inheritance may be the solution for this).

Is this possible using hibernate?

The idea behind this whole thought process is that there are some core columns that are mandatory for the application and should not be touched. Where as some columns can be modified as part of end user enhancements. I want to keep those columns that are core to the application separate?

Thanks in advance
Paddy
Hi guyz,

worked around this problem without regex since could not find a solution.

Thanks
Paddy
9 years ago
Hi Campbell, Sorry for that 'urgent' comment. but was in a desperate situation then. Will be careful in future.

Hi jeanne, I will try that and get back.

Hi All, Actually I tried constructing the regular expression using the online expression generators. Some of the expressions that were working there was not when it came to the Java Pattern class. Don't know Why.

Will get back. Please do give me your suggestions.
9 years ago
Hi,

I need to filter out regex from my string when ever i encounter for example
{0} or {1} so on to {100}.

I got regex like '\{\\d*\{ ' and '{[0-9]}'. But none are working. Please help. Kind of urgent.

9 years ago
I was brain storming about this issue with a few of my friends. Somebody suggested that this feature has to be set when the pdf file is being created. Can anybody confirm this?
Sure, my requirement is that the pdf should not wait for a prompt from user. It should automatically open the file. Also, it should not wait for the whole Pdf to be downloaded , but should open as soon as it gets a readable chunk, then as per each chunk it should keep adding to the pdf file.

Thanks
Paddy
Hi,

Its not working. It is prompting me to save the file. Anyway thanks for that suggestion.

Guys, still stuck with it, any other advice? Highly appreciated.

Thanks
Paddy
Hi,

I have an HTML page which has a hyperlink for opening a file. When the user clicks on the same a request is sent to the server which in response sends a pdf file. Now the PDf file that is being sent across is huge in size. So it takes a lot of time to open the file, since the file is first downloaded on the client side and then opened. Is there any work around on this? I was wondering if I would be able to open the pdf file as it is being downloaded rather than wait for it to be completely downloaded, by setting some HTTP headers.


Thanks in advance
Paddy


Sorry about that. I cannot believe that I missed it. But not able to edit the post also. Can we close this thread?

Thanks
Paddy
I have an index Page with index no increament on an expression at run time the problem is the index number gets printed in any order even when all the textfield evaluation time is set to now.
code is something like this:

where scriplet "$P{REPORT_SCRIPTLET}.getIndexNumber()" just increaments by one..
any help is highly appreciated..

Hi,

I was just trying to map a class of mine to a set of tables in hbm files. Let me put my scenario here.

I have Table1 which holds foreign key relation to Table 2. Now Table 2 has foreign Key relation to Table3. I have a class Class1. Now how define this mapping in my hbm file.

Also note that I want all the values to come to a single class, since I don't want all values to fields to be fetched of these tables. My class has declared only those fields that I want to use. Totally and utterly confused.


Thanks in advance

Paddy
Hi,
In my project we are trying to consolidate all configuration files (by configuration I mean xml and properties files) in the classes directory and lot let them spread across with the class files. I therefore need to put them in a single directory at the root level. Preferably the classes directory,


Thanks
Paddy
11 years ago
Hi,

I am writing a web application using struts 2 and am using the xml validation to validate one of my forms. I am able to validate the form successfully by placing it in the same directory as in my action class. But I need to place the validation xml file in the

directory in my tomcat server.

But when i place it there the validation does not happen.

Do I need any specific configuration to be done?


Thanks in advance
Paddy
11 years ago
Not the exact same code! But the exact same error. But i found the solution also.

I need to specify the fully qualified path to my enum and the method i want to call.



That solved my problem!
11 years ago
facing the same issue! anybody can suggest a solution?
11 years ago