Padma Prasad

Ranch Hand
+ Follow
since Sep 16, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Padma Prasad

The page is rendered fine. All I was worried is why Eclipse is throwing a list of errors. But I am now ignoring all of them though it is really annoying to see the red crosses.

Thanks Bear Bibeault. Appreciate your help.
Hi All,

I downloaded jquery-1.6.2.min.js for my project and I have two issues.

1. It is very slow when I open it in Eclipse. The editor itself has slowed down.
2. I see an error that said

Multiple markers at this line
- Missing semicolon
- Missing semicolon
- Missing semicolon
- Missing semicolon
- Missing semicolon
- Missing semicolon
- Missing semicolon
- Missing semicolon
- Syntax error on token "Invalid Regular Expression Options", no accurate correction available
- Missing semicolon
- Missing semicolon
- Missing semicolon
- Missing semicolon
- Missing semicolon
- Missing semicolon
- Missing semicolon
- Missing semicolon
- Missing semicolon
- Missing semicolon
- Missing semicolon
- Missing semicolon
- Missing semicolon
- Missing semicolon
- The left-hand side of an assignment must be a variable

I have not changed this file at all.
Hi All,

I live in USA and I am in India on a personal visit. Since I have some quality time in hand, I am thinking to go for the certification. Now my question is can I write part I in India and attempt other two parts in USA? may be this is a dumb question but wanna make sure before I spend money on the voucher. Appreciate your help.

Thanks,
Padma.
After being speculative about this for a long time, I have now decided to go for the certification. Wish me good luck guys. I am sure I am going to post a lot of questions here and appreciate your help.

I am aiming at SCEA and Scrum by the end of March. Hope the 10 year experience helps me achieve this.

Thanks,
Padma.
Thanks Ilja for the detailed explanation. But ain't those two 'cons' not enough for people not to adapt to it? Why is this Scrum fever everywhere then?
Is Scrum really 'THE' model for projects as projected? What I heard is all pros about it and are very impressive but not sure if the cons were also shared.

Any help in understanding the pros and cons is appreciated.

Thanks,
Padma.
Thanks Arun for the detailed information.

Ulf is right. I cannot store my java class in database. It is a live application. Java class in java application and Oracle stored procedure are independent. There could be changes to the java class as well so I may not store it in Database.

Thanks Avi. I guess webservices should be a good alternative. Need to explore this option. Thanks much for the help.

Thanks,
Padma.
Thanks Scott,

But my requirement is such that I have to call a java class from a oracle stored procedure. I cannot move the logic from stored proc to java; neither can I move my java logic to a different stored proc.

is there a way to call java application from stored procedure other than using JNI?

Thanks,
Padma.
Hi,

I have a Oracle Stored Procedure and a java application. There is a dependency on the logic written in stored procedure and the business logic in java. Can I call java program from within a stored procedure? If it is possible, is it a good practice?

Thanks,
Padma.
Hi Tim,

Thanks for an awesome and detailed reply. I have another question though. You said "
The java.sql.Date has a granularity of 1 day, but it's based on java.util.Date, which has a granularity of 1 millisecond. Oracle Dates have a granularity of 1 second. "

Does this change if we use Timestamps? The granularity should be more if we use Timestamps.

Also, in our case, we are not doing anything but deleting the record. I did not quite understand when you said the record in local memory is purged. What we are doing is get the record, delete the record. Do you mean when we got the record, it is cached and later got purged for some reason? and when we do a delete, there is a comparision with the actual record in the database (this is retrieved after got truncated) and because of the truncation there is a mismatch?

Thanks,
Padma.
Hello,

We have an issue with Open JPA framework. We are using Oracle 10.2 database with Open JPA 1.0. We have a database table with a composite primary key. One of the keys is a timestamp. We have a requirement to delete rows from this table. When we do a remove() on this table, we encounter an error like " Caused by: <1.0.0-SNAPSHOT-SNAPSHOT nonfatal user error> org.apache.openjpa.util.InvalidStateException: Operation attempted on a deleted instance.
at org.apache.openjpa.kernel.PCState.error(PCState.java:443)
at org.apache.openjpa.kernel.PDeletedState.beforeOptimisticWrite(PDeletedState.java:76)
at org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1445)
at org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1384)
at org.apache.openjpa.util.Proxies.dirty(Proxies.java:68)
at org.apache.openjpa.util.java$sql$Timestamp$proxy.setNanos(Unknown Source)
at org.apache.openjpa.jdbc.sql.DBDictionary.setTimestamp(DBDictionary.java:1054)
at org.apache.openjpa.jdbc.sql.DBDictionary.setTyped(DBDictionary.java:1194)
at org.apache.openjpa.jdbc.sql.RowImpl.flush(RowImpl.java:883)
at org.apache.openjpa.jdbc.sql.RowImpl.flush(RowImpl.java:843)
at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(PreparedStatementManagerImpl.java:93)
at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flush(PreparedStatementManagerImpl.java:71)
at org.apache.openjpa.jdbc.kernel.OperationOrderUpdateManager.flushPrimaryRow(OperationOrderUpdateManager.java:162)
at org.apache.openjpa.jdbc.kernel.OperationOrderUpdateManager.flush(OperationOrderUpdateManager.java:89)
at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(AbstractUpdateManager.java:89)
at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(AbstractUpdateManager.java:72)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.flush(JDBCStoreManager.java:514)
at org.apache.openjpa.kernel.DelegatingStoreManager.flush(DelegatingStoreManager.java:130) "

Record exists in the database but the above error is thrown by JPA. Not sure why JPA is not able to delete a record. is it because of the timestamp? What we identified while debugging is that the timestamp is stored as 5/29/2008 12:00:00.000000 AM. When we retrieve the value, we get 5/29/2008 00:00:00.0. What we also identified through database trace is that Open JPA is not hitting database at the delete statement.It executes select, insert and update but we cannot see delete error traces in the database. Could you help identify where the issue is?

Thanks,
Padma.
[ June 24, 2008: Message edited by: Padma Prasad ]
Hi,

I am preparing for SCEA 5. I am planning to buy couple of books mentioned in some of the threads here. There was a good recommendation for Sun Certified Enterprise Architecture for J2EE Technology Study Guide by Mark Cade and Simon Roberts. I see that there is a recent published edition of this book (publishing date is February 2005). But I don't see this book available anywhere. SCEA guide available in the market is with publishing date March 2002. Are there any major differences in these two books? Do I have to wait until the latest publication is available in the market? or can I go ahead buying the old edition? Could someone help me please?

Thanks,
Padma.
[ March 31, 2008: Message edited by: Padma Prasad ]
Thank you all for your thoughts and great inputs. I decided to take the certification. I already started preparing for the exam. Wish me good luck please.

Thanks,
Padma.
Hi,

I am preparing for SCEA 5. I am planning to buy couple of books mentioned in some of the threads here. There was a good recommendation for Sun Certified Enterprise Architecture for J2EE Technology Study Guide by Mark Cade and Simon Roberts. I see that there is a recent published edition of this book (publishing date is February 2005). But I don't see this book available anywhere. SCEA guide available in the market is with publishing date March 2002. Are there any major differences in these two books? Do I have to wait until the latest publication is available in the market? or can I go ahead buying the old edition? Could someone help me please?

Thanks,
Padma.
Hi Ulf,

Thanks for the help. But setHidden() method somehow doesn't work. I achieved the purpose by setting the column width to 0.

Padma.