Re: generate global uid's

2006-05-17 Thread Dennis Bekkering
Sorry, nope! At the beginning of OJB some people plan to support beside RDBMS and other persistence datastores, but it was too complex to realize with a few OJB committer. Thanks for clearing out, where exactly lies the complexity, the quering i solved my own project. I have the biggest

Re: generate global uid's

2006-05-16 Thread Armin Waibel
Hi Denins, Dennis Bekkering wrote: Hi, I found out that the select IN problem had to do with different charsets on the column level, since my id's where varchars this problem occured suddenly , i checked all column charset but couldn't find a difference between them. The deeper i get into

Re: generate global uid's

2006-05-15 Thread Dennis Bekkering
Hi, I found out that the select IN problem had to do with different charsets on the column level, since my id's where varchars this problem occured suddenly , i checked all column charset but couldn't find a difference between them. The deeper i get into mysql the more i find out why not

Re: generate global uid's

2006-05-13 Thread Dennis Bekkering
All, I converted all my int id's and refs to varchar id's and ref's, i offcourse updated the repository file also. Now it seems that OJB expects id's to be of type int in 1:N and M:N relations. I get errors regarding select where id IN (?,?,?,?,?). I did not really looked in the source yet at

Re: generate global uid's

2006-05-11 Thread Dennis Bekkering
Hello all, I am almost there with regards to asynq data merging based upon GUID. What i am looking for now is a way to have a creationdate field in indirectiontables. I am not sure how to do this since it is all handled by OJB. The case is like this, a local server has records that are not

Re: generate global uid's

2006-05-11 Thread Armin Waibel
Hi Dennis, Dennis Bekkering wrote: Hello all, I am almost there with regards to asynq data merging based upon GUID. What i am looking for now is a way to have a creationdate field in indirectiontables. I am not sure how to do this since it is all handled by OJB. If you need an additional

Re: generate global uid's

2006-04-25 Thread Dennis Bekkering
great, thanks! 2006/4/24, Thomas Mahler [EMAIL PROTECTED]: Hi Dennis, org.apache.ojb.broker.util.GUIDFactory produces GUIDs that are unique across different VMs. cheers, Thomas Dennis Bekkering wrote: Hello all, I have a situation where i frequently have to merge data from

Re: generate global uid's

2006-04-25 Thread Armin Waibel
Hi Dennis, to use OJB's auto-increment feature (automatic assignment of PK's) you have to implement a SequenceManager based on class GUIDFactory. Simply extend AbstractSequenceManager and override public Object getUniqueValue(...) Implement protected int getUniqueId(...) and throw exception

generate global uid's

2006-04-24 Thread Dennis Bekkering
Hello all, I have a situation where i frequently have to merge data from different databases. Uptill now every database has it's own sequence. That means that i cannot merge the data blindly because two records with the same id might not be the same record. I am thinking of switching from int

Re: generate global uid's

2006-04-24 Thread Thomas Mahler
Hi Dennis, org.apache.ojb.broker.util.GUIDFactory produces GUIDs that are unique across different VMs. cheers, Thomas Dennis Bekkering wrote: Hello all, I have a situation where i frequently have to merge data from different databases. Uptill now every database has it's own sequence. That