Questions tagged [javalite]

JavaLite is a collection of frameworks including ActiveJDBC (an ORM) and ActiveWeb.

JavaLite is a collection of frameworks including and .

http://javalite.io/

123 questions
5
votes
1 answer

Android. ActiveJDBC possible?

Official web site says that library supports SQLite 3. Android has SQLite. Is it possible to use JavaLite's ActiveJDBC in Android Studio project? Website says that conenction is made like this: Base.open("com.mysql.jdbc.Driver",…
Joe Richard
  • 1,520
  • 7
  • 20
  • 31
3
votes
1 answer

How to create and administer ActiveMQ Artemis topics

Here is a primitive example of embedded Artemis broker sending and receiving messages using Point-to-Point send/receive. This example is self-contained and requires no further configuration with XML or any other external file. In this example a new…
ipolevoy
  • 5,432
  • 2
  • 31
  • 46
2
votes
2 answers

How to create Apache Artemis queues in code and use them with JMS?

I'm migrating the JavaLite Async from Artemis 2.3.0 to 2.11.0 version. JavaLite Async does NOT use any file base-configuration, but instead relies on code. Between v 2.3.0 and 2.11.0 the JMS management API is gone/deprecated now, and we are…
ipolevoy
  • 5,432
  • 2
  • 31
  • 46
1
vote
2 answers

Unable to Eager load children using getAll(..)

We are trying to query Child records eagerly by defining @HasMany relationship and by using include() as mentioned here: Lazy and Eager Table Structure: Parent(id, name); Child(id, name, parent_id); Parent Class: @HasMany(foreignKeyName =…
Pratap R
  • 31
  • 4
1
vote
1 answer

javalite Activeweb how to get response body string for logging purpose in HttpSupportFilter

How to get responseBody string for logging purpose in HttpSupportFilter? Common log solution is create wrapper and insert it to the standar filter If we use standar filter we cannot access activejdbc db connection layer I tried to apply wrapper but…
xanana
  • 13
  • 2
1
vote
1 answer

ConnectionSpecWrapper no longer present in recent releases

Why the activejdbc class ConnectionSpecWrapper has disappeared in recent releases? in the 3.0 (and also 2.3.2-j8) activejdbc jar we have:…
1
vote
1 answer

Javalite framework - problem with locating existing FreeMarker templates

I am developing a simple web application which provides RestFul API for managing several resources. I am using java standard edition - openjdk version "1.8.0_191 and the following javalite…
hpeev
  • 185
  • 3
  • 11
1
vote
1 answer

ActiveWeb - rendering parent attribute value

Suppose Author belongs_to Boook. Is it possible to do the same as in Rails templates in a Freemarker template: "author": ${book.author.last_name} I tried without success. May be my syntax is wrong or I'm missing something ?
belgoros
  • 3,590
  • 7
  • 38
  • 76
1
vote
2 answers

ActiveWeb : custom controllers in sub-packages do not work

I created a RouteConfig class in app.config package as follows: public class RouteConfig extends AbstractRouteConfig { @Override public void init(AppContext appContext) { …
belgoros
  • 3,590
  • 7
  • 38
  • 76
1
vote
1 answer

ActiveJDBC, IntelliJ, and Gradle

I'm trying to setup a debug configuration in IntelliJ for a Gradle project that uses ActiveJDBC, and I'm running into an error. In the config, I put a call to run the instrumentModels task, but I still get an instrumentation exception. I switched…
Delmania
  • 812
  • 10
  • 20
1
vote
1 answer

Getting the result of an auto_increment key after a save

I am trying to solve a problem of disconnected clients while using activejdbc. So the client app queues the inserts and subsequent updates and deletes when there is no internet. Then the batch of these come thru when they have connectivity. To…
oldDave
  • 395
  • 6
  • 25
1
vote
1 answer

How to get parents by IDs when using polymorphic associations

I have a many-to-many relation table site_sections with the following columns: id site_id section_id which is used a join table between sections and sites tables. So one site has many sections and a section is available in many sites. Sites table…
belgoros
  • 3,590
  • 7
  • 38
  • 76
1
vote
1 answer

JOIN clause wne using raw SQL in javalite JDBC

Is it possible to use a JOIN clause when using a raw SQL ? If so, how should I map the result as there are at least 2 models involved ?
belgoros
  • 3,590
  • 7
  • 38
  • 76
1
vote
1 answer

Failed to execute maven-plugin-plugin on Java 9

I'm trying to migrate JavaLite projects to Java9, but getting this exception during a build. The module that fails (so far) is: https://github.com/javalite/activejdbc/blob/master/activejdbc-instrumentation/pom.xml My environment: Ubuntu…
ipolevoy
  • 5,432
  • 2
  • 31
  • 46
1
vote
0 answers

Trying to use RouteXL API with Java SE

I'm trying to use Java to use the Restful API at https://www.routexl.nl to get optimised travelling routes for some locations. At the moment I'm just using the example stuff on website but my lack of knowledge in Rest HTTP stuff is really holding me…
OutsideCoder
  • 346
  • 3
  • 16
1
2 3
8 9