Thomas Dudziak wrote:
OJB requires a recent Ant version to build.
Then you might want to update the ant under lib/ in the CVS?
$ ll lib/ant*
-rw-r--r-- 1 cpesch staff 952104 8. Jan 2004 lib/ant-1.6.0.jar
-rw-r--r-- 1 cpesch staff 68986 8. Jan 2004 lib/ant-junit.jar
-rw-r--r-- 1 cpesch
Jakob Braeuchi wrote:
do you know what ms-sql does, when the first value is a string ? i'm
thinking of using something like this :
'OJB' + col1 + col2
If col1 and col2 are the names of int columns,
you have cast them like:
'OJB.' + cast(col1 as varchar(11)) + cast(col2 as varchar(11))
DB2 is
Hi,
this have been introduced in since 1.144.2.13 or 1.144.2.14 of the
build.xml:
$ sh bin/build.sh
Buildfile: build.xml
detect-jdk:
environment-check:
BUILD FAILED
/home/cpesch/ojb-1.0.x-from-cvs/db-ojb/build.xml:101: The fail type
doesn't support the nested condition element.
Total time: 1
Hi everybody,
I'd like to use the new Java 5 features and found myself stuck with
XDoclet, which does not support generics:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-984
When will XDoclet support Java 5 and when will OJB support
XDoclet 2 and Java 5?
--
Christian
Ilias Lazaridis wrote:
[..]
But it seems that stubberness and egoism rules in this project.
Please stop insulting the people that have shown significant patience
in explaining you the simple truth. There are other ojb users, which
might really need their help.
Thomas Dudziak wrote:
BOUESSAY Christian wrote:
There is an association (1:n) between 2 classes:
[..]
In the project-schema.xml, there is no foreign-key declaration for
the table OM ...
What did I miss?
For collections, the generation of foreignkeys in the database is
currently not supported
Thomas Dudziak wrote:
[..]
Implementing this analysis therefore requires determining what cases
can possibly arise and then quite some implementation work (esp. unit
tests).
Are there plans to implement this?
-
To unsubscribe,
Hi,
somewhere between rc6 and 1.0.0 the Object2ByteArrFieldConversion
seems to have started to compress the database content with
GZIPInputStream.
Having searched for a while, I still couldn't find any documentation on
that.
Can anyone verify this?
--
Christian
Armin Waibel wrote:
Not correct, this class near not modified since OJB 0.9 and use
compression all the time. [..]
Thanks. Actually, I've preloaded some tables with data, which contained
non-compressed text for byte[]/LONGVARBINARY columns. And my
testsuite works with rc6 while failing
psamathos wrote:
Any other ideas?
Are you using ant = 1.6?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thomas Dudziak wrote:
The fix should be a simple change of the compile-classpath at the
beginning of the build.xml of the ojb-blank project to:
[..]
That works for me, thanks.
--
Christian
-
To unsubscribe, e-mail: [EMAIL
Thomas Dudziak wrote:
[..]
I tried ojb-blank with a basic ojb.collection tag with
ManageableArrayList as the collection-class, and it worked. Same when
I declared the variable to be of type ManageableCollection.
I'd say you have a problem either with your classpath
I can't imagine what would be
Thomas Dudziak wrote:
[..]
Now, what I find strange is that none of the snippets that you posted
was actually using a ManageableCollection, neither in code nor in the
XDoclet comment, so why should XDoclet try to search for it ?
I could send you all the classes, if you don't mind.
It's just over
Thomas Dudziak wrote:
I get only two problems: [..]
I'll fix that.
then it runs through in a freshly downloaded ojb-blank environment.
That's it! I've used ant 1.5.4 in my environment, which causes the problem.
With 1.6.2 it runs through.
BTW, which ant version did you use?
--
Christian
Thomas Dudziak wrote:
* Missing conversion classes :
- org.metamusic.core.impl.conversion.Role2VarcharFieldConversion.
- org.metamusic.core.impl.conversion.Locale2VarcharFieldConversion
Actually, they were in the archive. And I can reproduce the error
doclet.XDocletException: The class
Thomas Dudziak wrote:
I'm clueless how to bring xdoclet to work after I've
migrated from 1.0 rc6 to 1.0.0.
The xdoclet taskdef now contains a classpathref, but
I couldn't let it find the org.apache.ojb.broker.ManageableCollection.
Please have a look at the build file in the ojb-blank.jar which
Hi there,
I'm clueless how to bring xdoclet to work after I've
migrated from 1.0 rc6 to 1.0.0.
The xdoclet taskdef now contains a classpathref, but
I couldn't let it find the org.apache.ojb.broker.ManageableCollection.
Any hints welcome
--
Christian
The ant output
guard-repository-files:
Gus Heck wrote:
[..]
/**
* The actual data that needs to be persisted for a location.
*
* @ojb.class * @jdo.persistence-capable
*/
public class LocationBase implements Location {
/**
* @ojb.field primarykey=true
*/
Integer id;
/**
* @ojb.field length=40
*/
Markus wrote:
Hello,
I've followed the descussion about hibernate and OJB.
Yes - that's probably the biggest difference between OJB and
Hibernate.
Hibernate want KISS, OJB want ultimate flexibility ;)
What does KISS mean?
Keep it Small and Simple
--
Christian
Sören Kress wrote:
Or is there any opensource application that uses OJB and the ODMG api where
I could learn anything.
I've found the Beer4All Shopping Cart Demo at
http://sourceforge.net/project/showfiles.php?group_id=49385release_id=168170
--
Christian
Björn Voigt wrote:
If I store the object to database and get it back, the length of
the byte[] is bigger than the original length.
Did you compare the original value and the written one?
May be that gives a hint.
-
To
Sebastien Cesbron wrote:
Am I the only one that have this problem ?
No :-)
Can anybody tell me what I can do in this situation ?
I removed hashCode() and waited for a wise suggestion,
what to do :-)
--
Christian
-
To
Alexander Bibighaus wrote:
You can demo the application here:
http://www.scrashmeow.org/ojb/index.do
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
Please contact the server administrator, [EMAIL PROTECTED] and
[EMAIL PROTECTED] wrote:
Hi,
I´ve must be really stupid but, after read tutorials, eMails, source code...
I´ve not be able to run my 1:m code.
Two classes A and B, with A --- B relation (1:m)
public class A
{
private int id;
private DList listB;
private String name;
public void A()
{
[EMAIL PROTECTED] wrote:
Ok, I´ve just to rewrite all code with PB api, using Vector and
RemovalAwareCollection and it works
Try to use the ODMG instead of the PB API now.
That worked for me, too. But I had problems
using HashSet for collections (see previous
mail Collection problem from
Markus wrote:
Hi,
I always get this errormessabe from ant:
repository-files:
BUILD FAILED
file:D:/JAVA_E~1/cvs_home/testojb/build.xml:165: taskdef class
xdoclet.modules.ojb.OjbDocletTask cannot be found
Did you use the xdoclet-1.2b3-dev.jar?
--
Christian
Thomas Dudziak wrote:
This is usually the case when xdoclet finds no source code.#
That's is. Thanks.
Try running
ant with the -v option to see some more output.
There was no output indicating, that the fileset
for the java source in my ant target was wrong:
[EMAIL PROTECTED] project]$
= \+name+\;
Where is that switch remove that test. prefix?
--
Christian Pesch
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
28 matches
Mail list logo