Last three year we are using iBatis and MyBatis with GWT project and we are
very happy with it. Just must be a programmer that loves writing SQL..
Regards,
Matic
--
GWT stuff twitter - http://twitter.com/#!/gwtstuff
--
You received this message because you are subscribed
In a current project I use JPA for persistence. JPA works and you can have a
fast start with it but it has its pitfalls.
For example having lazy attributes sounds nice but as soon as you have more
complex logic and queries you want to fetch these properties eagerly to
avoid hundreds of querys
jdbc
2011/9/12 Jens jens.nehlme...@gmail.com
In a current project I use JPA for persistence. JPA works and you can have
a fast start with it but it has its pitfalls.
For example having lazy attributes sounds nice but as soon as you have more
complex logic and queries you want to fetch these
When you use JDBC, what do you use to map between the database records and
Java objects? Also, what do you do to deal with optimistic concurrency
control? JPA automatically uses versioning. Do you have to implement the
same mechanism by hand or are there tools that help with this?
--
You
If I may suggest, please try out DataStoreGwt. It does lazy loading,
enables optimistic concurrency control from client side and does
automatic versioning of objects.
J.Ganesan
www.DataStoreGwt.com
On Sep 12, 7:03 pm, Y2i yur...@gmail.com wrote:
When you use JDBC, what do you use to map
Take a look at mybatis
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/nDaz5-aYr0EJ.
To post to this group, send email to
Never used them, but Spring's JdbcTemplate with RowMapper, and MyBatis seem
appealing (for the ORM part; AFAIK, versionning has to be done by hand, but
I suspect this is by design)
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view
Does DataStoreGwt support WITH RECURSIVE sql features? I need to
efficiently traverse large graphs within the database before returning small
result sets as opposed to returning large result sets and traversing them on
either client or server.
--
You received this message because you are
Thanks Thomas, these look interesting.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/7N_Nj9mzUXMJ.
To post to this group, send email to
Haven't looked into it in detail but I think it doesn't match my needs. I
can not use an embedded database on server side (clustered application
server / database environment).
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this
If you wan't have problem with lazy loading, N+1; you must write a custom
jpaql query to fetch the properties do you need. You have N queries, so q1
fetch X properties, q2 Y properties. This is the way I found to resolve the
problems that you mark with JPA.
Always you will final must tunning your
Thanks I'll take a look at it. Hopefully I can dynamically set a DataSource
to mybatis and don't have to configure them statically in xml.
-- J.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
I use Spring/JDBC/MyBatis
Like it so far
On Sep 12, 10:55 am, Jens jens.nehlme...@gmail.com wrote:
Thanks I'll take a look at it. Hopefully I can dynamically set a DataSource
to mybatis and don't have to configure them statically in xml.
-- J.
--
You received this message because you are
That should be possible. I also use mybatis generator to generate all the
maps/dto's. I created a plugin because I needed to customize the code
generated to support GWT RPC plus some application specific stuff. It would
be pretty easy to add optimistic locking automatically.
--
You received
Thanks Paul. I'm currently sticking with Jetty+JPA but Spring and MyBatis
is something I'd like to look into if it is possible to setup debugging
without GWT re-compilation.
On Mon, Sep 12, 2011 at 7:43 PM, Paul Stockley pstockl...@gmail.com wrote:
That should be possible. I also use mybatis
15 matches
Mail list logo