and
RepositoryPersistor, but without much luck.
-- Ilkka Priha
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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
Hmm, you're right, but maybe that one should also be deprecated. Both
addOrderByAscending(field) and addOrderByDescending(field) were deprecated
in 1.25 and replaced by the corresponding Query methods (as were all GroupBy
methods). They still call internally addOrderBy(name,direction), which
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
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
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
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
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 =
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().shutdown
? 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 for OJB, kills all running
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
class-descriptor
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 other.
-- Ilkka
SUMIT
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.
14 matches
Mail list logo