This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi, i use oracle database and visual age for java. i use persistence builder for object relational mapping. How can i say with JDBC that i want to create transactions of Oracle manually, means that i say when a transaction begin and when must commit. i had the problem that when i begin a transaction, after all code oracle do automatically a commit, but i don't want this. I want to say it myself when commit and therefore i think i must do a connection with manually transactions, How? Need help or good(helpful) links.
if you use the classes of persistence builder 3.5 enterprise edition, maybe you can help that i can use transaction correctly or maybe you know a person who know that. I need HELLLLLPPPP (((( All the weekend i tried to get this f****** code to work! So, maybe you know anything about this?
i do this:
com.ibm.vap.Transactions.Transaction.begin(); System.out.println("Transaction created"); Phxgenericcolor theGenericColor = PhxgenericcolorHomeImpl.singleton().create("5"); System.out.println("homeimpl created"); theGenericColor.setNamegc("Test1"); theGenericColor.setRedgc("150"); theGenericColor.setGreengc("150"); theGenericColor.setBluegc("150"); System.out.println("values set"); Transaction.getCurrent().commit(); <= her is the error so i don't know why i getr his problem. remember i use oracle