Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc) » Bug in TENEO 0.8.0.v2007.12.28.0940
Bug in TENEO 0.8.0.v2007.12.28.0940 [message #107303] |
Thu, 17 January 2008 06:09  |
Eclipse User |
|
|
|
Originally posted by: frederic.ventura.eurogiciel.fr
I'am trying to solve my problem for synchronising GMF with my database
from a moment.
with the help of some people working with me, we have found the problem.
It comes from the teneo plugin.
There is a bug in class HibernateResource.
this command line don't work :
final String[] parts = id.split(SEPARATOR);
the separator is "|" but this character is a special character in regexp.
my id ("tournoi|id=1") is split in 12parts
('t','o','u','r','n','o','i','|','i','d','=','1') in spite of 2
('tournoi','id=1').
as a result, teneo detect a not valid urifragment and GMF can't link with
the root element.
when we replace the separator "|" with the new separator "\\|", all goes
well and GMF works well with hibernate and can synchronise with my
database.
|
|
|
Re: Bug in TENEO 0.8.0.v2007.12.28.0940 [message #107326 is a reply to message #107303] |
Thu, 17 January 2008 06:14   |
Eclipse User |
|
|
|
Hi Fred,
Thanks for taking the effort to find this detailed (but I am sure annoying issue).
Can you enter a bugzilla for this?
Then I will solve it in the next build (a few days from now).
gr. Martin
fred wrote:
> I'am trying to solve my problem for synchronising GMF with my database
> from a moment.
> with the help of some people working with me, we have found the problem.
> It comes from the teneo plugin.
> There is a bug in class HibernateResource.
>
> this command line don't work :
> final String[] parts = id.split(SEPARATOR);
> the separator is "|" but this character is a special character in regexp.
> my id ("tournoi|id=1") is split in 12parts
> ('t','o','u','r','n','o','i','|','i','d','=','1') in spite of 2
> ('tournoi','id=1').
> as a result, teneo detect a not valid urifragment and GMF can't link
> with the root element.
>
> when we replace the separator "|" with the new separator "\\|", all goes
> well and GMF works well with hibernate and can synchronise with my
> database.
>
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
|
|
| | | |
Re: Bug in TENEO 0.8.0.v2007.12.28.0940 [message #614022 is a reply to message #107303] |
Thu, 17 January 2008 06:14  |
Eclipse User |
|
|
|
Hi Fred,
Thanks for taking the effort to find this detailed (but I am sure annoying issue).
Can you enter a bugzilla for this?
Then I will solve it in the next build (a few days from now).
gr. Martin
fred wrote:
> I'am trying to solve my problem for synchronising GMF with my database
> from a moment.
> with the help of some people working with me, we have found the problem.
> It comes from the teneo plugin.
> There is a bug in class HibernateResource.
>
> this command line don't work :
> final String[] parts = id.split(SEPARATOR);
> the separator is "|" but this character is a special character in regexp.
> my id ("tournoi|id=1") is split in 12parts
> ('t','o','u','r','n','o','i','|','i','d','=','1') in spite of 2
> ('tournoi','id=1').
> as a result, teneo detect a not valid urifragment and GMF can't link
> with the root element.
>
> when we replace the separator "|" with the new separator "\\|", all goes
> well and GMF works well with hibernate and can synchronise with my
> database.
>
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
|
|
| | | |
Goto Forum:
Current Time: Thu May 08 15:12:14 EDT 2025
Powered by FUDForum. Page generated in 0.08413 seconds
|