Questions tagged [ojb]

9 questions
8
votes
1 answer

Extending Kuali Document Business Object

I am facing an issue with extended attributes on a document (trying to extend a document table). I created the original table’s PK (FDOC_NBR) in the extended table and linked the two via a foreignKey of the customized original table’s ojb entry (as…
2
votes
0 answers

OJB ReportQuery join question

Given three tables: People: {Person_Id, Age} Accounts: {Account_Id, Person_Id, Account_Type} Age_Ranges: {Age_Range_Id, Age_Range_Label, Lower_Bound, Upper_Bound} I'm trying to represent the following SQL query using OJB (without resorting to a…
Adam
  • 95
  • 6
1
vote
0 answers

What Oracle JDBC or listener configuration is required to support a legacy application?

A legacy application (Jetspeed portal over Hibernate/Spring + OJB) needs to be run one more time. It won't run against an Oracle 12c database without some configuration change. It uses Hibernate + OJB circa 2008-9. Over Oracle JDBC circa…
David Fackler
  • 365
  • 2
  • 8
1
vote
0 answers

Loading a huge amount of data using OJB 1.4

I have a Set catNames which contains a huge list of cats names (~35K) and I need to load from the database (Sybase) all of those Cat objects and put them into a Map cats : each line contain the cat name and the corresponding cat…
Radhwen
  • 232
  • 4
  • 15
1
vote
1 answer

OJB Reference Descriptor 1:0 relationship? Should I set auto-retrieve to false?

I am having an issue while using Apache OJB with Spring 2 inside my web app. I'm using OJB reference-descriptor with 2 foreign key properties. I have an object A (parent) and object B (referenced object). The thing is, for an object A, there may…
user324681
  • 11
  • 1
  • 2
1
vote
1 answer

IOException: socket write error

While editing one report I am facing this issue(all other reports are working fine) don't know what goes wrong org.apache.ojb.broker.PersistenceBrokerSQLException: * SQLException during execution of sql-statement: --some sql statement(correct…
Divya
  • 99
  • 1
  • 1
  • 6
1
vote
1 answer

Spring Bean Inheritance and Null Pointer Exception Issue

I am working on adding a new bean to a Business Object. To do so, I first add the member to the PurchaseOrderDocument Class by assigning it the following: protected String purchaseOrderCurrentCMActionStatus; Then of course I assign it the usual…
user1492226
0
votes
0 answers

OutOfMemoryException with Apache ObJectRelationalBridge

I'm facing an OutOfMemoryException when trying to load a list of objects using OJB persistence broker. There are more than 20000 objects in the database (sybase). I have tried to limit the size of the returned list to 200. But the problem…
GHASSEN
  • 51
  • 2
0
votes
1 answer

OJB / Oracle XE sql debug-display problem

I have a Java application, and use OJB as my ORM technology. I have an Oracle XE installation locally to develop against. The problem is when I need to debug a problem, I like looking at the SQL output. Here is an example of SQL I can view…
Jay
  • 4,994
  • 4
  • 28
  • 41