This week's book giveaway is in the General Computing forum.
We're giving away four copies of Emmy in the Key of Code and have Aimee Lucido on-line!
See this thread for details.
Win a copy of Emmy in the Key of Code this week in the General Computing forum!

Rashmee Kulkarni

Greenhorn
+ Follow
since Mar 27, 2010
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
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Rashmee Kulkarni

Hello All,

If I try to open declaration for methods or try to setp into code and source code is not present for same then Eclipse accidently terminates.
However open declaration is working fine if source code is present.

I am using Eclipse Mars.

Do I need to make any kind of setting?

Thanks in advance for your help.

Thanks,
Rashmi
Hi All,

I am newbie to JMS and trying my hands on it using ActiveMQ.

I want to know if there is any mechanism using which we can avoid publishing duplicate message to Topic(if same message is already present in that topic)? Or is there any way to just check & not consume ,what all messages are present in destination programatically?

Thanks in advance for your help.

Hi All,

I am trying to get hands on on @OneToMany relationship. But I am getting following error :




Here is my code :

UserDetailsDTO.java




Vehicle.java




Address.java



Following is Test code:




I am using Access database. OneToOne and ManyToOne relationships are working fine.


Can anyone please throw light on whats going wrong here?


All IDs here are long values representing field ids.
7 years ago
Hi All,

I am trying to create entry in join form of Remedy through Java using Joarse jar.

When I invoke server.createEntry(String <formName>,Map <values>), I do not get any exception or error. But method returns empty string instead of entryId, and simillarly I could not see entry created in Remedy form.




Can anyone worked with Joarse help me out?

Thanks,
7 years ago
Hi All,

I am trying to do basic insert operation using hibernate.I am using access db.My problem is that record gets saved but session.flush() throws following exception:




Update operation works fine on same db.

Here are my config and code files :
1) contact.hbm.xml



2) hibernate.cfg.xml

<?xml version='1.0' encoding='utf-8'?>


3) Contact.java (POJO)


4) MyExample.java


What would be the cause behind such behavior?
Passed OCJP with 96% on 20th Feb....
8 years ago

James Sabre wrote:

Rashmee Kulkarni wrote:Hi Guys,


Sorry ! but I cant post a file! Its confidential..but it is comma seperated file..



Surely you can post a dummy file!

You say half is missing. Does that mean the lines are truncated or that you only see alternate entries after splitting the line?


eg. DNGA,AG,\DNGA,dn,NG,6262,NA,1,2,HC,1,L,N,M,M V,na,,01-Mar-2009,,NOCODE,UD,M is the line in file and nextLine() returns only DNGA,AG,\DNGA,dn,NG,6262,NA,1,2,HC,1
For the lines before this line,method works fine...
8 years ago

James Sabre wrote:My crystal ball is in for servicing and I won't get it back until Monday so I can't see your code or your file content. Can you post the code and a fragment of the offending file?



Posted my code...
8 years ago

James Sabre wrote:My crystal ball is in for servicing and I won't get it back until Monday so I can't see your code or your file content. Can you post the code and a fragment of the offending file?


8 years ago
Hi Guys,

I am facing some problem with java scanner on unix . The same piece of code is working fine on windows environment.

On Unix nextLine() method is returning only half of the line.I have checked file 100's of times for format but file is in correct unix format.
And after that line it could not find out any other line present after that line.

Can you guys please help me out?





Sorry ! but I cant post a file! Its confidential..but it is comma seperated file..
8 years ago
Hi,
I want to process a large file and I am using string manipulations to the large extent.
I am getting "java.lang.OutOfMemoryException:java heap space problem" exception while processing a large data file.While for small files it works properly.

I have tried to increase the heap space , but no use

The same code works in unix for large files also..but not on windows...

I have also tried to prevent memory leaks by using String a=new String(b.subString(10)); etc for sunstring and replaceAll methods..

Please advise.
9 years ago
Hi,
I want to access HashMap object of Class E through class I at runtime.

method of Class I gets called through Class E methods.

I want to change the value of HashMap which is private to class E at rumtime.

I have tried to use reflection,to get the Field(it returns object of Field class,it does not return HashMap object ).But I can not make changes in values in HashMap.

Please guide.

9 years ago