We prefer OJB:s compact size, explicit control of caching, clear
structure and functionality, and especially the ability to dynamically
modify the persistence model through the API during run-time without
disturbing open sessions; Hibernate lacks most of these features and JPA
is too limited. W
Oops, the tables are not the same, so Roger's reply gives a better answer.
-- Ilkka
Ilkka Priha wrote:
OJB fully supports mapping of several classes to the same table. In this
case, you'll read the same data into two data structures being kind of
"reflections" of each othe
OJB fully supports mapping of several classes to the same table. In this
case, you'll read the same data into two data structures being kind of
"reflections" of each other.
-- Ilkka
SUMIT JAIN wrote:
I am using OJB with java 1.5
I have done the following mapping
Thanks Armin!
Seems to work great with our app (MySQL-NT). The only found
inconsistency with the previous version was that the default
CopyStrategyImpl in ObjectCacheTwoLevelImpl is now final. We apply
dynamic persistent Variables, which must be cloned during copying, and
have implemented the
4.2.2 of PersistenceBrokerFactoryIF? I'm having trouble locating it.
Ilkka Priha wrote:
Rick,
It was introduced in revision 1.4.2.2 of PersistenceBrokerFactoryIF
(25/07/05), so it's available only in the cvs version of OJB, but
hopefully quite soon also as 1.0.4-rc.
-- Ilkka
/**
* Shutdown method
Rick Roman wrote:
Hi Ilkka,
shutdown() does not appear to be a method of
PersistenceBrokerFactoryFactory.instance(). Is there a patch with this
available?
Ilkka Priha wrote:
Hi Rick,
Have you tried this one, it alone should do the job.
PersistenceBrokerFactoryFactory.instance().shu
Hi Rick,
Have you tried this one, it alone should do the job.
PersistenceBrokerFactoryFactory.instance().shutdown();
-- Ilkka
Rick Roman wrote:
Update: From other threads, I have tried using a contextDestroy listener
to run:
PersistenceBroker broker =
PersistenceBrokerFactory.defaultPersi
Hello
This problem has been discussed earlier (Edson Richter/m:n mappings), but it
seems to be still there and I didn't find anything about it in Jira. Maybe I'm
missing something, but the problem is that OJB generates a query that doesn't
work in all DB platforms for collections applying an i
See this:
http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm#08_01
-- Ilkka
JML (Brujula) wrote:
Hi!
I have encountered with a problem when I have changed from Oracle9i to
Oracle10g.
This code work correctly with 9i:
Timestamp tmp = (Timestamp)row[7];
row[7] is a fi
Thanks a lot Danilo, we've noticed this very same leak but thought it is a
Tomcat problem and simply accepted that after 3-5 redeployments the server must
be restarted! Your first patch seems to be OK for us as we don't apply proxies
either.
-- Ilkka
Danilo Tommasina wrote:
Hi again, and so
Hi Ernst,
OJB version 1.0.1 has a bug in hash codes of ObjectCacheDefaultImpl making it
act like you noticed. Try some other cache implementation, version 1.0 or 1.0.2
pre from cvs.
-- Ilkka
Ernst Temp wrote:
Hello,
I am using OJB in my application (Mysql 4.1, Java 1.4.1, Mac OS X)
mainly as DB
Hi,
I just had the same exception with mysql for a totally different reason. When I
updated from 4.1.1-alpha to 4.1.2-alpha in Windows without changing the db, OJB
couldn't read the ojb_hl_seq table causing inserts violating the primary key
constraint and thus failing to generate pks. The reason
Hmm, you're right, but maybe that one should also be deprecated. Both
addOrderByAscending() and addOrderByDescending() were deprecated
in 1.25 and replaced by the corresponding Query methods (as were all GroupBy
methods). They still call internally addOrderBy(,), which is
currently not depreca
Actually, all addGroupBy and addOrderBy methods in Criteria object have already
been deprecated since RC2 and replaced by the corresponding methods in the Query
object...
-- Ilkka
Janssen, Roger wrote:
Hi,
personally I'm very busy with other OJB stuff and Jakob the query-guru
is on vacation
Here is one other, a web interface to the Microsoft Northwind sample
database based on Apache Velocity and OJB:
http://ptuuli.myapp.info/ (username = "vieras", password = "vieras")
Its not a real application itself, but we've applied the same technology
and framework to more complicated databas
.
HTH
regards,
Armin
- Original Message -
From: "Ilkka Priha" <[EMAIL PROTECTED]>
To: "OJB Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, February 11, 2003 2:42 PM
Subject: Re: Repository descriptors, PBKey and OJB 0.9.9
Hi Armin,
-- cut --
Current
Hi Armin,
-- cut --
Currently there are only methods to add
ClassDescriptors, add runtime.
I think to realize that functionality we need merge methods for
DescriptorRepository and ConnectionRepository:
MetadataManager.mergeDescriptorRepository(DescriptorRepository
newRepository)
Is this
r and
RepositoryPersistor, but without much luck.
-- Ilkka Priha
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
18 matches
Mail list logo