Kristian Waagan | 15 Jun 12:34 2011
Picon

[ANN] Mailing list is being closed

Hello,

As part of retiring the OJB project, the user and the dev mailing lists 
are being closed. It will no longer be possible to post to the lists, 
but old posts can be browsed in the archive [1].

--

-- 
Kristian Waagan on behalf of Apache ObJectRelationalBridge + the Attic.

[1] http://mail-archives.apache.org/
Thomas Fox | 3 Dec 22:01 2010
Picon

The db pmc considers moving OJB to the attic

Dear OJB developers (if any remain),

The DB PMC [1] has not observered activity in OJB for some time and would
like to move the project to the apache attic [2].
This would basically mean that the svn would become read-only, and that the
mailing lists  will be shut down at some point.

If there are any reasons why OJB should not be moved to the attic, please
speak up on the ojb dev list before Sat, 11. Dec 2010 12:00 CET.

   Regards,

    Thomas Fox on behalf of the DB PMC

[1] http://db.apache.org/whoweare.html
[2] http://attic.apache.org
Ilkka Priha | 6 Oct 08:34 2009

LOBs in OJB 1.0.5RC1

Hello

Armin's LOB handling on RC1 is really great! However, as different 
platforms treat LOBs in various ways, we would appreciate some more 
flexibility.

LobHandle, BlobHandle and ClobHandle could have a public constructor for 
transient LOBs, which would not take PersistenceBrokerInternal as a 
parameter. That would allow us to use our own transient implementations 
of LOBs together with OJB's LobHandles.

