leonardo ginting

Ranch Hand
+ Follow
since Jul 25, 2011
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 leonardo ginting

Ulf Dittmer wrote:You can't read and write a file at the same time. You'll need to write to a different file than the one you're reading. After you're done, you can delete the former and rename the latter.

ahhh ok thanks ulf you have given me enlightment thank you so much ulf,,
it means i have to create a new class to for modify the text that ive created right?

8 years ago
Hi guys
how could i modify text file java by line i.e

i have 4 line and each line i have a words

and i would like to modify line number 2 which is 'bbb'
being rrrr

and how could i do that?

here is my code

if i do this code i got an error because i've closed bw

the error is

thanks guys
any help would be appreciate

8 years ago

priya pratheepp wrote:Hi

answer to my post helped me a lot..my problem solved.many string buffer caused main problem and some more too..

thanks for tutorials

hi priya i recently got this error and i dont know how to solve this case and ive been increasing my memory on my run.conf

but im still getting this error?

how could i fix this? i have many setter and getter method does this method affect consuming the memory or causing java heap space?

8 years ago
hi Master

i would like to asking because recently i got this error and i dont know how to solve this i've been looking some tutorial but i'm still in that condition

why i'm getting Java Heap Space on jboss for your information i've been set JAVA_OPTS="-Xms1048m -Xmx4048m -XX:MaxPermSize=216m but im still getting this error
and for your information in one class i have many setter and Getter method,
1. does the setter and Getter method could causing heap memory because it consume memory?
2. how Can i exactly to determine Xms , Xms and MaxPermSize settings? is there any standard to determine the settings of Xms , Xms and MaxPermSize?
8 years ago
Thanks tim for your response,
are you sure tim i cant do that?
i have another idea how to make it but i would like to asking about how could put if statement on a4j:commandlink
because the idea is when the data is updated rich:popup close automatically,,

9 years ago
Hi guys,,
i've been searching tutorial for closing rich:popup panel from manage bean
but i didnt found at all

any of you guys know how could i close rich:popup from manage bean?

any help will be appreciated

thanks in advance
9 years ago
hi fatih thanks for replying

i already use point 1 as your suggestion

and thanks for your help
9 years ago
Hi Guys,,

is it possible for me to Declare cursor inside if or if statement inside cursor?

if possible how could i make it?

because i just made cursor like this

But I got This error

any Help would be appreciate

thanks in advance
9 years ago
Hi guys thanks alot for considering about my question
My Post have edited and once more thanks i appreciate your hard work and your kindness all of you

thanks a million

God Bless
9 years ago
hi guys thanks for spend some time to reply my message

anyway i dont mind if you do not delete my post but could you please to edit the code because i got complain about the code that i've posted,
because the code its confidential and my boss want me to edit the code that i've posted
i knew that martin has spent his valuable time to reply my thread and i appreciate that but if you guys dont mind help me to edit the code, just the code that i've posted
let me know what you are thinking about the reason i explained

i hope you guys know that,

9 years ago
hi guys thanks for replying

Why do you want to change it? Have you posted confidential material?

reason that i want to delete my post is because i just need to remove or edit part of my code that i've posted, like you said i've posted code that i should not posted i just want to edit part of my code or remove it
i hope you guys understand because i need it thanks

thanks hopefully you could help me
9 years ago
hi moderator

could you please help me to edit or remove my last post about this


because i need to re edit about my code that ive posted before

thnks for your kindness

help me as soon as possible

9 years ago
hi dear

btw how could i edit or remove the question that i've ever posted on this forum because i need to edit or remove my question for some reason

help me please

thanks in advance
9 years ago
hi Martin,,

thanks for helping me by the way, and you're right the exception happened because of The Date i've fixed it and it works,,
thanks for Gave me the solution

once more thanks

Hi Martin Thanks for replied

any way here is the Exception

Caused by: java.sql.SQLException: ORA-01858: a non-numeric character was found where a numeric was expected
ORA-06512: at "MYDB.MYPROCEDURE", line 24
ORA-06512: at line 1

at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:215)
at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:954)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1169)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3285)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3390)
at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4223)

so are this exception comes up because error when inserting Date?