I agree with this, however so far i found no contact infos whatsoever,
will look some more.
I figured some other wicket users might have experience with databinder.
Igor Vaynberg wrote:
have you tried emailing the author of databinder, that might be a
better place to seek help.
-Igor
On 3/20/06, *Thibaut Colar* < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
I believe with Databinder wich uses jaav5 annotations i don't need
any
xml declaration.
See the application class, "addAnnotedClass" call.
public class HockeyPondApplication extends DataApplication
{
@Override
protected Class getHomePage()
{
return MyDataPage.class;
}
@Override
protected void configureHibernate(AnnotationConfiguration
config)
{
super.configureHibernate (config);
// Loading the annotated Owner model
config.addAnnotatedClass(Owner
<http://www.google.com/search?q=allinurl%3AOwner+java.sun.com&bntl=1
<http://www.google.com/search?q=allinurl%3AOwner+java.sun.com&bntl=1>>.class);
}
}
Justin Lee wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: RIPEMD160
>
>The "Owner" you see there is the class. You need to tell
hibernate that
>Owner is a hibernated class. If you're using spring that's done in
>applicationContext.xml.
>
>Thibaut Colar wrote:
>
>
>>Hello there, I'm an experienced java developer, however new to
wicket.
>>
>>I found wicket and think it looks great and decided to use it,
though i
>>wanted Hibernate too, so decided to use databinder.
>>I installed databinder as explained on there site, and ran the
examples
>>locally without problems.
>>
>>For Info: I got databinder three days ago, i use java 5.0 and
maven2,
>>databinder uses i believe hibernate/ejb3 and wicket 1.1.
>>
>>Then i created my own Application using maven (as explained on the
>>databinder site), it does compile, however as soon as i try to get
>>something from the database (hibernate) it fails with this error:
>>
>>org.hibernate.hql.ast.QuerySyntaxException : Owner is not
mapped. [from
>>Owner order by name]
>>
>>"Owner" is my table name.
>>
>>The code i have is very very basic and short, and I've been over
it 25
>>hundred time, it is basically similar to the "bookmarks"
example, yet it
>>keeps failing with this error.
>>
>>I bet i am missing something obvious here, so please show me
what it is :-)
>>
>>I put the whole code on my wiki (since it's kinda long in an email)
>>
>>http://wiki.colar.net/doku.php/databinder_issue
>>
>>Let me know what I'm doing wrong, so i can start sleeping
again :-)
>>
>>Thanks.
>>
>>
>>-------------------------------------------------------
>>This SF.Net email is sponsored by xPML, a groundbreaking
scripting language
>>that extends applications into web and mobile media. Attend the
live
>>webcast
>>and join the prime developer group breaking into this new coding
territory!
>>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
<http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642>
>>_______________________________________________
>>Wicket-user mailing list
>>Wicket-user@lists.sourceforge.net
<mailto:Wicket-user@lists.sourceforge.net>
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
>>
>
>- --
>Justin Lee
>http://www.antwerkz.com
>AIM : evan chooly
> 720.299.0101
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.4.2.1 (Cygwin)
>
>iD8DBQFEH2FYJnQfEGuJ90MRA8lCAKCrBs2KVJsDYtxSSsSpqMVZrz62dQCbBVNC
>/Q5kPS0atIvjDa5NTR0pJRo=
>=dU/Z
>-----END PGP SIGNATURE-----
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by xPML, a groundbreaking
scripting language
>that extends applications into web and mobile media. Attend the
live webcast
>and join the prime developer group breaking into this new coding
territory!
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
<http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642>
>_______________________________________________
>Wicket-user mailing list
>Wicket-user@lists.sourceforge.net
<mailto:Wicket-user@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the
live webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
<http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642>
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
<mailto:Wicket-user@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user