// TODO: (imp 2009-09-28) Transient handle without a persister broker.
public LobHandle(Object locator)
{
     if(locator == null)
     {
         throw new NullPointerException("The locator object may not be 
'null'");
     }
     this.locator = locator;
     isTransient = false;
     active = false;
     if(locator instanceof Lob)
     {
         isTransient = true;
         markDirty();
     }
}

RSIterator, line 533, should have a null test before calling lob.isActive().
(Continue reading)

Tincy varghese | 12 Jan 11:27 2009
Picon

how to reduce mem heap usage with Scrollable RS

In my Application :

if I am doing some particular UI searches with pagination ,My memory usage is keep on increasing. how to
reduce mem heap usage with Scrollable RS 
It has been observed in UI searches on the particular pages,that the memory size can be made to increase by
navigating the UI pages using Next, Last, Previous page navigation buttons.

Please suggest a solutionf or how to resolve the mem size increase problem with UI Search button. When the UI
Search button is used, the system creates a ScrollableResultSet. How can we stop the mem size from
increasing indefinitely with ScrollableResultSet.

Thanks

      Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
Tincy varghese | 12 Jan 11:15 2009
Picon

Need Urgent Help

if I am doing some particular UI searches with pagination ,My memory usage is keep on increasing. how to
reduce mem heap usage with Scrollable RS 
It has been observed in UI searches on the particular pages,that the memory size can be made to increase by
navigating the UI pages using Next, Last, Previous page navigation buttons.

Please suggest a solutionf or how to resolve the mem size increase problem with UI Search button. When the UI
Search button is used, the system creates a ScrollableResultSet. How can we stop the mem size from
increasing indefinitely with ScrollableResultSet.

      Check out the all-new Messenger 9.0! Go to http://in.messenger.yahoo.com/
Tincy varghese | 12 Jan 11:12 2009
Picon

Need Urgent Help

if I am doing some particular UI searches with pagination ,My memory usage is keep on increasing. how to
reduce mem heap usage with Scrollable RS 
It has been observed in UI searches on the particular pages,that the memory size can be made to increase by
navigating the UI pages using Next, Last, Previous page navigation buttons.

Please suggest a solutionf or how to resolve the mem size increase problem with UI Search button. When the UI
Search button is used, the system creates a ScrollableResultSet. How can we stop the mem size from
increasing indefinitely with ScrollableResultSet.

      Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
Jenish | 25 Sep 16:48 2008
Picon

Problems while using OJB with iAnywhere Driver to connect Sybase


Hello All, 

We have a project which uses OJB to talk with DB. It was working fine with
jconnect driver. Now we have changed our design and now we are trying
iAnywhere driver instead of jConnect2. 

Now we are facing the problem that after some time of deployment we are
getting exception at the backend something like "Borrow broker from pool
failed" 

Can anybody please suggest me if we need to tune some parameter of OJB to
make it run with iAnywhere? 

Thanks, 
Jenish
--

-- 
View this message in context: http://www.nabble.com/Problems-while-using-OJB-with-iAnywhere-Driver-to-connect-Sybase-tp19671098p19671098.html
Sent from the Apache DB - ObjectRelationalBridge Dev mailing list archive at Nabble.com.
Somendra Paul | 29 Jun 07:50 2008
Picon

Need Quick Help !! Production Issue

These are the following java objects that we store:
 
Wip  --> Wip Process(related table of Wip) -> Wip Qty (related table of Wip)
Lot --> Lot Qty(related table of Lot) -> Lot Process Location(related table of Lot)
Shipment 
 
The way our code works is this Wip,Lot,Shipment data are kept in csv files, they are then converted to thier
respective java objects and then 
persisted to the DB, one by one.
 
Suppose a file  can contain 100 Lot, 100 Wip, and 100 Shipment and they can be interlaced, what i mean is that
Lot,Wip and Shipment can come in 
any sequence, and not that first 100 Lot and then 100 Wip and then Shipment.
 
 
Suppose our file has Lot, Shipment and then Wip:
 
Current Problem: 
Our setting in repository-database.xml is batch-mode is true,and autoComit is 2 and when the three
objects are persisted, we find that
sometimes and that is quite rare, that the some of the objects are actually not persisted in DB, though there
is no exception in logs,
we are using OJB1.0.4.
 
Current Code Behaviour of Code: -->
The way our code works is we get the transaction from the PB broker, and then start the transaction and then
insert the Lot object,afterthat they 
will persist the Lot Qty and Lot Process Location objects which are information related to lot, by setting
the batch mode to true and then calling broker.
store(pc) for each LotQty or Lot Process Location and then call batchUpdate (intention being that the
(Continue reading)

Carlos Chávez | 3 Feb 21:24 2008
Picon

Junit Issues


Hello Armin,
Hello All.

 I ran the junit test cases of OJB, i found some issues; my environment
is: postgresql 8.2.6, java 1.5.0_14, ant 1.7.0, branch OJB_1_0_RELEASE
revision 616989.

1. In the profile for postgresql (profile/postgresql.profile) the
variables torque.database.createUrl and torque.database.buildUrl have the
wrong values.

 the value of torque.database.createUrl is
${urlProtocol}:${urlSubprotocol}://${torque.database.host}/template1, but
it shoul be
${urlProtocol}:${urlSubprotocol}://${torque.database.host}/${urlDbalias}.

 the value of torque.database.buildUrl is
${urlProtocol}:${urlSubprotocol}://${torque.database.host}/${urlDbalias},
but it should be
${urlProtocol}:${urlSubprotocol}://${torque.database.host}/template1

 Basically the torque.database.createUrl is used to indicate the database
test to create and torque.database.buildUrl looks like we need to
indicate some other database via ODBC in order to create a database as
far i understand, so the test try to create the database template1, but
this is wrong because that database already exists and is created by
postgresql.

2. The other issue is related to the table/field name quoted, in the file
(Continue reading)

arminw | 31 Jan 03:19 2008
Picon

svn commit: r616989 - in /db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker: query/EnclosingReportQuery.java query/ExistsCriteria.java query/InCriterion.java util/BrokerHelper.java

Author: arminw
Date: Wed Jan 30 18:19:49 2008
New Revision: 616989

URL: http://svn.apache.org/viewvc?rev=616989&view=rev
Log:
fix: count query in combination with IN-clause, add missing preprocess(PersistenceBrokerInternal
aPb) methods

Modified:
    db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/query/EnclosingReportQuery.java
    db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/query/ExistsCriteria.java
    db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/query/InCriterion.java
    db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/util/BrokerHelper.java

Modified: db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/query/EnclosingReportQuery.java
URL: http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/query/EnclosingReportQuery.java?rev=616989&r1=616988&r2=616989&view=diff
==============================================================================
---
db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/query/EnclosingReportQuery.java (original)
+++
db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/query/EnclosingReportQuery.java
Wed Jan 30 18:19:49 2008
 <at>  <at>  -23,6 +23,8  <at>  <at> 
 import java.util.HashMap;
 import java.util.Map;

+import org.apache.ojb.broker.PersistenceBrokerInternal;
+
 /**
(Continue reading)

arminw | 31 Jan 03:17 2008
Picon

svn commit: r616988 - /db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/broker/QueryTest.java

Author: arminw
Date: Wed Jan 30 18:17:02 2008
New Revision: 616988

URL: http://svn.apache.org/viewvc?rev=616988&view=rev
Log:
add new tests to reproduce a query bug

Modified:
    db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/broker/QueryTest.java

Modified: db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/broker/QueryTest.java
URL: http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/broker/QueryTest.java?rev=616988&r1=616987&r2=616988&view=diff
==============================================================================
--- db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/broker/QueryTest.java (original)
+++ db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/broker/QueryTest.java Wed Jan 30
18:17:02 2008
 <at>  <at>  -73,6 +73,100  <at>  <at> 
     }

     /**
+     * ReportQuery returning rows with some "Liquor" data ordered by price
+     */
+    public void testReportQueryDistinct()
+    {
+
+        Criteria crit = new Criteria();
+        Collection results = new Vector();
+        crit.addEqualTo("productGroup.groupName", "Liquors");
+        ReportQueryByCriteria q = QueryFactory.newReportQuery(Article.class, crit);
(Continue reading)


Gmane